On Poco::Buffer<char> deallocation, free(): invalid next size (normal) #4509
Unanswered
tovedetered
asked this question in
Q&A
Replies: 2 comments
-
|
Fixed by using an std::vector of buffers |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I would recommend testing it with sanitizers. I suspect you're accessing beyond the end of the buffer with some of those [i] accesses. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When using Poco::Buffer and Poco sockets, when the buffer is deleted whether it be by delete or by stack unwinding, the error free(): invalid next size (normal) is thrown
To Reproduce
Expected behavior
The Buffer to be deleted successfully without throwing an error.
Please add relevant environment information:
Beta Was this translation helpful? Give feedback.
All reactions