FreeBSD Bugzilla – Attachment 181054 Details for
Bug 218005
sys/netinet/sctp_pcb.c: PVS-Studio: Unreachable code detected (CWE-561)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
sctp_pcb.c.patch (text/plain), 474 bytes, created by
Svyatoslav
on 2017-03-22 13:21:09 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
Svyatoslav
Created:
2017-03-22 13:21:09 UTC
Size:
474 bytes
patch
obsolete
>diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c >index db3f39c..c59f0f1 100644 >--- a/sys/netinet/sctp_pcb.c >+++ b/sys/netinet/sctp_pcb.c >@@ -177,10 +177,10 @@ sctp_allocate_vrf(int vrf_id) > &vrf->vrf_addr_hashmark); > if (vrf->vrf_addr_hash == NULL) { > /* No memory */ >+ SCTP_FREE(vrf, SCTP_M_VRF); > #ifdef INVARIANTS > panic("No memory for VRF:%d", vrf_id); > #endif >- SCTP_FREE(vrf, SCTP_M_VRF); > return (NULL); > } > /* Add it to the hash table */
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 218005
: 181054