The NULL return was dereferenced by the following memcpy(). Fail the
request instead.
MFC after: 1 week
Differential D60927
rpc.tlsservd: check the malloc() in rpctlssd_connect_2_svc() Authored by ojanerif_amd.com on Tue, Oct 20, 6:40 PM. Project Tags None Referenced Files
Subscribers
Details
The NULL return was dereferenced by the following memcpy(). Fail the MFC after: 1 week
Diff Detail
Event TimelineComment Actions Re-uploaded the diff generated with git diff -U999999 so the file paths no longer Comment Actions This looks fine, although it is hard to imagine If you don't have a commit bit, I'll commit it Comment Actions Thanks, Rick. Agreed, it is very unlikely to fail there; the check just avoids the memcpy() into a NULL ctx if it ever does. I don't have a commit bit, so yes, please commit it with me as the author: Osvaldo Janeri Filho <ojanerif@amd.com>. Thanks! |