summaryrefslogtreecommitdiff
path: root/src/CHANGELOG.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 01:18:56 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commite6e81a6bc544c5ab5a47c21d85e6868020031abb (patch)
treea2a9947d01ba0e6b1d36ccf4020816d2e0c6ca61 /src/CHANGELOG.md
parent65612a1cc13dd2a7e866f88176dbf6db5dd83467 (diff)
downloadpardes-e6e81a6bc544c5ab5a47c21d85e6868020031abb.tar.gz
pardes-e6e81a6bc544c5ab5a47c21d85e6868020031abb.zip
regexp: a class's range may end at \xff: mvzr counted `c1..c2 + 1` in a u8, which overflowed at 0xff (a panic in a safe build, a loop past its bounds in a fast one), so `[\x80-\xff]` in any search, an address, s or S, a plumbing rule, took the editor down; build.zig's patch of mvzr widens the count to usize, beside its other patches (one occurrence, checked); found writing the plumber's rules, whose classes for UTF-8 names the design record wrote as \x80-\xff; test: a class of a-z and the high bytes finds café, [\xff-\xff] compiles; the changelog says so
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'src/CHANGELOG.md')
-rw-r--r--src/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md
index d4d237f0..ed8993c9 100644
--- a/src/CHANGELOG.md
+++ b/src/CHANGELOG.md
@@ -2,6 +2,10 @@
## Unreleased
+- A search with a class whose range ends at `\xff` (`[\x80-\xff]`, in an
+ address, `s`, a plumbing rule) no longer takes the editor down: mvzr
+ counted the range past a byte's end.
+
- The plumber, Plan 9's, is in the session: `plumb/rules` holds its
rules in plumb(6)'s language (rule sets of `object verb arg` lines,
variables, `include`, `matches` over the whole text or around a click,