Fixing a bound checking in diff

pmeunier
Sep 22, 2021, 1:26 PM
QBTRVXILORX52CFOFOTF2AHILTTBBGP43E4RXWYI4ISP4G3RMYGAC

Dependencies

  • [2] PUHYAG7L libpijul::diff::bytes_pos is now sometimes called on the last byte of the file; handle that case
  • [3] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in "libpijul/src/diff/mod.rs" at line 199
    [2.100][2.100:113]()
    } else {
    [2.100]
    [2.113]
    } else if old > 0 {
  • edit in "libpijul/src/diff/mod.rs" at line 202
    [2.227]
    [2.227]
    } else {
    0