Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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)
|
|
(This used to be commit ed09e19794d9625553bc48892a2e08b84d7bdcf4)
|
|
(This used to be commit 6c9bf162afddda4747ef08b56598aaf0747a4d27)
|
|
(This used to be commit 205ff9a82bd51eae3c1400ea0a24fcf2a662e96f)
|
|
(This used to be commit 0e30b6e4cc9e70975d3179cfeddc4bfcc8c8fbb7)
|
|
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
(This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
|