Skip to content
  • Krzysztof Blazewicz's avatar
    extmod/modbtree: do CHECK_ERROR after __bt_seq() · 5a5449d4
    Krzysztof Blazewicz authored
    In `btree_seq()`, when `__bt_seq()` gets called with invalid
    `flags` argument it will return `RET_ERROR` and it won't
    initialize `val`. If field `data` of uninitialized `val`
    is passed to `mp_obj_new_bytes()` it causes a segfault.
    5a5449d4