Skip to content

quiche: fix memory deallocation#13353

Closed
rojkov wants to merge 1 commit intoenvoyproxy:masterfrom
rojkov:quic-fix-mem
Closed

quiche: fix memory deallocation#13353
rojkov wants to merge 1 commit intoenvoyproxy:masterfrom
rojkov:quic-fix-mem

Conversation

@rojkov
Copy link
Member

@rojkov rojkov commented Oct 1, 2020

Commit Message: quiche: fix memory deallocation
Additional Description: When Envoy is linked with the new tcmalloc and compiled with gcc it crashes upon assert in tcmalloc because a buffer slice is allocated with new [], but deallocated with delete.
Risk Level: Low
Testing: unit tests
Docs Changes: N/A
Release Notes: N/A

When Envoy is linked with the new tcmalloc and compiled with gcc it
crashes upon assert in tcmalloc because a buffer slice is allocated
with `new []`, but deallocated with `delete`.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@intel.com>
@rojkov
Copy link
Member Author

rojkov commented Oct 1, 2020

Caught while working on #13251

@mattklein123 mattklein123 self-assigned this Oct 1, 2020
@mattklein123
Copy link
Member

Check CI?

/wait

@rojkov
Copy link
Member Author

rojkov commented Oct 1, 2020

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines, to retry CircleCI checks, use /retest-circle.
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #13353 (comment) was created by @rojkov.

see: more, trace.

@rojkov
Copy link
Member Author

rojkov commented Oct 2, 2020

All the checks pass now.

@rojkov
Copy link
Member Author

rojkov commented Oct 7, 2020

Closing as #13251 includes this patch.

@rojkov rojkov closed this Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants