[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Confuse-devel] bug in strdup
From: |
Martin Hedenfalk |
Subject: |
Re: [Confuse-devel] bug in strdup |
Date: |
Thu, 3 Jun 2010 06:33:03 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Jun 02, 2010 at 09:16:51PM -0700, Victor Liu wrote:
> In the strdup implementation provided when HAVE_STRDUP is not
> defined, I believe there is a problem when an empty string is passed
> in. The check for *s == 0 makes it not duplicate the string.
fixed, thanks
-martin