]> git.ipfire.org Git - thirdparty/ntp.git/commit
[Bug 2938] ntpq saveconfig command allows dangerous characters in filenames.
authorJuergen Perlinger <perlinger@ntp.org>
Tue, 13 Oct 2015 21:31:28 +0000 (23:31 +0200)
committerJuergen Perlinger <perlinger@ntp.org>
Tue, 13 Oct 2015 21:31:28 +0000 (23:31 +0200)
commit0374d32f61cfd8dcc33ca33d42abc02cccaebc24
tree4e29cb49f9ce277c8cfca3e80937fd3b654204dd
parent0976d9df2bd4de05cbe4932e73fba2ea6c4384c8
[Bug 2938] ntpq saveconfig command allows dangerous characters in filenames.
 - make sure the file does not exist (no overwrite allowed)
 - ensure text mode where applicable (windows)

bk: 561d7830p8KzhIhbAIMI44K_t0l7lQ
ntpd/ntp_control.c