Lubomir Rintel 2c405dd8da Fixing out-of bound writes.
Firstly, packed attribute is added to the structure so that extension
is guarranteed to immediately follow name for the cross-name-extension
reads to succeed.

Secondly, writes into dir_entry->name that span through the extension as
well are split into two, so that FORTIFY_SOURCE's bound checking does
not abort dosfsck. There also was an off-by-one error in auto_rename()'s
sprintf().

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:51:01 +01:00
2013-01-23 12:51:01 +01:00
2013-01-23 12:50:56 +01:00
2013-01-23 12:50:22 +01:00
Description
No description provided
292 KiB
Languages
C 97.9%
Makefile 1.9%
Shell 0.2%