FreeBSD Bugzilla – Attachment 180770 Details for
Bug 217747
sys/dev/mly/mly.c: PVS-Studio: NULL Pointer Dereference (CWE-476) (1)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
mly.c.patch (text/plain), 388 bytes, created by
Svyatoslav
on 2017-03-13 12:09:14 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
Svyatoslav
Created:
2017-03-13 12:09:14 UTC
Size:
388 bytes
patch
obsolete
>diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c >index 9e3b332..8582601 100644 >--- a/sys/dev/mly/mly.c >+++ b/sys/dev/mly/mly.c >@@ -2950,7 +2950,7 @@ mly_user_command(struct mly_softc *sc, struct mly_user_command *uc) > error = 0; > > out: >- if (mc->mc_data != NULL) >+ if (mc != NULL && mc->mc_data != NULL) > free(mc->mc_data, M_DEVBUF); > if (mc != NULL) { > MLY_LOCK(sc);
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 217747
: 180770 |
185158