FreeBSD Bugzilla – Attachment 210458 Details for
Bug 243106
jail(3): memory leak when resizing jail parameter list.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
patch (text/plain), 379 bytes, created by
Hans Christian Woithe
on 2020-01-05 05:39:02 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Hans Christian Woithe
Created:
2020-01-05 05:39:02 UTC
Size:
379 bytes
patch
obsolete
>Index: lib/libjail/jail.c >=================================================================== >--- lib/libjail/jail.c (revision 356372) >+++ lib/libjail/jail.c (working copy) >@@ -262,7 +262,9 @@ > goto error; > mib1[1] = 2; > } >- jp = reallocarray(jp, njp, sizeof(*jp)); >+ tjp = reallocarray(jp, njp, sizeof(*jp)); >+ if (tjp != NULL) >+ jp = tjp; > *jpp = jp; > return (njp); >
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 243106
: 210458