Repository navigation
Add function name getter to StackFrame in Debugger Implementation - #14
Merged
Merged
Conversation
hns
added a commit
that referenced
this pull request
Nov 15, 2011
Add function name getter to StackFrame in Debugger Implementation
anivar
added a commit
to anivar/rhino
that referenced
this pull request
Dec 18, 2025
…de overflow, and codepoints Fixed 4 additional MEDIUM priority security issues: Issue mozilla#12: Added validation in build() to prevent bitmap size overflow - Check length is non-negative and within MAX_CODE_POINT range - Check for integer overflow in byteLength calculation Issue mozilla#13: Added validation in addCharacterRange() to check both c1 and c2 before calculating byte indices to prevent out-of-bounds access Issue mozilla#14: Added overflow check in emitREBytecode() before writing to program array to prevent bytecode buffer overflow Issue mozilla#16: Added codepoint validation in classMatcher() to ensure codepoint is within valid Unicode range (0 to MAX_CODE_POINT) All fixes add defensive validation without changing functionality. Tests pass successfully.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Function name information can be useful in call stack view.

We use it in our javascript debugger, please look at screenshot: