View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000452CMakepublic2003-12-19 09:392003-12-29 13:32
ReporterPhillip Emmett 
Assigned ToBrad King 
PrioritylowSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000452: Less then 3 args crashes on STRING(TOUPPER/TOLOWER...
DescriptionSTRING(TOUPPER/TOLOWER doesn't check the number of args correctly so it crashes if the call is malformed. This happens on 1.8.1 and 1.8.2. The patch against 1.8.2 is:
62c62
< if ( args.size() <= 1 )
---
> if ( args.size() < 3 )
88c88
< if ( args.size() <= 1 )
---
> if ( args.size() < 3 )
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0000408)
Brad King (manager)
2003-12-29 13:31

Fixed in main tree:

Checking in cmStringCommand.cxx;
/cvsroot/CMake/CMake/Source/cmStringCommand.cxx,v <-- cmStringCommand.cxx
new revision: 1.11; previous revision: 1.10
done
(0000409)
Brad King (manager)
2003-12-29 13:32

Fix has been merged to 1.8 branch for 1.8.3 release.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team