bugUnifont - Bugs: bug #45126, unifontpic.c:129: array index use...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #45126: unifontpic.c:129: array index use before limits check ?

Submitter:  David Binderman <dcb314>
Submitted:  Mon 18 May 2015 10:27:06 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  unifoundry
Open/Closed:  Closed

Mon 29 Jun 2015 05:28:24 AM UTC, comment #2: 

The Unifont 8.0.01 package now contains this change.

Paul Hardy <unifoundry>
Group administrator
Fri 22 May 2015 04:13:32 PM UTC, comment #1: 

Thank you for taking the time to look at the code. I'll make this change in the next release. In general, the programs in this package don't do rigorous checking of input. Some of the man pages warn about that. But this is an easy change to make.

Paul Hardy <unifoundry>
Group administrator
Mon 18 May 2015 10:27:06 AM UTC, original submission:  

[unifontpic.c:129]: (style) Array index 'i' is used before limits check.

   for (i = 0; (instring[i] != ':') && (i < 9); i++); /* find the colon separator */

Suggest limit check the array index before use.

David Binderman <dcb314>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by unifoundry (Posted a comment)
  • -email is unavailable- added by dcb314 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-20 unifoundry Open/ClosedOpen Closed
    2015-06-29 unifoundry StatusIn Progress Fixed
    2015-05-22 unifoundry StatusNone In Progress
        Assigned toNone unifoundry

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code