[ntp:security] [Bug 527] ntpd frequently crashes on Windows systems

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Wed Nov 23 10:08:25 PST 2005


Additional Comments From martin.burnicki at meinberg.de (Martin Burnicki)
Submitted on 2005-11-23 18:08

On my main Windows test system I run W2k SP4 and VC6 SP5.

Now I've recompiled the latest BK ntp-dev code on another machine with WXP SP2
and VS.NET v

The release version of ntpd on that system also dies immediately. If I run the
debug version run from within the GUI then it runs for a time, e.g. 10 minutes
before the the debugger pops up an alert message saying:

Runtime check failure #2. Stack around the variable "tv" was corrupted.

The debugger then points me to the end of get_systime(), right after dtemp has
been written to the now-> pointer, see below:

  } else if (dtemp < 0) {
    dtemp += 1;
  dtemp *= FRAC;
  now->l_uf = (u_int32)dtemp;

Unfortunately there's no valuable stack trace.

If you like you can send me the code you've modified.


Martin Burnicki <martin.burnicki at meinberg.de>

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the security mailing list