Re: [VC++ .NET 2003] BUG: operator delete[](void*, size_t) broken

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Carl Daniel [VC++ MVP] (cpdaniel_remove_this_and_nospam_at_mvps.org.nospam)
Date: 03/05/04


Date: Fri, 5 Mar 2004 06:52:12 -0800

Alberto Barbati wrote:
> Hi,
>
> when operator delete[] is declared with two parameters void* and
> size_t, the value of the second parameter should be the size of the
> allocated block (12.5/5). This is incorrectly implemented in VC++
> .NET 2003.

This is a known bug. Hopefully it'll be fixed in a future release. If this
bug is a serious impediment to your work, you should contact product
support.

-cd



Relevant Pages

  • [PATCH] Fix for bug W343-3, part 4: Description of the patch
    ... Bug W343-3 really consists of two distinct and unrelated bugs. ... the second parameter is ignored. ... character sets for the normal dungeon. ... * Add the needed second parameter to switch_graphics. ...
    (rec.games.roguelike.nethack)
  • Re: Win32.RegistryKey BUG?????
    ... "If the second parameter in SetValue is an Int32 value, ... the value is stored as a string with the REG_SZ registry value type. ... this a BUG or there is a logical explenation for that??? ...
    (microsoft.public.dotnet.languages.vc)
  • Re: 2.6.23-rc8-mm2: BUG near reiserfs_xattr_set
    ... I've got this BUG a few seconds after I logged in into Gnome desktop: ... unable to handle kernel NULL pointer dereference at virtual address 00000000 ... # Firmware Drivers ... # SCSI support type ...
    (Linux-Kernel)
  • SoftBUG on massive copying
    ... The system is running a vanilla 2.6.16.25 kernel, filesystems ... BUG: ... # ACPI Support ...
    (Linux-Kernel)
  • [BUG] 2.6.16-rc5-mm2/3 : oops on rmmod snd-ens1371
    ... I've got the following BUG when I rmmod snd-ens1371. ... unable to handle kernel paging request at virtual address 6b6b6b6b ... # ACPI Support ... # CPU Frequency scaling ...
    (Linux-Kernel)