Skip to content

Undefined behaviour #1104

@armintoepfer

Description

@armintoepfer

Using mm2 v2.26 in pbmm2, I fail at

lchain.c:228:1: runtime error: index -1 out of bounds for type 'const lc_elem_t *[64]' (aka 'const struct lc_elem_s *[64]')

How to reproduce

git clone https://github.com/PacificBiosciences/pbmm2 pbmm2
cd pbmm2
mkdir build
cd build
meson setup --buildtype=debugoptimized -Db_sanitize=address,undefined -Db_lundef=false
ninja
ninja test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions