Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add streaming API #5

Merged
merged 29 commits into from
Feb 9, 2023
Merged

add streaming API #5

merged 29 commits into from
Feb 9, 2023

Conversation

lun-4
Copy link
Owner

@lun-4 lun-4 commented Feb 9, 2023

here it is, in all its glory

close #4

lun-4 added 29 commits January 30, 2023 19:08
WrapperR.reader() returns *WrapperR, and that does not live in the
memory of the Parser, instead only on init()

this is stack UAF, which meant the memory pointed by Parser.reader was
changing whenever the stack decided to overwrite it.
names are either
 - labels + pointer
 - labels + null

never both pointer + null
we pass allocator so we don't have RDATA events
fromAssumedComponents does not take ownership of given slice
fixes the bodge of leaking memory by commenting out deinit() lol
@lun-4 lun-4 merged commit 166bd8c into master Feb 9, 2023
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.

streaming API
1 participant