mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-21 07:10:43 -05:00
- Fix sldns int16_data parse.
git-svn-id: file:///svn/unbound/trunk@4143 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
4770bfbb5b
commit
7e8d548d24
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
2 May 2017: Wouter
|
2 May 2017: Wouter
|
||||||
- Added test for leak of stub information.
|
- Added test for leak of stub information.
|
||||||
- Fix sldns wire2str printout of RR type CAA tags.
|
- Fix sldns wire2str printout of RR type CAA tags.
|
||||||
|
- Fix sldns int16_data parse.
|
||||||
|
|
||||||
1 May 2017: Wouter
|
1 May 2017: Wouter
|
||||||
- Fix #1259: "--disable-ecdsa" argument overwritten
|
- Fix #1259: "--disable-ecdsa" argument overwritten
|
||||||
|
|
|
||||||
|
|
@ -2018,6 +2018,6 @@ int sldns_str2wire_int16_data_buf(const char* str, uint8_t* rd, size_t* len)
|
||||||
if(n < 0)
|
if(n < 0)
|
||||||
return LDNS_WIREPARSE_ERR_SYNTAX_B64;
|
return LDNS_WIREPARSE_ERR_SYNTAX_B64;
|
||||||
sldns_write_uint16(rd, (uint16_t)n);
|
sldns_write_uint16(rd, (uint16_t)n);
|
||||||
*len = (size_t)n;
|
*len = ((size_t)n)+2;
|
||||||
return LDNS_WIREPARSE_ERR_OK;
|
return LDNS_WIREPARSE_ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue