-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BUG]: Fix receiver buffer realloc issue #14
Labels
bug
Something isn't working
driver madness next
Intended for the next driver madness window
lazy-sockets
Related to `lazy-sockets`
leaky pipes
Something is leaking :)
Comments
okawo80085
changed the title
[BUG]: Fix receiver buffer realloc issue, ideally switch to some STL container for managing memory
[BUG]: Fix receiver buffer realloc issue
Apr 1, 2022
okawo80085
added
bug
Something isn't working
lazy-sockets
Related to `lazy-sockets`
labels
Apr 1, 2022
okawo80085
moved this from Todo
to In Progress
in @okawo80085's driver madness 7th edition
Apr 5, 2022
Scratch that, its not smashing the heap, it's just leaking memory x) |
Repository owner
moved this from In Progress
to Done
in @okawo80085's driver madness 7th edition
Apr 15, 2022
Note: this was just a memory leak fix, it is not using an STL container internally yet. |
Weeeeeeeeeeeeeeeeeeeeeeeeell, turns out that temporary fix results in a segfault in runtime of our driver (which was a real pain to find :L ) |
okawo80085
moved this from Done
to In Progress
in @okawo80085's driver madness 7th edition
May 1, 2022
So yeah, time to make a proper fix and use an STL container for buffer management instead |
okawo80085
moved this from In Progress
to postponed
in @okawo80085's driver madness 7th edition
Jun 18, 2022
okawo80085
added
the
driver madness next
Intended for the next driver madness window
label
Jun 29, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
driver madness next
Intended for the next driver madness window
lazy-sockets
Related to `lazy-sockets`
leaky pipes
Something is leaking :)
Our
lazy-socket
receiver class has an issue with it's internal receive buffer where it can smash heap after a realloc, because right now it's done with an almost raw buffer by callingrealloc()
.Switching to one of the STL containers for managing memory will be ideal.
The text was updated successfully, but these errors were encountered: