Issue #2811 has been reported by bycn82.
----------------------------------------
Bug #2811: va_arg twice in dntpd
http://bugs.dragonflybsd.org/issues/2811
* Author: bycn82
* Status: Resolved
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
the function vlogline of below file
/usr.sbin/dntpd/log.c
it is possible to print the va into stderr and log into syslog ,below is the
overview of the function.
function vlogline(){
if (log_stderr) {
print va into stderr
}
if(debug_opt == 0){
syslog
}
}
va_arg() will move the ap to next arg. somehow in my development environment,
it dumpped when i trigger it manually,
core file and patch in the attachment.
dev01#dntpd
dntpd: NOTE: killing old daemon and starting a new one
Segmentation fault (core dumped)
dev01#
---Files--------------------------------
dntpd.core (996 KB)
dntpd.patch (1.07 KB)
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://bugs.dragonflybsd.org/my/account