Skip to content

CF test reads beyond end of buffer #54

@jphickey

Description

@jphickey

This issue was imported from the GSFC issue tracking system

Imported from: [GSFCCFS-1790] CF test reads beyond end of buffer
Originally submitted by: Hickey, Joseph P. (GSFC-582.0)[VANTAGE SYSTEMS INC] on Tue Nov 16 18:56:38 2021

Original Description:
Inside the "Test_CF_strnlen_When_end_IsNot_NULL_ReturnLengthOfGiven_s" function, this calls "CF_strnlen()" with a size of 8, where the actual buffer size is only 7.

Recommend to call CF_strnlen with a size of 7, which would be correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions