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:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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 Files:
   
   
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 add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2015-12-07 None Attached File- => Added indent-fix-underflow-read_file.diff, #35657

Back to the top


Powered by Savane 3.3