1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
Andreas Schneider 728297ca88 s3:passdb: Fix size of ascii_p16
../source3/passdb/pdb_smbpasswd.c: In function ‘mod_smbfilepwd_entry’:
../source3/passdb/pdb_smbpasswd.c:1015:7: error: ‘:LCT-’ directive
    output may be truncated writing 5 bytes into a region of size between 0
    and 255 [-Werror=format-truncat ion=]
    "%s:LCT-%08X:",
       ^~~~~
../source3/passdb/pdb_smbpasswd.c:1015:4: note: using the range [0,
    4294967295] for directive argument
    "%s:LCT-%08X:",
    ^~~~~~~~~~~~~~
In file included from ../source3/include/includes.h:23,
                 from ../source3/passdb/pdb_smbpasswd.c:23:
../lib/replace/../replace/replace.h:514:18: note: ‘snprintf’ output
    between 15 and 270 bytes into a destination of size 255
 #define slprintf snprintf
../source3/passdb/pdb_smbpasswd.c:1013:3: note: in expansion of macro ‘slprintf’
   slprintf(&ascii_p16[strlen(ascii_p16)],
   ^~~~~~~~

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13437

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2018-05-17 17:30:09 +02:00
..
auth auth: Add unique session GUID identifier 2018-05-10 20:02:22 +02:00
build
client build: Make --with-libarchive the default 2018-05-15 03:36:08 +02:00
exports
groupdb Fix Jean François name to be UTF-8 2018-05-09 10:38:57 +02:00
include s3:libsmbclient: Use const for setting and getting strings 2018-05-17 01:10:28 +02:00
intl lib: Give util_paths.c its own header 2017-06-24 01:21:10 +02:00
lib s3:lib: Use memcpy() in escape_ldap_string() 2018-05-17 17:30:09 +02:00
libads Fix some incorrect debug messages that look to be copy-paste issues. 2018-05-03 08:16:26 +02:00
libgpo/gpext s3/security.c undefined value 2018-04-20 18:18:25 +02:00
libnet libsmb: Give dsgetdcname.c its own header 2018-04-11 01:06:39 +02:00
librpc Revert "Use "localhost" to be ipv6 only friendly" 2018-03-19 15:34:32 +01:00
libsmb s3:libsmbclient: cleanup smbc_setWorkgroup() usage 2018-05-17 01:10:28 +02:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking s3:locking: Fix integer overflow check in posix_lock_in_range() 2018-03-20 23:16:16 +01:00
modules s3:modules: Initialize pointers in vfs_virusfilter 2018-05-16 21:30:22 +02:00
nmbd nmbd: Fix a typo 2018-04-11 01:06:39 +02:00
param smbd: fileserver: Change defaults to work with EA support out of the box. 2018-05-15 12:40:48 +02:00
passdb s3:passdb: Fix size of ascii_p16 2018-05-17 17:30:09 +02:00
printing s3-printing: fix format-truncation in print_queue_update() 2018-05-17 17:30:09 +02:00
profile
registry s3:registry: Fix size types and length calculations 2018-03-21 04:25:39 +01:00
rpc_client libsmb: Give namequery.c its own header 2018-04-11 01:06:39 +02:00
rpc_server Fix spelling s/receving/receiving/ 2018-05-12 02:09:27 +02:00
rpcclient cmd_drsuapi: add dswriteaccountspn command 2018-05-12 02:09:28 +02:00
script s3:smbspool: Fix cmdline argument handling 2018-05-03 16:33:54 +02:00
selftest selftest: Require libarchive for --enable-selftest 2018-05-15 06:31:03 +02:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd s3:smbd: Fix converity warning with _smb_setlen_large() 2018-05-16 21:30:23 +02:00
torture Fix spelling s/processs/process/ 2018-05-12 02:09:27 +02:00
utils s3-utils: fix format-truncation in smbpasswd 2018-05-17 17:30:09 +02:00
web
winbindd s3-winbindd: remove unused fill_domain_username() 2018-05-17 17:30:09 +02:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript selftest: Require libarchive for --enable-selftest 2018-05-15 06:31:03 +02:00
wscript_build wscript_build: make sure we link extra-python versions of libraries 2018-04-13 07:27:11 +02:00
wscript_configure_system_ncurses