FreeBSD Bugzilla – Attachment 215207 Details for
Bug 246964
bhyve usb_mouse SIGSEGV on null pointer dereference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix null pointer dereference in usb_mouse
usb-mouse-fix-segfault-2.patch (text/plain), 575 bytes, created by
Ali Abdallah
on 2020-06-03 19:06:44 UTC
(
hide
)
Description:
Fix null pointer dereference in usb_mouse
Filename:
MIME Type:
Creator:
Ali Abdallah
Created:
2020-06-03 19:06:44 UTC
Size:
575 bytes
patch
obsolete
>Index: usb_mouse.c >=================================================================== >--- usb_mouse.c (revision 361007) >+++ usb_mouse.c (working copy) >@@ -530,9 +530,9 @@ > USETW(udata, 0); > data->blen = len - 2; > data->bdone += 2; >+ eshort = data->blen > 0; > } > >- eshort = data->blen > 0; > break; > > case UREQ(UR_GET_STATUS, UT_READ_INTERFACE): >@@ -542,8 +542,8 @@ > USETW(udata, 0); > data->blen = len - 2; > data->bdone += 2; >+ eshort = data->blen > 0; > } >- eshort = data->blen > 0; > break; > > case UREQ(UR_SET_ADDRESS, UT_WRITE_DEVICE):
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 246964
:
215206
|
215207
|
215213
|
215214