2014-02-06 15:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rdd/hsx/hsx.c
    ! fixed hs_Version() - it wrongly used hb_xstrcat() instead of
      hb_xstrcpy() and last NULL parameter was missed.

  * src/rdd/usrrdd/usrrdd.c
    ! fixed GPF when wrong parameters are passed to UR_SUPER_*()
      functions (issue #44)
This commit is contained in:
Przemysław Czerpak
2014-02-06 15:33:40 +01:00
parent b8f523350f
commit 7c5a4b18a3
3 changed files with 19 additions and 2 deletions

View File

@@ -10,6 +10,15 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2014-02-06 15:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/hsx/hsx.c
! fixed hs_Version() - it wrongly used hb_xstrcat() instead of
hb_xstrcpy() and last NULL parameter was missed.
* src/rdd/usrrdd/usrrdd.c
! fixed GPF when wrong parameters are passed to UR_SUPER_*()
functions (issue #44)
2014-02-05 19:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbct/ctwin.c
! added protection against wrong parameters passed to hb_gtAllert()

View File

@@ -2020,7 +2020,7 @@ HB_FUNC( HS_VERSION )
char * pszHBVersion, * pszVersion;
pszHBVersion = hb_verHarbour();
pszVersion = hb_xstrcat( NULL, szVer, ": ", pszHBVersion );
pszVersion = hb_xstrcpy( NULL, szVer, ": ", pszHBVersion, NULL );
hb_retclen_buffer( pszVersion, strlen( pszVersion ) );
hb_xfree( pszHBVersion );
}

View File

@@ -3078,7 +3078,15 @@ static HB_ERRCODE hb_usrErrorRT( AREAP pArea, HB_ERRCODE errGenCode, HB_ERRCODE
hb_errPutGenCode( pError, errGenCode );
hb_errPutSubCode( pError, errSubCode );
hb_errPutDescription( pError, hb_langDGetErrorDesc( errGenCode ) );
iRet = SELF_ERROR( pArea, pError );
if( pArea )
iRet = SELF_ERROR( pArea, pError );
else
{
hb_errPutSeverity( pError, ES_ERROR );
hb_errPutSubSystem( pError, "???DRIVER" );
hb_errPutOperation( pError, HB_ERR_FUNCNAME );
iRet = hb_errLaunch( pError );
}
hb_errRelease( pError );
}
return iRet;