Skip to content

Commit

Permalink
Update CHANGES.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbannier committed Apr 28, 2023
1 parent 0cf7f01 commit 068d4ed
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
1.5.4 | 2023-04-28 11:24:55 +0200

* GH-1436: Make sure `Bytes::sub` only throws HILTI exceptions. (Benjamin Bannier, Corelight)

We previously would directly invoke `Base::substr` which can throw
and leak `std::out_of_range`. We now make sure to only throw HILTI
exceptions from that function.

Closes #1436.

(cherry picked from commit 8a7805b7e79070e168974d5b5b01df37f13728b6)

* Implement all `Bytes::sub` in terms of bytes offsets. (Benjamin Bannier, Corelight)

We will use this in a subsequent patch which cleans up exception
handling from `std::string::substr`.

(cherry picked from commit 82324bc4d383d2ba8a916c3cde3c39f2900b7962)

1.5.3-26 | 2023-04-27 15:20:41 +0200

* Suppress uninteresting compiler diagnostic in test stderr diff. (Benjamin Bannier, Corelight)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.3-26
1.5.4

0 comments on commit 068d4ed

Please sign in to comment.