-* [Bug 3806] libntp/mstolfp.c needs bounds checking <perlinger@ntp.org>
- - solved numerically instead of using string manipulation
---
* [Sec 3807] praecis_parse() in the Palisade refclock driver has a
hypothetical input buffer overflow. Reported by ... stenn@
+* [Sec 3806] libntp/mstolfp.c needs bounds checking <perlinger@ntp.org>
+ - solved numerically instead of using string manipulation
* [Bug 3802] ntp-keygen -I default identity modulus bits too small for
OpenSSL 3. Reported by rmsh1216@163.com <hart@ntp.org>
* [Bug 3801] gpsdjson refclock gps_open() device name mishandled. <hart@ntp.org>
Integrated patch from Brian Utterback. <hart@ntp.org>
* [Bug 2525] Turn on automake subdir-objects across the project. <hart@ntp.org>
* [Bug 2410] syslog an error message on panic exceeded. <brian.utterback@oracle.com>
-* Use recv_buffer instead of the longer recv_space.X_recv_buffer.
+* Only define tv_fmt_libbuf() if we will use it. <stenn@ntp.org>
+* Use recv_buffer instead of the longer recv_space.X_recv_buffer. hart/stenn
* Disable "embedded NUL in string" warnings in libopts, when we can. <stenn@>
* Use https in the AC_INIT URLs in configure.ac. <stenn@ntp.org>
* Implement NTP_FUNC_REALPATH. <stenn@ntp.org>
++str;
switch (ch) {
- case '-': neg = TRUE;
- case '+': ++str;
- default : break;
+ case '-': neg = TRUE;
+ case '+': ++str;
+ default : break;
}
if (!isdigit(ch = *(const unsigned char*)str) && (ch != '.'))
* messy to fix in the unit tests. So we stay with the slightly
* suboptimal calculation...)
*/
+ /* round */
if (r >= 500)
L_ADDUF(lfp, 1u);
/* fix sign */