Skip to content

synthimi: crash when buffer size mismatch #2107

Description

@jcelerier
ossia-score: score/3rdparty/libossia/3rdparty/boost_1_90_0/boost/container/vector.hpp:1742: reference boost::container::vector<unsigned char, boost::container::small_vector_allocator<unsigned char, boost::container::new_allocator<void>, void>>::operator[](size_type) [T = unsigned char, A = boost::container::small_vector_allocator<unsigned char, boost::container::new_allocator<void>, void>, Options = void]: Assertion `this->m_holder.m_size > n' failed.
 #5 0x00007f2bcc619cc2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc2)
 #6 0x00007f2bcc6024ac abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ac)
 #7 0x00007f2bcc602420 __assert_perror_fail (/lib/x86_64-linux-gnu/libc.so.6+0x28420)
 #8 0x0000558d244b57a3 boost::container::vector<unsigned char, boost::container::small_vector_allocator<unsigned char, boost::container::new_allocator<void>, void>, void>::operator[](unsigned long) score/3rdparty/libossia/3rdparty/boost_1_90_0/boost/container/vector.hpp:0:7
 #9 0x0000558d26bb51ac Synthimi::Synthimi::process_midi() score/src/addons/score-addon-synthimi/Synthimi/SynthimiModel.cpp:178:43
#10 0x0000558d26bb50c6 Synthimi::Synthimi::operator()(halp::tick) score/src/addons/score-addon-synthimi/Synthimi/SynthimiModel.cpp:164:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions