20000506-17:46 GMT+1 Victor Szakats <info@szelvesz.hu>
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
20000506-17:46 GMT+1 Victor Szakats <info@szelvesz.hu>
|
||||
|
||||
* source/compiler/harbour.c
|
||||
! hb_compGenPushDouble() buffer overflow bug fixed.
|
||||
Thanks for Istvan Foldi.
|
||||
|
||||
20000505-19:26 GMT+1 Antonio Linares <alinares@fivetech.com>
|
||||
* source/compiler/genobj32.c
|
||||
* 4 bytes alignment compatible.
|
||||
|
||||
@@ -2332,7 +2332,7 @@ void hb_compGenPushNil( void )
|
||||
/* generates the pcode to push a double number on the virtual machine stack */
|
||||
void hb_compGenPushDouble( double dNumber, BYTE bWidth, BYTE bDec )
|
||||
{
|
||||
BYTE pBuffer[ sizeof( double ) + sizeof( BYTE ) + sizeof( BYTE ) ];
|
||||
BYTE pBuffer[ sizeof( double ) + sizeof( BYTE ) + sizeof( BYTE ) + 1 ];
|
||||
|
||||
pBuffer[ 0 ] = HB_P_PUSHDOUBLE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user