2023-07-07 00:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/vm/classes.c
    ! fixed GPF when object item variable is passed by reference but the object
      is neither instance of standard class nor scalar class
This commit is contained in:
Przemysław Czerpak
2023-07-07 00:07:23 +02:00
parent 6c084dd649
commit cd091a696a
2 changed files with 6 additions and 1 deletions

View File

@@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2023-07-07 00:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/classes.c
! fixed GPF when object item variable is passed by reference but the object
is neither instance of standard class nor scalar class
2023-05-19 16:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbclass.ch
! fixed declaration stripping when HB_CLS_NO_DECLARATIONS is defined

View File

@@ -2269,7 +2269,7 @@ HB_BOOL hb_objGetVarRef( PHB_ITEM pObject, PHB_SYMB pMessage,
{
pExecSym->value.pFunPtr();
}
else
else if( pStack->uiClass )
{
PCLASS pClass = s_pClasses[ pStack->uiClass ];
PMETHOD pMethod = pClass->pMethods + pStack->uiMethod;