diff options
Diffstat (limited to 'sldns/wire2str.c')
| -rw-r--r-- | sldns/wire2str.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/sldns/wire2str.c b/sldns/wire2str.c index cec3bc7b08da..5cbd78eedb29 100644 --- a/sldns/wire2str.c +++ b/sldns/wire2str.c @@ -697,6 +697,9 @@ int sldns_wire2str_rdata_scan(uint8_t** d, size_t* dlen, char** s,  		}  		w += n;  	} +	if(*dlen != 0) { +		goto failed; +	}  	return w;  } | 
