|
From: | Jesper Fehrlund |
Subject: | Re: [bug-gettext] xgettext segmentation fault javascript |
Date: | Tue, 28 Oct 2014 11:45:49 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 28/10/14 08:43, Daiki Ueno wrote:
I'm no c expert by any means, but does this not run xstrdup on a dangling pointer? (since best_cp->msgid and best_cp->msgid_plural points to the same address which has been released in remember_a_message)Daiki Ueno <address@hidden> writes:I really do like the ability to change this via --keyword since it lets us avoid having to write the key twice.That sounds like a reasonable use-case.Here is a tentative patch (against the git master, you will need the two previous commits to apply it cleanly). Regards, -- Daiki Ueno
(sorry about the extra mail Daiko, used reply by accident) Best regards, -- Jesper Fehrlund
[Prev in Thread] | Current Thread | [Next in Thread] |