madsen / vbindiff

Visual Binary Diff (VBinDiff) displays files in hex & ASCII and can highlight the differences between 2 files
491 stars 52 forks source link

file sizes of power of two crash vbindiff #8

Open reald opened 9 years ago

reald commented 9 years ago

To reproduce: $ dd if=/dev/urandom of=rand1024 bs=1 count=1024 $ dd if=/dev/urandom of=rand1025 bs=1 count=1025 $ dd if=/dev/urandom of=rand1026 bs=1 count=1026

$ vbindiff rand1025 rand1026

Scroll to end of file -> OK

$ vbindiff rand1024 rand1026

Scroll to end of file -> Crash

File sizes of 2048 and 4096 bytes crash, too.

Tested with

VBinDiff 3.0_beta4 Copyright 1995-2008 Christopher J. Madsen

and

VBinDiff 3.0_beta5 Copyright 1995-2008 Christopher J. Madsen