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
70dd93bf
Commit
70dd93bf
authored
Aug 09, 2019
by
Mark Andrews
Browse files
don't escape commas when saving named's command line
parent
3b8a5226
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/named/main.c
View file @
70dd93bf
...
...
@@ -352,7 +352,7 @@ save_command_line(int argc, char *argv[]) {
*
dst
++
=
' '
;
while
(
*
src
!=
'\0'
&&
dst
<
eob
)
{
if
(
isalnum
(
*
src
)
||
if
(
isalnum
(
*
src
)
||
*
src
==
','
||
*
src
==
'-'
||
*
src
==
'_'
||
*
src
==
'.'
||
*
src
==
'/'
)
{
...
...
bin/tests/system/resolver/tests.sh
View file @
70dd93bf
...
...
@@ -795,5 +795,12 @@ grep "status: SERVFAIL" 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
Mark Andrews
@marka
mentioned in commit
ed92040d
·
Aug 30, 2019
mentioned in commit
ed92040d
mentioned in commit ed92040d7a614d412320c6af8a0d509917db1022
Toggle commit list
Mark Andrews
@marka
mentioned in commit
79dd970a
·
Aug 30, 2019
mentioned in commit
79dd970a
mentioned in commit 79dd970a7304e628a1ebb211c1e34905fefcc99b
Toggle commit list
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