#2238 closed defect (fixed)
build/rtems-bin2c.c:75: possibly unterminated string ?
Reported by: | David Binderman | Owned by: | Gedare Bloom <gedare@…> |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | unspecified | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
[rtems/tools/build/rtems-bin2c.c:75]: (error) Dangerous usage of 'obasename' (strncpy doesn't always null-terminate it).
Source code is
strncpy( obasename, ofname, PATH_MAX );
len = strlen( obasename );
Change History (2)
comment:1 Changed on 02/23/15 at 15:38:50 by Gedare Bloom <gedare@…>
Owner: | set to Gedare Bloom <gedare@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed on 02/23/15 at 15:55:30 by Sebastian Huber <sebastian.huber@…>
Note: See
TracTickets for help on using
tickets.
In 1281c34a235fd031352dd43f437d84cf2c8421a7/rtems: