mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix gcc 8 buffer warning in testcode.
git-svn-id: file:///svn/unbound/trunk@4675 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
d2c8bcf318
commit
581f975b38
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
3 May 2018: Wouter
|
3 May 2018: Wouter
|
||||||
- Fix that configure --with-libhiredis also turns on cachedb.
|
- Fix that configure --with-libhiredis also turns on cachedb.
|
||||||
|
- Fix gcc 8 buffer warning in testcode.
|
||||||
|
|
||||||
2 May 2018: Wouter
|
2 May 2018: Wouter
|
||||||
- Fix fail to reject dead peers in forward-zone, with ssl-upstream.
|
- Fix fail to reject dead peers in forward-zone, with ssl-upstream.
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,8 @@ spool_temp_file(FILE* in, int* lineno, char* id)
|
||||||
while(isspace((unsigned char)*parse))
|
while(isspace((unsigned char)*parse))
|
||||||
parse++;
|
parse++;
|
||||||
if(strncmp(parse, "$INCLUDE_TEMPFILE", 17) == 0) {
|
if(strncmp(parse, "$INCLUDE_TEMPFILE", 17) == 0) {
|
||||||
char l2[MAX_LINE_LEN];
|
char l2[MAX_LINE_LEN-30]; /* -30 makes it fit with
|
||||||
|
a preceding $INCLUDE in the buf line[] */
|
||||||
char* tid = parse+17;
|
char* tid = parse+17;
|
||||||
while(isspace((unsigned char)*tid))
|
while(isspace((unsigned char)*tid))
|
||||||
tid++;
|
tid++;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue