]> arthur.barton.de Git - netatalk.git/commit
Fix a bug where Mac OS X ZIP archives can't be extracted on Netatalk shares
authorFrank Lahm <franklahm@googlemail.com>
Tue, 9 Oct 2012 16:23:57 +0000 (18:23 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 11 Oct 2012 12:19:54 +0000 (14:19 +0200)
commit23e45f681099477f57a58740016ed666e8c4d284
treecb49458981930ed05ecbbe69a71d774964f26b24
parent2eedbc8172785b9cc29af552ed1ca8627309f963
Fix a bug where Mac OS X ZIP archives can't be extracted on Netatalk shares

Mac OS X ZIP archives may contain split AppleDouble forks named "._XXX".
The client needs to be able to fully access these files but we currently
prevent access to any valid AppleDouble file whose name starts with "._".
In order to distinguish our own ._ files from the one created by OS X,
we look at the filler bytes: luckily OS X stores a string "Mac OS X" there
which can be used to detect them.
libatalk/adouble/ad_flush.c
libatalk/adouble/ad_open.c