Skip to content
Snippets Groups Projects
  1. Aug 27, 2016
  2. Aug 26, 2016
  3. Aug 25, 2016
  4. Aug 24, 2016
  5. Aug 23, 2016
    • Krzysztof Blazewicz's avatar
      py/stream.c: use mp_obj_get_type in mp_get_stream_raise · 65620764
      Krzysztof Blazewicz authored
      In current state `mp_get_stream_raise` assumes that `self_in` is an object
      and always performs a pointer derefence which may cause a segfault.
      
      This function shall throw an exception whenever `self_in` does not implement
      a stream protocol, that includes qstr's and numbers.
      
      fixes #2331
      65620764
    • 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
  6. Aug 22, 2016
  7. Aug 20, 2016
  8. Aug 19, 2016
  9. Aug 17, 2016
  10. Aug 16, 2016
  11. Aug 15, 2016
Loading