This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: unbounded alloc and slice out of bounds crashes
In rtrlib.Decode(): * Now check the message length is not greater than a hardcoded limit (2048) to prevent unbounded memory allocations * Fix a few unchecked slice accesses that could result in crashes with the right payload in the PDU_ID_ERROR_REPORT case.
- Loading branch information
1 parent
78f7a6e
commit d6cb793
Showing
1 changed file
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters