Bug#409517: dvipdfm segfault related to /etc/localtime
severity 409517 important
thanks
(if this bug affects all 64bit arches, it really deserves severity
important)
Martin Michlmayr <tbm@cyrius.com> wrote:
> * Mark A. Wicks <mwicks@kettering.edu> [2007-02-12 18:37]:
>
>> >Although now I'm confused. How can this string be 36 characters
>> when >the length of the date_string array is 25?
>>
>> That's why it was crashing. The printf was writing 36 characters
>> which overran the 25 byte buffer.
>
> Yeah, but that doesn't explain why it didn't segfault when I changed
> it to 26 bytes.
Could it be that the behavior of abs when fed with a long int is just
"undefined", so that it is "allowed" to segfault, but also not to?
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: