Skip to content

Fixing a (downstream) msan failure#2403

Merged
htuch merged 1 commit intoenvoyproxy:masterfrom
alyssawilk:msan
Jan 18, 2018
Merged

Fixing a (downstream) msan failure#2403
htuch merged 1 commit intoenvoyproxy:masterfrom
alyssawilk:msan

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

When the structure of shared memory is
[100 options slots][control struct] and we try parse it as [99 options][control struct] we end up parsing the control struct from the uninitialized options memory. Fixed via memset.

Risk Level: n/a (test fix)
Testing: exactly.
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@htuch htuch merged commit 5d14c9f into envoyproxy:master Jan 18, 2018
@alyssawilk alyssawilk deleted the msan branch January 30, 2018 18:47
Shikugawa pushed a commit to Shikugawa/envoy that referenced this pull request Mar 28, 2020
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
jpsim added a commit that referenced this pull request Nov 28, 2022
Signed-off-by: GitHub Action <noreply@github.com>
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request Nov 29, 2022
Signed-off-by: GitHub Action <noreply@github.com>
Co-authored-by: jpsim <jpsim@users.noreply.github.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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.

4 participants