#105914# check sprintf/strcat/strcpy calls for possible buffer overflows
This commit is contained in:
parent
bb0cc8df45
commit
e149bf5c87
3 changed files with 9 additions and 9 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: cfgmerge.cxx,v $
|
||||
*
|
||||
* $Revision: 1.22 $
|
||||
* $Revision: 1.23 $
|
||||
*
|
||||
* last change: $Author: nf $ $Date: 2002-06-03 13:02:59 $
|
||||
* last change: $Author: er $ $Date: 2002-12-12 17:00:09 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -197,7 +197,7 @@ extern char *GetOutputFile( int argc, char* argv[])
|
|||
// command line is valid
|
||||
bEnableExport = TRUE;
|
||||
char *pReturn = new char[ sOutputFile.Len() + 1 ];
|
||||
strcpy( pReturn, sOutputFile.GetBuffer());
|
||||
strcpy( pReturn, sOutputFile.GetBuffer()); // #100211# - checked
|
||||
return pReturn;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: export.cxx,v $
|
||||
*
|
||||
* $Revision: 1.29 $
|
||||
* $Revision: 1.30 $
|
||||
*
|
||||
* last change: $Author: nf $ $Date: 2002-04-30 13:55:58 $
|
||||
* last change: $Author: er $ $Date: 2002-12-12 17:00:09 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -208,7 +208,7 @@ extern char *GetOutputFile( int argc, char* argv[])
|
|||
// command line is valid
|
||||
bEnableExport = TRUE;
|
||||
char *pReturn = new char[ sOutputFile.Len() + 1 ];
|
||||
strcpy( pReturn, sOutputFile.GetBuffer());
|
||||
strcpy( pReturn, sOutputFile.GetBuffer()); // #100211# - checked
|
||||
return pReturn;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: xrmmerge.cxx,v $
|
||||
*
|
||||
* $Revision: 1.4 $
|
||||
* $Revision: 1.5 $
|
||||
*
|
||||
* last change: $Author: nf $ $Date: 2002-02-07 18:41:54 $
|
||||
* last change: $Author: er $ $Date: 2002-12-12 17:00:09 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -196,7 +196,7 @@ extern char *GetOutputFile( int argc, char* argv[])
|
|||
// command line is valid
|
||||
bEnableExport = TRUE;
|
||||
char *pReturn = new char[ sOutputFile.Len() + 1 ];
|
||||
strcpy( pReturn, sOutputFile.GetBuffer());
|
||||
strcpy( pReturn, sOutputFile.GetBuffer()); // #100211# - checked
|
||||
return pReturn;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue