MantisBT - CMake
View Issue Details
0014784CMake(No Category)public2014-03-04 08:412014-10-06 10:32
potm 
Brad King 
normaltrivialalways
closedfixed 
x86windows7
CMake 2.8.12.2 
CMake 3.0CMake 3.0 
0014784: Seg fault with wrong number of args for check-build-system
see summary
Execute: "cmake --check-build-system awfeew"
Get segfault
Culprit:
cmake.cxx
656 else if((i < args.size()-1) && (arg.find("--check-build-system",0) == 0))
657 {
658 this->CheckBuildSystemArgument = args[++i];
659 this->ClearBuildSystem = (atoi(args[++i].c_str()) > 0);
660 }

No tags attached.
Issue History
2014-03-04 08:41potmNew Issue
2014-03-04 10:16Brad KingNote Added: 0035247
2014-03-04 10:16Brad KingAssigned To => Brad King
2014-03-04 10:16Brad KingStatusnew => resolved
2014-03-04 10:16Brad KingResolutionopen => fixed
2014-03-04 10:16Brad KingFixed in Version => CMake 3.0
2014-03-04 10:16Brad KingTarget Version => CMake 3.0
2014-10-06 10:32Robert MaynardNote Added: 0036931
2014-10-06 10:32Robert MaynardStatusresolved => closed

Notes
(0035247)
Brad King   
2014-03-04 10:16   
Fixed, thanks:

 cmake: Fix --check-build-system argument count check
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3504f9b9 [^]

I will merge this for 3.0.0-rc2.
(0036931)
Robert Maynard   
2014-10-06 10:32   
Closing resolved issues that have not been updated in more than 4 months.