FreeBSD Bugzilla – Attachment 224941 Details for
Bug 255878
[PATCH] netpfil/ipfw: Fix a double free in aqm_pie_enqueue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
avoid the double free
0001-netpfil-ipfw-double-free-aqm_pie_enqueue.patch (text/plain), 436 bytes, created by
lylgood
on 2021-05-14 14:06:22 UTC
(
hide
)
Description:
avoid the double free
Filename:
MIME Type:
Creator:
lylgood
Created:
2021-05-14 14:06:22 UTC
Size:
436 bytes
patch
obsolete
>diff --git a/sys/netpfil/ipfw/dn_aqm_pie.c b/sys/netpfil/ipfw/dn_aqm_pie.c >index abd5bbf0eb9a..48252e4225ab 100644 >--- a/sys/netpfil/ipfw/dn_aqm_pie.c >+++ b/sys/netpfil/ipfw/dn_aqm_pie.c >@@ -543,7 +543,7 @@ aqm_pie_enqueue(struct dn_queue *q, struct mbuf* m) > sizeof(aqm_time_t), M_NOWAIT); > if (mtag == NULL) { > m_freem(m); >- t = DROP; >+ return 1; > } > *(aqm_time_t *)(mtag + 1) = AQM_UNOW; > m_tag_prepend(m, mtag);
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 255878
:
224941
|
225051