FreeBSD Bugzilla – Attachment 219762 Details for
Bug 251203
net/netatalk3 Use after free in get_tm_used()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
patch-etc_afpd_volume.c (text/plain), 681 bytes, created by
Jose Quinteiro
on 2020-11-17 04:46:08 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jose Quinteiro
Created:
2020-11-17 04:46:08 UTC
Size:
681 bytes
patch
obsolete
>--- etc/afpd/volume.c.orig 2020-11-17 04:41:20 UTC >+++ etc/afpd/volume.c >@@ -183,6 +183,7 @@ static int get_tm_used(struct vol * restrict vol) > > if ((bandsize = get_tm_bandsize(cfrombstr(infoplist))) == -1) { > bdestroy(infoplist); >+ infoplist = NULL; > continue; > } > >@@ -190,7 +191,9 @@ static int get_tm_used(struct vol * restrict vol) > > if ((links = get_tm_bands(cfrombstr(bandsdir))) == -1) { > bdestroy(infoplist); >+ infoplist = NULL; > bdestroy(bandsdir); >+ bandsdir = NULL; > continue; > } >
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 251203
:
219761
| 219762