Skip to content
GitLab
Menu
Projects
Groups
Snippets
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
4c3be616
Commit
4c3be616
authored
Jun 16, 2016
by
Mark Andrews
Browse files
Revert "4384. [bug] isc_buffer_reallocate returns wrong result when passed"
This reverts commit
01a0206c
.
parent
01a0206c
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
4c3be616
4384. [bug] isc_buffer_reallocate returns wrong result when passed
a smaller length than what is already allocated.
[RT #42612]
4383. [bug] Correct spelling error in stats channel description of
"EDNS client subnet option received". [RT #42633]
...
...
lib/isc/buffer.c
View file @
4c3be616
...
...
@@ -523,7 +523,7 @@ isc_buffer_reallocate(isc_buffer_t **dynbuffer, unsigned int length) {
REQUIRE
((
*
dynbuffer
)
->
mctx
!=
NULL
);
if
((
*
dynbuffer
)
->
length
>
length
)
return
(
ISC_R_
SUCCESS
);
return
(
ISC_R_
NOSPACE
);
/*
* XXXMUKS: This is far more expensive than plain realloc() as
...
...
Write
Preview
Supports
Markdown
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