Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
da7f683a
Commit
da7f683a
authored
Apr 18, 2019
by
Mark Andrews
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using 0 instead of false
parent
e47754d7
Pipeline
#13701
passed with stages
in 17 minutes and 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
lib/dns/message.c
lib/dns/message.c
+1
-1
lib/dns/tests/name_test.c
lib/dns/tests/name_test.c
+4
-4
No files found.
lib/dns/message.c
View file @
da7f683a
...
...
@@ -901,7 +901,7 @@ getname(dns_name_t *name, isc_buffer_t *source, dns_message_t *msg,
*/
tries
=
0
;
while
(
tries
<
2
)
{
result
=
dns_name_fromwire
(
name
,
source
,
dctx
,
false
,
result
=
dns_name_fromwire
(
name
,
source
,
dctx
,
0
,
scratch
);
if
(
result
==
ISC_R_NOSPACE
)
{
...
...
lib/dns/tests/name_test.c
View file @
da7f683a
...
...
@@ -166,13 +166,13 @@ compress_test(dns_name_t *name1, dns_name_t *name2, dns_name_t *name3,
isc_buffer_setactive
(
&
source
,
source
.
used
);
dns_name_init
(
&
name
,
NULL
);
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
false
,
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
0
,
&
target
)
==
ISC_R_SUCCESS
);
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
false
,
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
0
,
&
target
)
==
ISC_R_SUCCESS
);
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
false
,
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
0
,
&
target
)
==
ISC_R_SUCCESS
);
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
false
,
RUNTIME_CHECK
(
dns_name_fromwire
(
&
name
,
&
source
,
dctx
,
0
,
&
target
)
==
ISC_R_SUCCESS
);
dns_decompress_invalidate
(
dctx
);
...
...
Mark Andrews
@marka
mentioned in commit
d5d4ddd7
·
Apr 23, 2019
mentioned in commit
d5d4ddd7
mentioned in commit d5d4ddd764c68ccf4aa242e7fcd73e5d76d01460
Toggle commit list
Mark Andrews
@marka
mentioned in commit
ac77f8df
·
Apr 23, 2019
mentioned in commit
ac77f8df
mentioned in commit ac77f8df02531d4349a73c1bd312a51b484c1e0d
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