+* [Bug 2630] Limit the ntpq command buffer to 512 bytes.
* FlexeLint cleanups.
(4.2.7p458) 2014/08/11 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 2633] Provide stdnoreturn.h for windows port.
#
# EDIT THIS FILE WITH CAUTION (invoke-ntpq.texi)
#
-# It has been AutoGen-ed
+# It has been AutoGen-ed August 12, 2014 at 12:01:59 AM by AutoGen 5.18.4pre14
# From the definitions ntpq-opts.def
# and the template file agtexi-cmd.tpl
@end ignore
-6 no ipv6 Force IPv6 DNS name resolution
- prohibits the option 'ipv4'
-c Str command run a command and exit
- - may appear multiple times
+ - may appear up to 512 times
-d no debug-level Increase debug verbosity level
- may appear multiple times
-D Num set-debug-level Set the debug verbosity level
This option has some usage constraints. It:
@itemize @bullet
@item
-may appear an unlimited number of times.
+may appear up to 512 times.
@end itemize
The following argument is interpreted as an interactive format command
{ /* entry idx, value */ 2, VALUE_OPT_COMMAND,
/* equiv idx, value */ 2, VALUE_OPT_COMMAND,
/* equivalenced to */ NO_EQUIVALENT,
- /* min, max, act ct */ 0, NOLIMIT, 0,
+ /* min, max, act ct */ 0, 512, 0,
/* opt state flags */ COMMAND_FLAGS, 0,
/* last opt argumnt */ { NULL }, /* --command */
/* arg list/cookie */ NULL,
value = c;
arg-type = string;
descrip = "run a command and exit";
- max = NOLIMIT;
+ max = 512;
arg-name = cmd;
call-proc = ntpq_custom_opt_handler;
doc = <<- _EndOfDoc_
.ds B-Font B
.ds I-Font I
.ds R-Font R
-.TH ntpq 1ntpqman "11 Aug 2014" "4.2.7p458" "User Commands"
+.TH ntpq 1ntpqman "12 Aug 2014" "4.2.7p458" "User Commands"
.\"
-.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-KLaq8Y/ag-WLaq7Y)
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-eqaqdV/ag-qqaqcV)
.\"
.\" It has been AutoGen-ed
.\" From the definitions ntpq-opts.def
.TP
.NOP \f\*[B-Font]\-c\f[] \f\*[I-Font]cmd\f[], \f\*[B-Font]\-\-command\f[]=\f\*[I-Font]cmd\f[]
run a command and exit.
-This option may appear an unlimited number of times.
+This option may appear up to 512 times.
.sp
The following argument is interpreted as an interactive format command
and is added to the list of commands to be executed on the specified
The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
-.TH ntpq 1ntpqman "11 Aug 2014" "4.2.7p458" "User Commands"
+.TH ntpq 1ntpqman "12 Aug 2014" "4.2.7p458" "User Commands"
.\"
-.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-KLaq8Y/ag-WLaq7Y)
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-eqaqdV/ag-qqaqcV)
.\"
.\" It has been AutoGen-ed
.\" From the definitions ntpq-opts.def
-.Dd August 11 2014
+.Dd August 12 2014
.Dt NTPQ 1ntpqmdoc User Commands
.Os
.\" EDIT THIS FILE WITH CAUTION (ntpq-opts.mdoc)
to the IPv6 namespace.
.It Fl c Ar cmd , Fl \-command Ns = Ns Ar cmd
run a command and exit.
-This option may appear an unlimited number of times.
+This option may appear up to 512 times.
.sp
The following argument is interpreted as an interactive format command
and is added to the list of commands to be executed on the specified
.ds B-Font B
.ds I-Font I
.ds R-Font R
-.TH ntpq @NTPQ_MS@ "11 Aug 2014" "4.2.7p458" "User Commands"
+.TH ntpq @NTPQ_MS@ "12 Aug 2014" "4.2.7p458" "User Commands"
.\"
-.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-KLaq8Y/ag-WLaq7Y)
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-eqaqdV/ag-qqaqcV)
.\"
.\" It has been AutoGen-ed
.\" From the definitions ntpq-opts.def
.TP
.NOP \f\*[B-Font]\-c\f[] \f\*[I-Font]cmd\f[], \f\*[B-Font]\-\-command\f[]=\f\*[I-Font]cmd\f[]
run a command and exit.
-This option may appear an unlimited number of times.
+This option may appear up to 512 times.
.sp
The following argument is interpreted as an interactive format command
and is added to the list of commands to be executed on the specified
The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
-.TH ntpq @NTPQ_MS@ "11 Aug 2014" "4.2.7p458" "User Commands"
+.TH ntpq @NTPQ_MS@ "12 Aug 2014" "4.2.7p458" "User Commands"
.\"
-.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-KLaq8Y/ag-WLaq7Y)
+.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-eqaqdV/ag-qqaqcV)
.\"
.\" It has been AutoGen-ed
.\" From the definitions ntpq-opts.def
-.Dd August 11 2014
+.Dd August 12 2014
.Dt NTPQ @NTPQ_MS@ User Commands
.Os
.\" EDIT THIS FILE WITH CAUTION (ntpq-opts.mdoc)
to the IPv6 namespace.
.It Fl c Ar cmd , Fl \-command Ns = Ns Ar cmd
run a command and exit.
-This option may appear an unlimited number of times.
+This option may appear up to 512 times.
.sp
The following argument is interpreted as an interactive format command
and is added to the list of commands to be executed on the specified