Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   wrstuden
Date:           Thu Mar 11 20:23:58 UTC 1999

Modified Files:
        src/sbin/newfs: mkfs.c
Log Message:
Modify how the byteswapping of the cylinder summaries is handled. If we
need to swap, allocate a buffer for the swapped summaries rather than using
writebuf. The latter is fixed at 64k, which is only enough room to hold
4096 summaries. Creating an fs with more results in a buffer overrun.

First noted by Matt Jacob mjacob%netbsd.org@localhost, and fixed by Albeaus
Bayucan, bayucan%nas.nasa.gov.@localhost Minor mods by me.




Home | Main Index | Thread Index | Old Index