[Bug time/21716] Crash in glibc's mktime in low-memory situations

eggert at cs dot ucla.edu sourceware-bugzilla@sourceware.org
Mon Sep 3 01:14:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=21716

eggert at cs dot ucla.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11224|0                           |1
        is obsolete|                            |

--- Comment #3 from eggert at cs dot ucla.edu ---
Created attachment 11225
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11225&action=edit
patch for tzset low-memory assert bug, and one other thing

(In reply to Johannes from comment #2)
> In my original report, the
> assertion that crashed was "assert (num_types == 1);", which is not handled
> by this patch.

Ah, sorry, I was looking at the wrong assertion (which also has a problem, as
it turns out). Please try the attached patch instead. The first hunk fixes a
non-bug that I discovered while looking into the problem, so I plan to install
these as two different patches, but I figure it's easier if you just see one
patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list