octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51351] mktime() crashes on Windows


From: Rik
Subject: [Octave-bug-tracker] [bug #51351] mktime() crashes on Windows
Date: Fri, 30 Jun 2017 17:38:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #1, bug #51351 (project octave):

Checking Octave's Mercurial repository, updates to gnulib occurred in May,
2017 and Dec, 2016.


changeset:   23539:9578bbaf2bbd
user:        John W. Eaton <address@hidden>
date:        Tue May 30 12:38:27 2017 -0400
summary:     maint: Update gnulib subrepo to latest changes.

changeset:   22889:2ffc87d7d9a4
parent:      22886:5ede69715ebe
user:        John W. Eaton <address@hidden>
date:        Tue Dec 13 15:03:21 2016 -0500
summary:     maint: Update gnulib subrepo to latest changes.


gnulib's git repository shows the following changes to the mktime module in
that period
(http://git.savannah.gnu.org/gitweb/?p=gnulib.git&a=search&h=HEAD&st=commit&s=mktime).


2017-05-09      Bruno Haible    tzset: Expand comment about TZ problem on native
Windows.
* lib/mktime.c (mktime): Likewise.

2017-05-05      Bruno Haible    time-c++-tests: Update.
(tzalloc, tzfree, localtime_rz, mktime_z): Declare, missing since

2017-05-02      Paul Eggert     tzset: update doc for TZ problems on MS-Windows
...localtime.texi, doc/posix-functions/mktime.texi:

2017-05-01      Bruno Haible    mktime: Fix dependencies.
mktime: Fix dependencies.
* modules/mktime (Depends-on): Add 'time'.

2017-04-30      Bruno Haible    mktime: Work around TZ problem on native 
Windows.
mktime: Work around TZ problem on native...
* lib/mktime.c: Add #ifs to make the algorithmic...
* m4/mktime.m4 (gl_FUNC_MKTIME_WORKS): New...
gl_FUNC_MKTIME. If guessing, set gl_cv_func_working_mk...
(gl_FUNC_MKTIME): Require it. Require AC_CANONICAL_HOST.
Set REPLACE_MKTIME to 1 on native Windows. Define...
NEED_MKTIME_WINDOWS.
(gl_FUNC_MKTIME_INTERNAL): Require gl_FUNC_MKTIME_WORKS...
gl_FUNC_MKTIME. Set WANT_MKTIME_INTERNAL, not...
NEED_MKTIME_INTERNAL.
...gl_FUNC_TIMEGM): Require gl_FUNC_MKTIME_WORKS, not
gl_FUNC_MKTIME. Cope with 'guessing yes' value.
* modules/mktime-internal (configure.ac): Test...
not REPLACE_MKTIME.
* doc/posix-functions/mktime.texi: Mention the native Windows

2017-04-30      Bruno Haible    Document the problem with the Cygwin environment
variable TZ.
* doc/posix-functions/mktime.texi: Likewise.

2017-04-27      Pádraig Brady   time_rz: fix heap buffer overflow vulnerability
localtime_rz and mktime_z were affected since commit 4bc76593.

2017-04-22      Paul Eggert     parse-datetime: fix %z and prefer signed int
(parse_datetime2): Simplify call to debug_mktime_not_ok.

2017-01-21      Paul Eggert     parse-datetime: handle timezones reentrantly
(mktime_ok, get_effective_timezone):

2017-01-05      Assaf Gordon    parse-datetime: add debug warning about DST 
changes
where 'mktime' returns a different isdst value.

2017-01-05      Assaf Gordon    parse-datetime: add debug warning about date
arithmetic
...invalid dates. Normalization with 'mktime(3)'


This looks like an upstream bug.  Can you make a test case in C which
reproduces the problem?  It is probably necessary to report the bug on their
mailing lint.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51351>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]