This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/21461] sunrpc: Memory leak after deserialization failure in xdr_bytes, xdr_string (CVE-2017-8804)


https://sourceware.org/bugzilla/show_bug.cgi?id=21461

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Andreas Schwab from comment #3)
> I think the caller is supposed to always call xdr_string with XDR_FREE, even
> if XDR_DECODE failed.  That needs a test case to demonstrate that this isn't
> the case here.

Except when the caller supplied the buffer, I assume.

Should we fix this as a non-security QoI issue?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]