Re: [hackers] [sbase][PATCH] od: fix for -t option

From: noneofyourbusiness <noneofyourbusiness_AT_danwin1210.de>
Date: Tue, 30 Sep 2025 19:47:51 +0200

Hiltjo Posthuma <hiltjo_AT_codemadness.org> wrote:
> Even if trivial: can you describe what it fixes and maybe some simple command
> or test-case?

the for statement already increments the pointer - this increments it out of bounds, leading to default: usage()

test-case:
od -t x
Received on Tue Sep 30 2025 - 19:47:51 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 30 2025 - 19:48:53 CEST