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:
KOLANICH <kolan_n@mail.ru>
Warned-by: gcc ASAN
parent
7d2d5be9
No related branches found
No related tags found
Please register or sign in to comment