RE: [PATCH] non-init var possibility

2001-10-07 Thread Gibbs Tanton - tgibbs
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

RE: [PATCH] non-init var possibility

2001-10-06 Thread Tom Hughes
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

RE: [PATCH] non-init var possibility

2001-10-06 Thread Gibbs Tanton - tgibbs
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

[PATCH] non-init var possibility

2001-10-06 Thread Bryan C . Warnock
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