Hi,
While analyzing one of our applications using Adress Sanitizer, I found a potentially serious bug in host/pc/asiolist.cpp:
static LPASIODRVSTRUCT newDrvStruct (HKEY hkey,char *keyname,int drvID,LPASIODRVSTRUCT lpdrv)
{
// ...
lpdrv = new ASIODRVSTRUCT[1]; // L.84
// ...
}
static void deleteDrvStruct (LPASIODRVSTRUCT lpdrv)
{
// ...
delete lpdrv; // L.120 - BUG: should be 'delete[] lpdrv';
// ...
}
Can this be fixed in the next release ?
Thanks,
Lorcan