]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r310367:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Dec 2016 16:45:00 +0000 (16:45 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Dec 2016 16:45:00 +0000 (16:45 +0000)
commit73241eccd3602ba04cb99e0189675151b81dde3a
tree2e5efd1e762516d6d41725337fcb0d169e58dc8f
parent18b536d342b493e805b22fd066ec67cf6a6c8b7e
MFC r310367:
pax(1): Fix a bug with archives smaller than 512 bytes.

The problem here is that the archive is too short (< 512 bytes). The
buffer routines, try to read at least 512 bytes, even when we try to
determine what format file we have, which is wrong.

Obtained from: NetBSD (CVS rev 1.26)

git-svn-id: svn://svn.freebsd.org/base/stable/9@310607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/pax/buf_subs.c