Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/fstat




Hurray! There was a PR for that: PR#21301. One less. ;-)

Sorry for not looking up before committing.

 Aymeric

Aymeric Vincent wrote:


Module Name:    src
Committed By:   aymeric
Date:           Fri Apr  2 14:22:05 UTC 2004

Modified Files:
        src/usr.bin/fstat: fstat.c

Log Message:
fix the way the ext2fs-specific size and mode variables are fetched:
they are indirectly gotten from kernel memory and as such should be read
with KVM_READ.
This fixes fstat core dumps when some process holds a reference in a Linux
ext2fs filesystem.
Thanks to Aleksy Schubert (alx.at.mimuw.dot.edu.dot.pl) for debugging this
with me.


To generate a diff of this commit:
cvs rdiff -r1.65 -r1.66 src/usr.bin/fstat/fstat.c

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





Home | Main Index | Thread Index | Old Index