diff options
author | 2016-08-01 16:40:09 +0000 | |
---|---|---|
committer | 2016-08-01 16:40:09 +0000 | |
commit | 52e389ba0d1de9131f6be288cfaf9b28a0b732e5 (patch) | |
tree | cf97ac53abb1919a114bea93d5d9581a73f2b35d /lib | |
parent | Do not pass VM name directly to setproctitle format string. (diff) | |
download | wireguard-openbsd-52e389ba0d1de9131f6be288cfaf9b28a0b732e5.tar.xz wireguard-openbsd-52e389ba0d1de9131f6be288cfaf9b28a0b732e5.zip |
Make sure variables are initialized before using them
In elf.c, do not increment `s' before it is initialized. At the time
of the increment, `s' is otherwise unused anyway.
In elflink.c, initialize sec_contents and l_sec_contents to make
sure that the free(sec_contents) and free(l_sec_contents) are called
on valid pointers.
ok jca@ guenther@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions