Skip to content

RichFutureDAQ - Add default initialisation to version enum

Christopher Rob Jones requested to merge RichFutureDAQ-DefaultInitVersion into master

Addresses UB sanitizer error

../Rich/RichFutureDAQ/src/RichRawBankDecoder.cpp:215:8: runtime error: load of value 67198024, which is not a valid value for type 'BankVersion'
    #0 0x7f6861d6b06e in Rich::Future::RawBankDecoder::createDataBank(unsigned int const*, Rich::DAQ::BankVersion, Rich::Future::RawBankDecoder::PDBanks&) const ../Rich/RichFutureDAQ/src/RichRawBankDecoder.cpp:215
    #1 0x7f6861d818f1 in Rich::Future::RawBankDecoder::decodeToSmartIDs_2007(LHCb::RawBank const&, LHCb::ODIN const&, Rich::Future::DAQ::L1Map&, Rich::Future::RawBankDecoder::PDBanks&) const ../Rich/RichFutureDAQ/src/RichRawBankDecoder.cpp:392
    #2 0x7f6861d84ecf in Rich::Future::RawBankDecoder::decodeToSmartIDs(LHCb::RawBank const&, LHCb::ODIN const&, Rich::Future::DAQ::L1Map&, Rich::Future::RawBankDecoder::PDBanks&) const ../Rich/RichFutureDAQ/src/RichRawBankDecoder.cpp:188
    #3 0x7f6861d86660 in Rich::Future::RawBankDecoder::operator()(LHCb::RawEvent const&, LHCb::ODIN const&) const ../Rich/RichFutureDAQ/src/RichRawBankDecoder.cpp:114
Edited by Christopher Rob Jones

Merge request reports