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

 
 

bug #46627: Out of bounds read in function read_file()

Submitted by:  None
Submitted on:  Mon 07 Dec 2015 06:10:33 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:10:33 PM UTC, original submission:

Attached is a patch to fix an out of bounds read when using indent on a zero-byte file. This would cause an access to -1 in fileptr.data.

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 #35657:  indent-fix-underflow-read_file.diff added by None (418B - text/x-patch - patch to fix invalid memory 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:10:33 PM UTCNoneAttached File-=>Added indent-fix-underflow-read_file.diff, #35657

Back to the top


Powered by Savane 3.1-cleanup1