summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/ejs-2.0/ejs/ejsVar.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23961: Allow SWAT to operate on x86_64 machines.Andrew Bartlett1-2/+2
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 (This used to be commit 72ca8e3b2a45179b731790e6329b978b22ac1ec0)
2007-10-10r18925: Add current snapshot of the ejs-2.0 code. Tridge, will you be ↵Derrell Lipman1-0/+4033
incorporating this? (This used to be commit 917af234a8d517f82bd42256a940608a16b988f4)