FreeBSD Bugzilla – Attachment 224928 Details for
Bug 255864
[PATCH] dev/core: Fix a double free in oce_tx
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
set *mpp to NULL
0001-dev-core-double-free-oce_tso_setup.patch (text/plain), 324 bytes, created by
lylgood
on 2021-05-14 10:34:41 UTC
(
hide
)
Description:
set *mpp to NULL
Filename:
MIME Type:
Creator:
lylgood
Created:
2021-05-14 10:34:41 UTC
Size:
324 bytes
patch
obsolete
>diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c >index 7c9b71089081..ff57a4f4863d 100644 >--- a/sys/dev/oce/oce_if.c >+++ b/sys/dev/oce/oce_if.c >@@ -1330,9 +1330,9 @@ oce_tso_setup(POCE_SOFTC sc, struct mbuf **mpp) > } > > m = m_pullup(m, total_len); >+ *mpp = m; > if (!m) > return NULL; >- *mpp = m; > return m; > > }
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 255864
: 224928