2012-02-24 13:23 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* contrib/rddbm/bmdbfx.c
    ! fixed GPF after filter reallocation
This commit is contained in:
Mindaugas Kavaliauskas
2012-02-24 11:24:32 +00:00
parent 2e7492d600
commit 3b7af7ed99
2 changed files with 5 additions and 1 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-02-24 13:23 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/rddbm/bmdbfx.c
! fixed GPF after filter reallocation
2012-02-23 15:16 UTC+0100 Viktor Szakats (harbour syenar.net)
* INSTALL
! updated mingw make links

View File

@@ -479,7 +479,7 @@ static HB_BOOL hb_bmEvalFilter( AREAP pArea, HB_BOOL fUpdate )
nOldSize = sizeof( BM_FILTER ) + BM_BYTESIZE( pBM->maxrec );
if( nSize > nOldSize )
{
pBM = ( PBM_FILTER ) hb_xrealloc( pBM, nSize );
pArea->dbfi.lpvCargo = pBM = ( PBM_FILTER ) hb_xrealloc( pBM, nSize );
memset( ( HB_BYTE * ) pBM + nOldSize, 0xFF, nSize - nOldSize );
}
pBM->maxrec = ( HB_U32 ) ulRecNo;