bugGNU indent - Bugs: bug #46626, Out of bounds read in function...

 
 

bug #46626: Out of bounds read in function parse()

Submitter:  None
Submitted:  Mon 07 Dec 2015 06:09:21 PM UTC
   
 
Category:  C Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  andrewsh
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 07 Dec 2015 06:09:21 PM UTC, original submission:  

Attached is a patch that will prevent two -1 accesses to an array in the function parse(). They can be triggered with a file that only contains a closing } bracket.

This has previously been reported to the mailing list:
https://lists.gnu.org/archive/html/bug-indent/2015-05/msg00001.html

Please apply patch.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #35656:  indent-fix-underflow-parse.diff added by None (957B - text/x-patch - patch to fix invalid array access)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andrewsh (Updated 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.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-06 andrewsh StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2018-09-02 andrewsh CategoryNone C
        Item GroupNone Crash
        StatusNone In Progress
        Assigned toNone andrewsh
    2015-12-07 None Attached File- Added indent-fix-underflow-parse.diff, #35656

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code