2015-05-07 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/itemseri.c
! fixed stupid typo which could cause buffer overrun during
serialization of hash items with default value.
Tanks to Abe for reporting the problem.
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2015-05-07 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/itemseri.c
|
||||
! fixed stupid typo which could cause buffer overrun during
|
||||
serialization of hash items with default value.
|
||||
Tanks to Abe for reporting the problem.
|
||||
|
||||
2015-05-05 20:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/disksphb.c
|
||||
* added default path setting in hb_fsDiskSpace()
|
||||
|
||||
@@ -625,7 +625,7 @@ static HB_SIZE hb_itemSerialSize( PHB_ITEM pItem, int iFlags,
|
||||
{
|
||||
nSize++;
|
||||
nSize += hb_itemSerialSize( pDefVal, iFlags,
|
||||
cdpIn, cdpOut, pRefList, nOffset + nSize );
|
||||
cdpIn, cdpOut, pRefList, nOffset + nSize );
|
||||
}
|
||||
nLen = hb_hashLen( pItem );
|
||||
if( nLen <= 255 )
|
||||
@@ -948,7 +948,7 @@ static HB_SIZE hb_serializeItem( PHB_ITEM pItem, HB_BOOL iFlags,
|
||||
if( pDefVal )
|
||||
{
|
||||
pBuffer[ nOffset++ ] = HB_SERIAL_HASHDEFVAL;
|
||||
nOffset = hb_serializeItem( pDefVal, iHashFlags,
|
||||
nOffset = hb_serializeItem( pDefVal, iFlags,
|
||||
cdpIn, cdpOut, pBuffer, nOffset, pRefList );
|
||||
}
|
||||
nLen = hb_hashLen( pItem );
|
||||
|
||||
Reference in New Issue
Block a user