* are not their own functions. */
/* printout designation:
- * conversion specifier: x, d, u, s, c, n, m, p
+ * conversion specifier: x, d, u, s, c, m, p
* flags: # not supported
* 0 zeropad (on the left)
* - left adjust (right by default)
minw, minus);
break;
case 'n':
- *va_arg(arg, int*) = ret;
+ /* unsupported to harden against format string
+ * exploitation,
+ * handled like an unknown format specifier. */
+ /* *va_arg(arg, int*) = ret; */
break;
case 'm':
print_str(&at, &left, &ret, strerror(errno),
- Fix Hang in sldns_wire2str_pkt_scan(),
reported by X41 D-Sec.
This further lowers the max to 256.
+ - Fix snprintf() supports the n-specifier,
+ reported by X41 D-Sec.
2 December 2019: Wouter
- Merge pull request #122 from he32: In tcp_callback_writer(),