Skip to content

Commit

Permalink
2023-07-07 00:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
Browse files Browse the repository at this point in the history
  * 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
  • Loading branch information
druzus committed Jul 6, 2023
1 parent 6c084dd commit cd091a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/vm/classes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd091a6

Please sign in to comment.