|
From: Erik de C. L. <eri...@me...> - 2005-09-25 19:43:26
|
Julian Seward wrote: > First of all, ensure you compile without optimisation. Problem remains. > > The thing that confuses me is the line that valgrind is warning > > about is: > > > > retpcm [offset + j] = (buffer [j][pflac->bufferpos]) << shift ; > > > > where all the arrays are on the heap, not the stack. > > Dunno. Worth adding some assertions to range checki the 3 array indices > you're using. If I add the assertions, they don't get triggered. If I fiddle the range the assertion is checking to one less than the valid length it does get triggered. I guess I'll have to look at the assembler output. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ Microsoft VISTA : Virus Infection Spyware Trojans and Adware! |