[cmake-developers] [CMake 0014784]: Seg fault with wrong number of args for check-build-system

Mantis Bug Tracker mantis at public.kitware.com
Tue Mar 4 08:41:37 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14784 
====================================================================== 
Reported By:                potm
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14784
Category:                   (No Category)
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-04 08:41 EST
Last Modified:              2014-03-04 08:41 EST
====================================================================== 
Summary:                    Seg fault with wrong number of args for
check-build-system
Description: 
see summary

Steps to Reproduce: 
Execute: "cmake --check-build-system awfeew"
Get segfault


Additional Information: 
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       }


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-04 08:41 potm           New Issue                                    
======================================================================



More information about the cmake-developers mailing list