diff options
author | is <is> | 2010-11-17 22:24:40 +0000 |
---|---|---|
committer | is <is> | 2010-11-17 22:24:40 +0000 |
commit | 7b8861b3de1017b1ad942f222cd16bb5ac8290b2 (patch) | |
tree | 9ac533ceeeb003445b07d2601f63b3806ade3d69 /net/clive/Makefile | |
parent | 75dfa3d8b754400c1d77459f16ec0c5d8ae5361d (diff) | |
download | pkgsrc-7b8861b3de1017b1ad942f222cd16bb5ac8290b2.tar.gz |
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.
Diffstat (limited to 'net/clive/Makefile')
0 files changed, 0 insertions, 0 deletions