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
Show replies by date