View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014410CMakeCMakepublic2013-09-13 10:382014-03-05 09:58
ReporterClinton Stimpson 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.12 
Target VersionFixed in VersionCMake 2.8.12 
Summary0014410: crash with invalid generator expression syntax
DescriptionI did a

set_target_properties(framework PROPERTIES INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}")

Where it is missing the closing '>' for the generator expression and it crashed in stripAllGeneratorExpressions() with lastPos being out of range for substr().


0000010 0x00000001002675c7 in stripAllGeneratorExpressions (input=@0x7fff5fbfe498) at cmGeneratorExpression.cxx:227
227 result += input.substr(lastPos);
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033829)
Stephen Kelly (developer)
2013-09-16 09:43

Fix merged to master: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=70089d0769902c58da925eb571ad430bec40e9da [^]
(0035258)
Robert Maynard (manager)
2014-03-05 09:58

Closing resolved issues that have not been updated in more than 4 months

 Issue History
Date Modified Username Field Change
2013-09-13 10:38 Clinton Stimpson New Issue
2013-09-13 11:08 Brad King Assigned To => Stephen Kelly
2013-09-13 11:08 Brad King Status new => assigned
2013-09-16 09:43 Stephen Kelly Note Added: 0033829
2013-09-16 09:43 Stephen Kelly Status assigned => resolved
2013-09-16 09:43 Stephen Kelly Fixed in Version => CMake 2.8.12
2013-09-16 09:43 Stephen Kelly Resolution open => fixed
2014-03-05 09:58 Robert Maynard Note Added: 0035258
2014-03-05 09:58 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team