2010-03-03 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmisc/hbeditc.c
! One fix to prev right away. (in former strcpy)
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-03-03 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbmisc/hbeditc.c
|
||||
! One fix to prev right away. (in former strcpy)
|
||||
|
||||
2010-03-03 03:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbmisc/hbeditc.c
|
||||
! Replaced unsafe string calls with safe one.
|
||||
|
||||
@@ -333,7 +333,7 @@ static void AddText( PHB_EDITOR pEd, const char * adres )
|
||||
{
|
||||
/* there is enough room in text buffer
|
||||
*/
|
||||
hb_strncpy( pEd->begin + dlold, adres, dl - 1 );
|
||||
hb_strncpy( pEd->begin + dlold, adres, dl );
|
||||
pEd->text_length += dl;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user