1. 28 Apr, 2022 1 commit
  2. 25 Apr, 2022 3 commits
  3. 18 Apr, 2022 1 commit
  4. 16 Apr, 2022 1 commit
  5. 14 Apr, 2022 4 commits
  6. 12 Apr, 2022 7 commits
  7. 11 Apr, 2022 1 commit
  8. 10 Apr, 2022 17 commits
  9. 06 Apr, 2022 4 commits
  10. 05 Apr, 2022 1 commit
    • [midx] Fix an undefined behavior (left-shift signed overflow) · 33b1d3fd
      There was a missing check to ensure that the `off64_t` (which is a
      signed value) didn't overflow when parsing it from the midx file. This
      shouldn't have huge repercusions since the parsed value is immediately
      validated afterwards, but then again, there is no such thing as "benign"
      undefined behavior.
      
      This change makes all the bitwise arithmetic happen with unsigned types
      and is only casted to `off64_t` until the very end.
      
      Thanks to Taotao Gu for finding and reporting this!
      lhchavez committed