From: Andrew Vagin <avagin@xxxxxxxxxx> ==11097== Conditional jump or move depends on uninitialised value(s) ==11097== at 0x9588: next (hexdump-display.c:355) ==11097== by 0x9767: display (hexdump-display.c:280) ==11097== by 0x9227: main (hexdump.c:198) Signed-off-by: Andrew Vagin <avagin@xxxxxxxxxx> --- text-utils/hexdump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c index e9fca02..1806077 100644 --- a/text-utils/hexdump.c +++ b/text-utils/hexdump.c @@ -169,6 +169,7 @@ int main(int argc, char **argv) struct hexdump *hex = malloc (sizeof (struct hexdump)); hex->length = -1; + hex->skip = 0; INIT_LIST_HEAD(&hex->fshead); setlocale(LC_ALL, ""); -- 1.8.4.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html