I don't know, but many other places where it is called, it's protected by
   if (var)
      delete[] var;
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Pavel Tsekov" <[EMAIL PROTECTED]>
To: "Michael A Chase" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 13:01
Subject: Re: [PATCH]setup.exe: delete called for NULL pointer


> Wednesday, April 10, 2002, 7:20:30 PM, you wrote:
>
> MAC> I don't know if this delete call is a problem, but every other place
I found
> MAC> delete called in the setup.exe source, the variable was either
confirmed not
> MAC> NULL or the variable was certain to not be NULL.  In this case, the
variable
> MAC> either must be NULL or the buffer is too small.
>
> Isn't the 'delete' operator NULL aware ?


Reply via email to