• kfazi's avatar
    Fix allocation in CROSSCOMPILING_EMULATOR evaluation · bf6f5467
    kfazi authored
    In commit fec441ec (Teach CROSSCOMPILING_EMULATOR to support
    arguments, 2019-05-30, v3.15.0-rc1~6^2) the new member
    `cmCustomCommandGenerator::EmulatorsWithArguments` was not initialized
    to the proper size.  Fix this and add a test case covering the crash
    that could occur with multiple commands where an emulator appears only
    in a later command.
    
    Fixes: #19500
    Co-Author: Brad King <brad.king@kitware.com>
    bf6f5467
Name
Last commit
Last update
..
AddTest Loading commit data...
AddCustomCommand-build-check.cmake Loading commit data...
AddCustomCommand.cmake Loading commit data...
AddCustomCommandWithArg-build-check.cmake Loading commit data...
AddCustomCommandWithArg.cmake Loading commit data...
AddCustomTarget-build-check.cmake Loading commit data...
AddCustomTarget.cmake Loading commit data...
AddCustomTargetWithArg-build-check.cmake Loading commit data...
AddCustomTargetWithArg.cmake Loading commit data...
AddTest-check.cmake Loading commit data...
AddTest.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CrosscompilingEmulatorProperty.cmake Loading commit data...
InitialCache.txt.in Loading commit data...
RunCMakeTest.cmake Loading commit data...
TryRun-stdout.txt Loading commit data...
TryRun.cmake Loading commit data...
generated_exe_emulator_unexpected.cxx Loading commit data...
simple_src_exiterror.cxx Loading commit data...