diff options
author | Eike Rathke <er@openoffice.org> | 2002-12-12 16:00:09 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2002-12-12 16:00:09 +0000 |
commit | e149bf5c87de0e2fd713967614944710d0091a9e (patch) | |
tree | 5fdc671beec1ef52e3a1acd6fe16aa50a1e344de /transex3 | |
parent | bb0cc8df457e2d91aeba76f94caf07cd5da864a5 (diff) |
#105914# check sprintf/strcat/strcpy calls for possible buffer overflows
Diffstat (limited to 'transex3')
-rw-r--r-- | transex3/source/cfgmerge.cxx | 6 | ||||
-rw-r--r-- | transex3/source/export.cxx | 6 | ||||
-rw-r--r-- | transex3/source/xrmmerge.cxx | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/transex3/source/cfgmerge.cxx b/transex3/source/cfgmerge.cxx index bebcdbb6cf72..0ae727da0d6e 100644 --- a/transex3/source/cfgmerge.cxx +++ b/transex3/source/cfgmerge.cxx @@ -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; } diff --git a/transex3/source/export.cxx b/transex3/source/export.cxx index 76c60522205f..b34e2b57f7fd 100644 --- a/transex3/source/export.cxx +++ b/transex3/source/export.cxx @@ -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; } diff --git a/transex3/source/xrmmerge.cxx b/transex3/source/xrmmerge.cxx index 227be741db1b..5143d2e101aa 100644 --- a/transex3/source/xrmmerge.cxx +++ b/transex3/source/xrmmerge.cxx @@ -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; } |