1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
Douglas Bagnall 05e2ec1d8b configure: ensure sizeof(int) >= 4
There are multiple places we make this assumption. For example, in
source3/lib/tldap.c, we have this line

      if (ld->msgid == 2147483647) {

where ld->msgid is an int. And in librpc/idl/security.idl we have
several lines like:

      const int SEC_MASK_GENERIC        = 0xF0000000;

In lib/replace/inet_pton.c and inet_ntop.c we have

  /*
   * WARNING: Don't even consider trying to compile this on a system where
   * sizeof(int) < 4.  sizeof(int) > 4 is fine; all the world's not a VAX.
   */

but no attempt to enforce that as far as I can see, until now.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul 11 22:44:15 UTC 2023 on atb-devel-224
2023-07-11 22:44:15 +00:00
..
addns lib:addns: Don’t call memcpy() with a NULL pointer 2023-05-05 02:54:31 +00:00
afs auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging lib:audit_logging: Add function to return the JSON null object 2023-06-25 23:29:32 +00:00
cmdline lib:cmdline: Fix code spelling 2023-04-03 03:56:35 +00:00
compression lib:compression: Fix code spelling 2023-04-03 03:56:35 +00:00
crypto build: Remove unused check for SHA1_Update and SHA1_RENAME_NEEDED 2023-06-30 14:59:46 +00:00
dbwrap lib:dbwrap: Add dbwrap_merge_dbs() 2023-06-13 12:15:32 +00:00
fuzzing lib/fuzzing: add fuzzer for sddl_parse 2023-04-28 02:15:36 +00:00
krb5_wrap lib:krb5_wrap: Fix debug statements when princ_s is NULL 2023-04-27 07:21:33 +00:00
ldb pyldb: Check for allocation failure in py_ldb_dn_get_parent() 2023-06-14 22:57:35 +00:00
ldb-samba ldb: Allow extended operations through ildap 2023-04-26 06:27:31 +00:00
messaging lib:messaging: Fix code spelling 2023-04-11 09:06:36 +00:00
mscat Remove rudundent check for gnutls_pkcs7_get_embedded_data_oid as we now require GnuTLS 3.6.13 2023-06-30 14:00:38 +00:00
param docs-xml/smbdotconf: also allow 2012[_R2] for 'ad dc functional level' 2023-06-21 19:08:37 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool lib:pthreadpool: Fix code spelling 2023-04-11 09:06:36 +00:00
replace configure: ensure sizeof(int) >= 4 2023-07-11 22:44:15 +00:00
smbconf lib:smbconf: Fix code spelling 2023-04-14 05:25:33 +00:00
socket lib:socket: Fix code spelling 2023-04-14 05:25:33 +00:00
talloc lib:talloc: Fix code spelling 2023-04-14 05:25:33 +00:00
tdb python: Safely clear structure members 2023-05-16 23:29:32 +00:00
tdb_wrap lib: Open tdb files with O_CLOEXEC 2021-06-04 16:47:34 +00:00
tdr
tevent python: Safely clear structure members 2023-05-16 23:29:32 +00:00
texpect texpect: don't ignore unknown options 2021-09-10 15:10:30 +00:00
torture lib/torture: Don't overwrite test outcomes 2023-04-12 13:52:32 +00:00
tsocket lib:tsocket: Fix code spelling 2023-04-14 05:25:33 +00:00
util gpfswrap: Add wrapper for gpfs_register_cifs_export 2023-06-25 15:09:34 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library