summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx
diff options
context:
space:
mode:
authorMariusz Plucinski <plucinski.mariusz@gmail.com>2012-06-20 12:02:00 (GMT)
committerBrad King <brad.king@kitware.com>2012-06-20 12:59:54 (GMT)
commit2c2fbaf0e5902d62a4321cdac125778a2170ec5d (patch)
treedbe05d93be8094d9503cea1137d5487ff5c9af10 /Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx
parentd17c58c8534ba68e527a79f33fad60c502ebdde1 (diff)
downloadCMake-2c2fbaf0e5902d62a4321cdac125778a2170ec5d.zip
CMake-2c2fbaf0e5902d62a4321cdac125778a2170ec5d.tar.gz
CMake-2c2fbaf0e5902d62a4321cdac125778a2170ec5d.tar.bz2
Do not crash on unknown source language (#13323)
If a source file extension is not recognized as any language then src.GetLanguage() may return NULL. Check the result before dereferencing in cmLocalGenerator::GetObjectFileNameWithoutTarget.
Diffstat (limited to 'Tests/Tutorial/Step5/MathFunctions/MakeTable.cxx')
0 files changed, 0 insertions, 0 deletions