OoO Lors de la soirée naissante du vendredi 18 février 2011, vers 17:09,
Tom Olexa <ole...@post.cz> disait :

> A big leak when cache=no is used (ftpfs-ls.c used cache anyway for
> file attributes, but the cache was never freed).
> This leak exhausted system memory e.g. after doing copy and stat()
> several hundred files one by one.
> We used cache=no,attr_timeout=0 to completely disable caching - we
> needed to check file size after it was uploaded.

> The patch can be downloaded at http://www.oec.sk/patches
> Apply the patch against debian package curlftpfs-0.9.2-3. For smooth
> patching, apply this patch as the last one.
> The symptoms were first detected on amd64 squeeze, with
> curlftpfs-0.9.2-3.

Hi!

I  have  applied   the  patch  with  a  slight   modification  to  avoid
duplication.  The  declaration of  "struct  cache"  only  keeps what  is
important:

struct cache {
    int on;
    char incomplete[];
};

extern struct cache cache;
-- 
I WILL NOT SELL MIRACLE CURES
I WILL NOT SELL MIRACLE CURES
I WILL NOT SELL MIRACLE CURES
-+- Bart Simpson on chalkboard in episode 9F16

Attachment: pgp4Zv8382Yad.pgp
Description: PGP signature

Reply via email to