diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-09-02 14:28:04 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-09-08 07:26:34 +0200 |
commit | e93affbe1b4ff32858988bde79d00cdc82729089 (patch) | |
tree | c557380158fc6fbbb07dfc04b2a4e8bb9e2c8491 /python/samba/netcmd/user.py | |
parent | cb25480e82cb2e0ef8793fd9c21d710208c822f3 (diff) | |
download | samba-e93affbe1b4ff32858988bde79d00cdc82729089.tar.gz samba-e93affbe1b4ff32858988bde79d00cdc82729089.tar.xz samba-e93affbe1b4ff32858988bde79d00cdc82729089.zip |
torture: allow us to correctly use sizeof(buf) in raw.open tests
This changes the sizeof(buf) from sizeof(void *), 8 on 64-bit machines, to sizeof("test") (eg 5).
Found by AddressSanitizer
Andrew Bartlett
Change-Id: I01f18b35c041f3b16be9f6da8ae5d1917d7e24d9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Diffstat (limited to 'python/samba/netcmd/user.py')
0 files changed, 0 insertions, 0 deletions