FreeBSD Bugzilla – Attachment 224943 Details for
Bug 255880
[PATCH] netpfil/ipfw: Fix a double free in pie_enqueue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
avoid the m been freed again
0001-netpfil-ipfw-double-free-pie_enqueue (text/plain), 477 bytes, created by
lylgood
on 2021-05-14 14:19:39 UTC
(
hide
)
Description:
avoid the m been freed again
Filename:
MIME Type:
Creator:
lylgood
Created:
2021-05-14 14:19:39 UTC
Size:
477 bytes
patch
obsolete
>diff --git a/sys/netpfil/ipfw/dn_sched_fq_pie.c b/sys/netpfil/ipfw/dn_sched_fq_pie.c >index 257dada44345..473ea2d72f57 100644 >--- a/sys/netpfil/ipfw/dn_sched_fq_pie.c >+++ b/sys/netpfil/ipfw/dn_sched_fq_pie.c >@@ -735,7 +735,7 @@ pie_enqueue(struct fq_pie_flow *q, struct mbuf* m, struct fq_pie_si *si) > 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 255880
: 224943