pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/mpack
Module Name: pkgsrc
Committed By: is
Date: Wed Nov 17 22:24:41 UTC 2010
Modified Files:
pkgsrc/converters/mpack: Makefile distinfo
Added Files:
pkgsrc/converters/mpack/patches: patch-ag
Log Message:
Fix decoding of message/partial. Explanation:
mpack-1.6 introduced more security on Unix-like systems by creating
and using a helper function, os_createnewfile, that uses O_CREAT|O_EXCL.
Unfortunately, it also uses it to write the total number of parts
temporary file, which fails if more than one part contains the
total number (as mpack creates them!)
The new code compares old and new totals, if both exist, and only
writes the new total, if the old didn't exist. Problem solved and
one sanity check more at the same time.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/converters/mpack/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/converters/mpack/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/mpack/patches/patch-ag
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index