[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] proposed bugfix for #706
From: |
Christian Kellermann |
Subject: |
Re: [Chicken-hackers] [PATCH] proposed bugfix for #706 |
Date: |
Wed, 28 Sep 2011 22:10:14 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Alan Post <address@hidden> [110928 19:32]:
> I can't see buffer2 being deallocated. Is there a free() missing
> here?
Thanks Alan, I have missed this indeed. As this is only for the
situations where the name of the file exceeds our famous buffer,
this would just have sometimes leaked memory, hence we also only
free it if buffer2 differs from buffer after that part. Does this
make sense?
Also can someone confirm that access is part of the POSIX standard
that windows supports? Mr. Cowan maybe?
Please find the updated patch attached.
Thank you!
Christian
--
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
-- Lao Tse.
0001-Replace-sys-file-info-with-sys-file-exists-in-file-e.patch
Description: Text document
- [Chicken-hackers] [PATCH] proposed bugfix for #706, Christian Kellermann, 2011/09/28
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Felix, 2011/09/28
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Christian Kellermann, 2011/09/29
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Felix, 2011/09/29
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Christian Kellermann, 2011/09/29
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Felix, 2011/09/29
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Christian Kellermann, 2011/09/29
- Re: [Chicken-hackers] [PATCH] proposed bugfix for #706, Alan Post, 2011/09/29