summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-31 17:18:07 +0200
committerJulian Andres Klode <jak@debian.org>2016-10-05 21:53:38 +0200
commit2ce2ada40aa93ca5d31fb9dd0ca8d78df5751227 (patch)
tree9f537204e527508dc78897126617c58d952737a5 /cmdline
parent43ed244f35c0bbd3bec2dae0d5e71d98f6314d23 (diff)
downloadapt-2ce2ada40aa93ca5d31fb9dd0ca8d78df5751227.tar.gz
Base256ToNum: Fix uninitialized value
If the inner Base256ToNum() returned false, it did not set Num to a new value, causing it to be uninitialized, and thus might have caused the function to exit despite a good result. Also document why the Res = Num, if (Res != Num) magic is done. Reported-By: valgrind (cherry picked from commit cf7503d8a09ebce695423fdeb2402c456c18f3d8)
Diffstat (limited to 'cmdline')
0 files changed, 0 insertions, 0 deletions