summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.h
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-08-31 17:40:15 +0200
commitcf7503d8a09ebce695423fdeb2402c456c18f3d8 (patch)
tree769618a674d5636e4dffaa75de4fbcb75ae0df1e /cmdline/apt-extracttemplates.h
parent923c592ceb6014b31ec751b97b3ed659fa3e88ae (diff)
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
Diffstat (limited to 'cmdline/apt-extracttemplates.h')
0 files changed, 0 insertions, 0 deletions