]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Limit write requests to at most INT_MAX.
authorTim Kientzle <kientzle@acm.org>
Sat, 23 Mar 2013 06:48:41 +0000 (23:48 -0700)
committerTim Kientzle <kientzle@acm.org>
Sat, 23 Mar 2013 06:48:41 +0000 (23:48 -0700)
commit22531545514043e04633e1c015c7540b9de9dbe4
treef901fb16ecde3369faa8dffafd8847ae89e7e888
parentd767d7904781794442938df6b0dd29c8da325e03
Limit write requests to at most INT_MAX.
This prevents a certain common programming error (passing -1 to write)
from leading to other problems deeper in the library.
libarchive/archive_write.c