1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

15 Commits

Author SHA1 Message Date
Jeremy Allison
c65b752604 r12043: It's amazing the warnings you find when compiling on a 64-bit
box with gcc4 and -O6...
Fix a bunch of C99 dereferencing type-punned pointer will break
strict-aliasing rules errors. Also added prs_int32 (not uint32...)
as it's needed in one place. Find places where prs_uint32 was being
used to marshall/unmarshall a time_t (a big no no on 64-bits).
More warning fixes to come.
Thanks to Volker for nudging me to compile like this.
Jeremy.
2007-10-10 11:05:42 -05:00
Jeremy Allison
95665dfd77 r11764: Doesn't need to be exported from here.
Jeremy.
2007-10-10 11:05:26 -05:00
Jeremy Allison
11c6b8ecd6 r11614: Replace old crc32 code with one from the FreeBSD tree.
*  COPYRIGHT (C) 1986 Gary S. Brown.  You may use this program, or
 *  code or tables extracted from it, as desired without restriction.
Jeremy.
2007-10-10 11:05:22 -05:00
Andrew Bartlett
38a6ad95d7 Add const. -
Tim Potter
5efe39af0c int -> uint32 -
Tim Potter
2d0922b0ea Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. -
Andrew Tridgell
453a822a76 first pass at updating head branch to be to be the same as the SAMBA_2_0 branch -
Luke Leighton
c8fd555179 - typecast malloc / Realloc issues.
- signed / unsigned issues.
-
Luke Leighton
c101113ec2 fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh).
put unicode strings after SAMLOGON query regardless of whether it's
an NT mailslot or a non-NT mailslot, after having observed this behaviour
out of NT machines.
-
Luke Leighton
c48ee2bfba second implementation of crc32, used with permission of francesco ferrara
<francesco@aerre.it>.  thanks!
http://www.aerre.it/francesco
-
Luke Leighton
8b9c0bad88 more warnings... -
Luke Leighton
69f5f9f889 dce/rpc -
Luke Leighton
0b90442021 signed / unsigned issues spotted by herb -
Luke Leighton
0067e45d41 added "permission obtained from John Erickson <jerickson@ddj.com> ...." -
Luke Leighton
73667141af crc32 algorithm. obtained from dr dobb's journal
http://www.ddj.com/ftp/1992/1992.05/crcman.zip.
copyright 1992 mark r nelson.
-