Source-Changes archive

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

CVS commit: src/sys/compat/osf1



Module Name:    src
Committed By:   drochner
Date:           Wed Apr  5 15:30:48 UTC 2006

Modified Files:
        src/sys/compat/osf1: osf1_misc.c

Log Message:
-Consistently check the buffer length in getsysinfo(),
 and require one additional byte for string termination
 in the GSI_PLATFORM_NAME case.
 This should fix PR kern/33198 by Nicolas Joly.
-Make sysinfo() behave more like the original: return
 the length needed and copy out as much as possible.


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 src/sys/compat/osf1/osf1_misc.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