1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3
Douglas Bagnall 96cdacae14 s3/libsmb/py: match input argument types with C types
If PyArg_ParseTupleAndKeywords() is given, say, an "H" format (meaning
unsigned short int) but the referenced variable is a plain unsigned
int, the top 16 bits of the variable will be left undefined. In that
case we should use an "I" format (and/or initialize the variable).

In many cases the change is fairly innocuous, such as when "i" and "I"
are mixed (for signed and unsigned ints respectively), but the
resulting write is the same size and probably gives the same result in
practice.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
2019-02-08 13:31:38 +01:00
..
auth auth3: Use dom_sid_str_buf 2019-01-08 03:40:27 +01:00
build source3/build/charset.py: update to handle waf 2.0.4 2018-09-05 06:37:23 +02:00
client s3:client: Use C99 initializer for poptOption in smbclient 2019-01-28 10:29:13 +01:00
exports
groupdb groupdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
include s3: smbd: smb2-posix: Add NFS_SPECFILE_XXX defines. 2019-01-31 00:50:10 +01:00
intl lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
lib s3/lib/popt_common: use stack buffer in set_logfile() 2019-02-07 17:23:18 +01:00
libads s3:libads: do an early return if we don't have a password for ads_kinit_password() 2018-12-23 18:15:19 +01:00
libgpo/gpext libgpo: Fix CID 1438462 Error handling issues (CHECKED_RETURN) 2018-08-22 00:58:41 +02:00
libnet libnet: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
librpc librpc: Add kerberos tracing 2018-12-19 21:49:29 +01:00
libsmb s3/libsmb/py: match input argument types with C types 2019-02-08 13:31:38 +01:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking leases: Streamline leases_db_key a bit 2018-10-03 04:11:59 +02:00
modules vfs_glusterfs: Adapt to changes in libgfapi signatures 2019-02-03 17:00:33 +01:00
nmbd s3:nmbd: small improvements in --help strings 2019-01-28 14:28:29 +01:00
param s3:param: Use C99 initializer for poptOption in test_lp_load 2019-01-28 10:29:15 +01:00
passdb smbd: Avoid sending S-1-22- to winbind 2019-02-08 08:51:19 +01:00
printing printing: check lp_load_printers() prior to pcap cache update 2019-02-01 19:25:03 +01:00
profile profiling: stop smbprofile from growing unnecessarily 2019-01-16 02:01:55 +01:00
registry s3:registry: Use C99 initializer for BOM 2019-01-28 10:29:23 +01:00
rpc_client s3-rpc_client: Advertise Windows 7 client info 2018-09-08 01:43:27 +02:00
rpc_server build: Get rid of hardcoded 'bin/default' in includes 2019-02-08 08:51:19 +01:00
rpcclient s3:rpcclient: Use C99 initializer for cmd_set in cmd_shutdown 2019-01-28 10:29:20 +01:00
script s3: tests: Add regression test for smbd crash on share force group change with existing connection. 2019-01-25 13:20:23 +01:00
selftest s3: tests: Add regression test for smbd crash on share force group change with existing connection. 2019-01-25 13:20:23 +01:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd s3:smbd: Use C99 initializer for RAP api_commands 2019-01-28 10:29:23 +01:00
torture s3:torture: Use C99 initializer for torture_ops 2019-01-28 10:29:23 +01:00
utils utils:libgpo: re-add libgpo as library, it should not be part of gpext 2019-01-28 15:44:18 +01:00
web
winbindd winbindd: Enhance xids2sids debugging 2019-02-08 13:30:32 +01:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript vfs_glusterfs: Adapt to changes in libgfapi signatures 2019-02-03 17:00:33 +01:00
wscript_build s3:lib: add per_thread_cwd_{check,supported,disable,activate}() helper functions 2019-01-11 23:11:11 +01:00
wscript_configure_system_ncurses source3/wscript_configure_system_ncurses: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00