Skip to content
GitLab
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
6a6838f9
Commit
6a6838f9
authored
Jul 22, 2014
by
Mark Andrews
Browse files
3898. [bug] To small a buffer in tohexstr() calls in test code.
[RT #36598]
parent
ac5ed748
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
6a6838f9
3898. [bug] To small a buffer in tohexstr() calls in test code.
[RT #36598]
3897. [bug] RPZ summary information was not properly being updated
after a AXFR resulting in changes sometimes being
ignored. [RT #35885]
...
...
lib/dns/tests/gost_test.c
View file @
6a6838f9
...
...
@@ -54,7 +54,7 @@
unsigned
char
digest
[
ISC_GOST_DIGESTLENGTH
];
unsigned
char
buffer
[
1024
];
const
char
*
s
;
char
str
[
ISC_GOST_DIGESTLENGTH
];
char
str
[
2
*
ISC_GOST_DIGESTLENGTH
+
1
];
int
i
=
0
;
isc_result_t
...
...
@@ -65,7 +65,7 @@ tohexstr(unsigned char *d, unsigned int len, char *out);
* Postcondition: A String representation of the given hexadecimal number is
* placed into the array *out
*
* 'out' MUST point to an array of at least len
/
2 + 1
* 'out' MUST point to an array of at least len
*
2 + 1
*
* Return values: ISC_R_SUCCESS if the operation is sucessful
*/
...
...
lib/isc/tests/hash_test.c
View file @
6a6838f9
...
...
@@ -40,7 +40,7 @@
unsigned
char
digest
[
ISC_SHA512_DIGESTLENGTH
];
unsigned
char
buffer
[
1024
];
const
char
*
s
;
char
str
[
ISC_SHA512_DIGESTLENGTH
];
char
str
[
2
*
ISC_SHA512_DIGESTLENGTH
+
1
];
unsigned
char
key
[
20
];
int
i
=
0
;
...
...
@@ -52,7 +52,7 @@ tohexstr(unsigned char *d, unsigned int len, char *out);
* Postcondition: A String representation of the given hexadecimal number is
* placed into the array *out
*
* 'out' MUST point to an array of at least len
/
2 + 1
* 'out' MUST point to an array of at least len
*
2 + 1
*
* Return values: ISC_R_SUCCESS if the operation is sucessful
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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