]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r310367:
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Dec 2016 16:43:39 +0000 (16:43 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 26 Dec 2016 16:43:39 +0000 (16:43 +0000)
commitb6e895167a40a852caf21d4de1219bb88d78dff1
tree8f1276e44568beec684b09932aa66ef9a9d2a916
parentaf8319ea87f845d7330910f779f01e0a9332f18b
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/10@310606 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/pax/buf_subs.c