Date: Wed, 7 Mar 2001 17:20:43 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c Message-ID: <200103080120.f281KiC87278@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2001/03/07 17:20:43 PST Modified files: sys/kern kern_sysctl.c Log: Make the SYSCTL_OUT handlers sysctl_old_user() and sysctl_old_kernel() more robust. They would correctly return ENOMEM for the first time when the buffer was exhausted, but subsequent calls in this case could cause writes ouside of the buffer bounds. Approved by: rwatson Revision Changes Path 1.106 +11 -5 src/sys/kern/kern_sysctl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103080120.f281KiC87278>