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

 
 

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

Submitted by:  None
Submitted on:  Mon 07 Dec 2015 06:09:21 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 07 Dec 2015 06:09:21 PM UTCNoneAttached File-=>Added indent-fix-underflow-parse.diff, #35656

Back to the top


Powered by Savane 3.1-cleanup1