Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 01:10:19 +0200 (MET DST)
From:      Jean-Marc Zucconi <jmz@FreeBSD.ORG>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   interesting bug in /usr/bin/cmp
Message-ID:  <199907282310.BAA20526@qix.jmz.org>

next in thread | raw e-mail | index | archive | help
If someone is interested to solve a problem:

$ dd if=/dev/zero bs=8848 count=1 of=a 2>/dev/null
$ cp a b
$ cmp a b 0 0x300
Segmentation fault (core dumped)
$ cmp a b 0 0x200
cmp: EOF on b
$ cmp a b 0x300 0
cmp: EOF on a

Jean-Marc

-- 
 Jean-Marc Zucconi                    PGP Key: finger jmz@FreeBSD.ORG


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907282310.BAA20526>