Skip to content
Snippets Groups Projects
Commit 52b63137 authored by Guillem Jover's avatar Guillem Jover
Browse files

libdpkg: Fix undefined behavior in varbuf functions


While varbuf_grow() handles 0 sizes fine, we do a check before calling
it to avoid the duplicate checks.

Reported-by: default avatarKOLANICH <kolan_n@mail.ru>
Warned-by: gcc ASAN
parent 7d2d5be9
No related branches found
No related tags found
1 merge request!3Update to 1.20.9pureos1
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment