1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Andrew Bartlett
72ca8e3b2a r23961: Allow SWAT to operate on x86_64 machines.
On machines with a 4 byte int, and a 8 byte pointer, the ESP could would fail.

The problem is that 0 != NULL.  0 is an int (4 bytes) and NULL is a
pointer (8), and this matters critically to varargs functions.

If a 0 was passed as the 'terminating' argument, then only 4 bytes
would be written to the stack, but va_arg(ap, char *) would try and
pull 8, reading uninitalised memory.

Andrew Bartlett
2007-10-10 15:01:11 -05:00
Andrew Tridgell
ed09e19794 r8631: give an error on incorrect argument count 2007-10-10 13:29:46 -05:00
Andrew Tridgell
6c9bf162af r8562: small merge with upstream 2007-10-10 13:29:38 -05:00
Andrew Tridgell
205ff9a82b r8404: small upstream merges of appweb code 2007-10-10 13:22:58 -05:00
Andrew Tridgell
0e30b6e4cc r8400: separate out the mpr code, as it is in the upstream appweb sources 2007-10-10 13:22:57 -05:00
Andrew Tridgell
52db7a052b r8399: move the ejs and esp code closer to the directory layout used by the
upstream sources. This makes it much easier to keep it up to date.

I will separate out the mpr code into lib/appweb/mpr next
2007-10-10 13:22:39 -05:00