diff options
| author | Nathan Moinvaziri <nathan@solidstatenetworks.com> | 2019-10-06 18:54:05 -0700 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2019-10-07 09:46:13 +0200 |
| commit | 9fbe28aeaf3877b9cb4920d08f53abf6bd32c4f8 (patch) | |
| tree | 8be7890bd9d5a493f48a758e1b4de9756d85f3e0 /tools/makefixed.c | |
| parent | eaace15fdff834b6772fc7dc89d747c36c53c81b (diff) | |
| download | Project-Tick-9fbe28aeaf3877b9cb4920d08f53abf6bd32c4f8.tar.gz Project-Tick-9fbe28aeaf3877b9cb4920d08f53abf6bd32c4f8.zip | |
Fixed use of uninitialized value state in makefixed. #437
Diffstat (limited to 'tools/makefixed.c')
| -rw-r--r-- | tools/makefixed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/makefixed.c b/tools/makefixed.c index 0f983bd5d3..66f4355dc1 100644 --- a/tools/makefixed.c +++ b/tools/makefixed.c @@ -44,6 +44,7 @@ void makefixed(void) { unsigned low, size; struct inflate_state state; + memset(&state, 0, sizeof(state)); buildfixedtables(&state); puts(" /* inffixed.h -- table for decoding fixed codes"); puts(" * Generated automatically by makefixed()."); |
