FreeBSD Bugzilla – Attachment 249657 Details for
Bug 278128
Use of uninitialized memory in libcam
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix a warning about unitialized memory usage in libcam
camlib.c.patch (text/plain), 305 bytes, created by
Peter Eriksson
on 2024-04-02 11:50:49 UTC
(
hide
)
Description:
Patch to fix a warning about unitialized memory usage in libcam
Filename:
MIME Type:
Creator:
Peter Eriksson
Created:
2024-04-02 11:50:49 UTC
Size:
305 bytes
patch
obsolete
>--- lib/libcam/camlib.c.ORIG 2024-04-02 13:36:13.582851000 +0200 >+++ lib/libcam/camlib.c 2024-04-02 13:39:02.924292000 +0200 >@@ -435,6 +435,7 @@ > return(NULL); > } > >+ memset(&ccb, 0, sizeof(ccb)); > /* This isn't strictly necessary for the GETPASSTHRU ioctl. */ > ccb.ccb_h.func_code = XPT_GDEVLIST; >
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 278128
: 249657