Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
79dd970a
Commit
79dd970a
authored
Aug 09, 2019
by
Mark Andrews
Browse files
don't escape commas when saving named's command line
(cherry picked from commit
70dd93bf
)
parent
5ea8a0c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/named/main.c
View file @
79dd970a
...
...
@@ -356,7 +356,7 @@ save_command_line(int argc, char *argv[]) {
* nearly always be fine.
*/
if
(
quoted
||
isalnum
(
*
src
&
0xff
)
||
*
src
==
'-'
||
*
src
==
'_'
||
*
src
==
','
||
*
src
==
'-'
||
*
src
==
'_'
||
*
src
==
'.'
||
*
src
==
'/'
)
{
*
dst
++
=
*
src
++
;
quoted
=
false
;
...
...
bin/tests/system/resolver/tests.sh
View file @
79dd970a
...
...
@@ -779,5 +779,12 @@ grep "1\.2\.3\.4" dig.ns5.out.${n} > /dev/null && ret=1
if
[
$ret
!=
0
]
;
then
echo_i
"failed"
;
fi
status
=
`
expr
$status
+
$ret
`
n
=
`
expr
$n
+ 1
`
echo_i
"check logged command line (
$n
)"
ret
=
0
grep
"running as: .* -m record,size,mctx "
ns1/named.run
>
/dev/null
||
ret
=
1
if
[
$ret
!=
0
]
;
then
echo_i
"failed"
;
fi
status
=
`
expr
$status
+
$ret
`
echo_i
"exit status:
$status
"
[
$status
-eq
0
]
||
exit
1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment