Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
(This used to be commit b659e83cd6b627dd0ae04064bccff7220a5bd1ce)
|
|
all EJS code.
(This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)
|
|
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)
|
|
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
|
|
pesky panic on x86_64
(This used to be commit 80177b29f4b32996d41a87df041c4c1bfb6876c2)
|
|
(This used to be commit c2f5884e2f8a033446467384b6c058567b2fb9ce)
|
|
(This used to be commit 0e30b6e4cc9e70975d3179cfeddc4bfcc8c8fbb7)
|