[PATCH] Fix smbd crash (valgrind error) if generic memcache evicts share mode entry. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13871

Jeremy Allison jra at samba.org
Fri Mar 29 23:04:27 UTC 2019

Official request for review for fix for bug:


discovered by Chrisofs memcache code changes.

Short version, we shouldn't be storing
share mode entries in the generic memcache
where they might get evicted whist being
in use :-(.

Bug report has the valgrind trace and
reproducibility info (essentially add
the patch from bug: 13865 and do

make test TESTS=samba3.base.rw1

Passed gitlab-CI.

Please review and push if happy.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smbd-Share-modes-should-not-use-the-generic-memca.patch
Type: text/x-diff
Size: 3928 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190329/df25fdd5/0001-s3-smbd-Share-modes-should-not-use-the-generic-memca.diff>

More information about the samba-technical mailing list