Re: [PATCH] Segmentation fault when hftp used
"Alexander V. Lukyanov" <[email protected]> Fri, 6 Aug 2010 11:54:11 +0400
| Newsgroups | gmane.network.lftp.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 01, 2010 at 05:03:28PM +0200, Jiri Skala wrote: > I've got bug `segmentation fault` incl. backtrace. I was not able to > reproduce it bug the backtrace pointed to crash in sprintf() (see patch > below). I suggest value of entity_date corruption. > > The patch below fixes the issue (verified by bug reporter). Oh, now I > see "entity_date!=NO_DATE &&" could be omitted. This patch is not quite correct, as it makes lftp send localized timestamp. The timestamp should not be localized (i.e. month name must be in english). -- Alexander.