[RTEMS Project] #2238: build/rtems-bin2c.c:75: possibly unterminated string ?
    RTEMS trac 
    trac at rtems.org
       
    Fri Jan 23 09:10:18 UTC 2015
    
    
  
#2238: build/rtems-bin2c.c:75: possibly unterminated string ?
---------------------+------------------
 Reporter:  dcb      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  4.11
Component:  General  |    Version:  4.10
 Severity:  normal   |   Keywords:
---------------------+------------------
 [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 );
--
Ticket URL: <http://devel.rtems.org/ticket/2238>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
    
    
More information about the bugs
mailing list