Skip to content

Add function name getter to StackFrame in Debugger Implementation - #14

Merged
hns merged 1 commit into
mozilla:masterfrom
vadimv:master
Nov 15, 2011
Merged

hns merged 1 commit into
mozilla:masterfrom
vadimv:master

Conversation

@vadimv

@vadimv vadimv commented Oct 19, 2011

Copy link
Copy Markdown
Contributor

Function name information can be useful in call stack view.
We use it in our javascript debugger, please look at screenshot:
screencap

hns added a commit that referenced this pull request Nov 15, 2011
Add function name getter to StackFrame in Debugger Implementation
@hns
hns merged commit bf29b48 into mozilla:master Nov 15, 2011
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants