[SSSD] [PATCH] mmap_cache: Check data->name value in client code

Michal Židek mzidek at redhat.com
Mon Aug 12 17:56:52 UTC 2013


This should have been part of the patch:
[PATCH] mmap_cache: Check if slot and name_ptr are not invalid.

I missed the fact that name_ptr is called just name in the
client code and did not add check there.

Using manually corrupted cache (setting name_ptr to some high value
in hexeditor) this caused segfault in the client code. The attached
patch fixes this.

Please review and push this patch to master, 1-9 and 1-10.

Thanks
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmap_cache-Check-data-name-value-in-client-code.patch
Type: text/x-patch
Size: 1925 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130812/932b6656/attachment.bin>


More information about the sssd-devel mailing list