2023-04-20 23:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/xhb/hbcompat.ch
! fixed translations of xHarbour operators inside brackets,
thanks to Ron.
* contrib/xhb/xhb.hbx
* contrib/xhb/xcstr.prg
+ added support for timestamp translations
! fixed few wrong translations
! fixed serialization of hash items with cyclic references
in ValToPrg()
% optimized cyclic references detection in ValToPrg()
! generate dummy code which cannot be compiled for codeblocks serialized
by ValToPrg()
* contrib/xhb/xhb.ch
+ added SET TRACE ... command, thanks to Ron.
* contrib/xhb/xhberror.c
* do not show __ERRRT_BASE() and __ERRRT_SBASE() in error call stack.
* src/vm/classes.c
! added protection against possible GPF when manually created serialized object
data with super class symbols longer then HB_SYMBOL_NAME_LEN is deserialized
This commit is contained in:
@@ -5213,6 +5213,8 @@ static void hb_objSetIVars( PHB_ITEM pObject, PHB_ITEM pArray )
|
||||
PHB_DYNS pParentSym;
|
||||
char szClassName[ HB_SYMBOL_NAME_LEN + 1 ];
|
||||
|
||||
if( nLen > HB_SYMBOL_NAME_LEN )
|
||||
nLen = HB_SYMBOL_NAME_LEN;
|
||||
memcpy( szClassName, pszMethod, nLen );
|
||||
szClassName[ nLen ] = '\0';
|
||||
pParentSym = hb_dynsymFindName( szClassName );
|
||||
|
||||
Reference in New Issue
Block a user