Subject: PR/33198 CVS commit: [netbsd-3] src/sys/compat/osf1
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Geert Hendrickx <ghen@netbsd.org>
List: netbsd-bugs
Date: 04/25/2006 07:55:02
The following reply was made to PR kern/33198; it has been noted by GNATS.

From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/33198 CVS commit: [netbsd-3] src/sys/compat/osf1
Date: Tue, 25 Apr 2006 07:51:47 +0000 (UTC)

 Module Name:	src
 Committed By:	ghen
 Date:		Tue Apr 25 07:51:47 UTC 2006
 
 Modified Files:
 	src/sys/compat/osf1 [netbsd-3]: osf1_misc.c
 
 Log Message:
 Pull up following revision(s) (requested by drochner in ticket #1287):
 	sys/compat/osf1/osf1_misc.c: revision 1.73
 - -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.
 in sysinfo(), force NUL termination of truncated
 strings if the buffer was too small, as OSF1 does
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.70.2.1 -r1.70.2.2 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.