FreeBSD Bugzilla – Attachment 7710 Details for
Bug 16552
sys/dev/ppbus/pcfclock.c lacks a proper buffer size check
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 294 bytes, created by
Sascha Schumann
on 2000-02-07 07:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Sascha Schumann
Created:
2000-02-07 07:30:01 UTC
Size:
294 bytes
patch
obsolete
>--- /usr/src/sys/dev/ppbus/pcfclock.c Sun Jan 23 15:41:04 2000 >+++ pcfclock.c Sat Jan 29 12:13:38 2000 >@@ -311,6 +309,9 @@ > u_int unit = minor(dev); > char buf[18]; > int error = 0; >+ >+ if (uio->uio_resid < 18) >+ return (ERANGE); > > error = pcfclock_read_dev(dev, buf, PCFCLOCK_MAX_RETRIES);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16552
: 7710