Tests for Andrew's talloc security work

Adrian Cochrane adrianc at catalyst.net.nz
Fri Sep 11 02:52:46 UTC 2015


This update to my patches fixes a problem with the test asserting that 
two different processes use different talloc magic which prevented it 
from running. Apologies for not alerting you to the problem earlier.

I further want to point out that there's already a test asserting 
Talloc works across threads and of-course these patches pass it. While 
this is a simple test it does indicate these updates are thread safe.

Thanks again,
Adrian Cochrane

On Fri, Sep 4, 2015 at 4:03 PM, Adrian Cochrane 
<adrianc at catalyst.net.nz> wrote:
> These are patches Andrew Bartlett worked on to improve security 
> around talloc destructors and some tests I've added to ensure it 
> functions properly. Any feedback is greatly appreciated.
> 
> Thanks,
> Adrian Cochrane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-talloc-increment-minor-version-due-to-added-talloc_t.patch
Type: text/x-patch
Size: 5249 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0006-talloc-increment-minor-version-due-to-added-talloc_t.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-talloc-Test-magic-protection-measures.patch
Type: text/x-patch
Size: 2612 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0004-talloc-Test-magic-protection-measures.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lib-talloc-Disrupt-buffer-overflow-attacks-on-Samba-.patch
Type: text/x-patch
Size: 6008 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0002-lib-talloc-Disrupt-buffer-overflow-attacks-on-Samba-.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-talloc-Provide-tests-access-to-talloc_magic.patch
Type: text/x-patch
Size: 1183 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0005-talloc-Provide-tests-access-to-talloc_magic.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-lib-talloc-Provide-multiple-loading-detection-for-li.patch
Type: text/x-patch
Size: 1642 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0003-lib-talloc-Provide-multiple-loading-detection-for-li.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-talloc-Test-that-talloc-magic-differs-between-proces.patch
Type: text/x-patch
Size: 2918 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0007-talloc-Test-that-talloc-magic-differs-between-proces.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-Move-__attribute__-destructor-and-constructor-.patch
Type: text/x-patch
Size: 4693 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150911/a54c14a7/0001-build-Move-__attribute__-destructor-and-constructor-.bin>


More information about the samba-technical mailing list