Thanks! Applied.
-Original Message-
From: Bryan C. Warnock
To: [EMAIL PROTECTED]
Sent: 10/6/2001 12:43 PM
Subject: [PATCH] non-init var possibility
mask and max_to_alloc are unitialized if the size requested is less that
1.
(Which it could be, since INTVAL is signed.) Of course, if
In message <[EMAIL PROTECTED]>
Gibbs Tanton - tgibbs <[EMAIL PROTECTED]> wrote:
> No, the behavior of malloc(0) is implementation defined.
It is, yes, but there are only two legal results according to
the ISO C standard:
"If the size of the space requested is zero, the behavior is
No, the behavior of malloc(0) is implementation defined.
-Original Message-
From: Bryan C. Warnock
To: [EMAIL PROTECTED]
Sent: 10/6/2001 12:43 PM
Subject: [PATCH] non-init var possibility
mask and max_to_alloc are unitialized if the size requested is less that
1.
(Which it could be
mask and max_to_alloc are unitialized if the size requested is less that 1.
(Which it could be, since INTVAL is signed.) Of course, if it happens, you
should get what you deserve, but this at least horks them cleanly.
Creation of an UINTVAL (UNTVAL? :-) and subsequent patches will follow
pe