The branch, master has been updated
via 7b6d1a2 talloc: Test that talloc magic differs between processes.
via 2b9bfab talloc: Increment minor version due to added
talloc_test_get_magic.
via 906a26a talloc: Provide tests access to talloc_magic
via f5135bd talloc: Test magic protection measures.
via 4a4664a lib/talloc: Provide multiple-loading detection for
libtalloc via rand()
via 30ea897 lib/talloc: Disrupt buffer overflow attacks on Samba by
using random magic
via 1dc0538 build: Move __attribute__ ((destructor)) and
((constructor)) tests to wafsamba
from f25a5c9 Fix a few small spelling mistakes in DEBUG messages to
reduce confusion for those trying to debug stuff.
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -
commit 7b6d1a2a5d5561e641d9001901b9e43a64117681
Author: Adrian Cochrane
Date: Fri Sep 4 12:59:57 2015 +1200
talloc: Test that talloc magic differs between processes.
Signed-off-by: Adrian Cochrane
Reviewed-by: Andrew Bartlett
Reviewed-by: Jeremy Allison
Autobuild-User(master): Jeremy Allison
Autobuild-Date(master): Fri Oct 9 23:15:06 CEST 2015 on sn-devel-104
commit 2b9bfab36d9ae0f7fa2a989195129a1a6b62393b
Author: Adrian Cochrane
Date: Fri Oct 9 13:32:55 2015 +1300
talloc: Increment minor version due to added talloc_test_get_magic.
Signed-off-by: Adrian Cochrane
Reviewed-by: Andrew Bartlett
Reviewed-by: Jeremy Allison
commit 906a26a2abc70f824b654f71678314648b28d058
Author: Adrian Cochrane
Date: Fri Sep 4 12:03:33 2015 +1200
talloc: Provide tests access to talloc_magic
Signed-off-by: Adrian Cochrane
Reviewed-by: Andrew Bartlett
Reviewed-by: Jeremy Allison
commit f5135bda942ff13f0baf2c629147d0755eb96090
Author: Adrian Cochrane
Date: Wed Sep 2 13:30:31 2015 +1200
talloc: Test magic protection measures.
Signed-off-by: Adrian Cochrane
Reviewed-by: Andrew Bartlett
Reviewed-by: Jeremy Allison
commit 4a4664a80e20544097cdd075ca5d1423e6a9b364
Author: Andrew Bartlett
Date: Tue Feb 24 13:43:54 2015 +1300
lib/talloc: Provide multiple-loading detection for libtalloc via rand()
The use of rand() is strongly discrouanged, but here is it ideal, as we
just want to select a different
set of random bytes if we are called again within the same process.
Signed-off-by: Andrew Bartlett
Signed-off-by: Adrian Cochrane
Reviewed-by: Jeremy Allison
commit 30ea897194c68c149d4986b22a5d964454bec258
Author: Andrew Bartlett
Date: Thu Oct 17 10:30:23 2013 +1300
lib/talloc: Disrupt buffer overflow attacks on Samba by using random magic
By setting the talloc magic to a random value, we make it much harder to
overwrite a talloc_chunk
in a valid way with a simple buffer overflow.
The flags are placed before more senstive variables so they have to be
overwritten first.
Inspired by the exploit in:
http://blog.csnc.ch/wp-content/uploads/2012/07/sambaexploit_v1.0.pdf
Andrew Bartlett
Signed-off-by: Andrew Bartlett
Signed-off-by: Adrian Cochrane
Reviewed-by: Jeremy Allison
commit 1dc05386f20481596ee7360d6f4e628a16675d3f
Author: Andrew Bartlett
Date: Tue Feb 24 13:26:29 2015 +1300
build: Move __attribute__ ((destructor)) and ((constructor)) tests to
wafsamba
This allows us to use them in talloc as well.
Signed-off-by: Andrew Bartlett
Signed-off-by: Adrian Cochrane
Reviewed-by: Jeremy Allison
---
Summary of changes:
buildtools/wafsamba/wscript| 34 +
...oc-util-2.0.6.sigs => pytalloc-util-2.1.4.sigs} | 0
.../ABI/{talloc-2.1.3.sigs => talloc-2.1.4.sigs} | 1 +
lib/talloc/talloc.c| 89 +-
lib/talloc/talloc.h| 2 +
lib/talloc/test_magic_differs.sh | 14
lib/talloc/test_magic_differs_helper.c | 12 +++
lib/talloc/testsuite.c | 66
lib/talloc/wscript | 16 +++-
lib/uid_wrapper/wscript| 34 -