[File-cvs] CVS commit: file/src

Christos Zoulas christos at zoulas.com
Tue Jun 2 13:05:51 EDT 2026


Module Name:	file
Committed By:	christos
Date:		Tue Jun  2 17:05:51 UTC 2026

Modified Files:
	file/src: is_tar.c

Log Message:
PR/767: tobil: Fix out-of-bounds read in from_oct

Where the checksum buffer was filled with spaces, from_oct would
access one byte beyond the end of the buffer. This is because it would
compare the old value of digs against zero before decrementing it, so it
would still dereference where after reaching digs == 0.


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 file/src/is_tar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



More information about the File-cvs mailing list