"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/dns/rdata/generic/nsec3param_51.c" between
bind-9.17.4.tar.xz and bind-9.17.5.tar.xz

About: BIND 9.17 implements the Domain Name System (DNS) protocols for the Internet (see the Release Notes). Source code distribution. Unstable development release.

nsec3param_51.c  (bind-9.17.4.tar.xz):nsec3param_51.c  (bind-9.17.5.tar.xz)
skipping to change at line 163 skipping to change at line 163
isc_buffer_activeregion(source, &sr); isc_buffer_activeregion(source, &sr);
rr = sr; rr = sr;
/* hash(1), flags(1), iterations(2), saltlen(1) */ /* hash(1), flags(1), iterations(2), saltlen(1) */
if (sr.length < 5U) { if (sr.length < 5U) {
RETERR(DNS_R_FORMERR); RETERR(DNS_R_FORMERR);
} }
saltlen = sr.base[4]; saltlen = sr.base[4];
isc_region_consume(&sr, 5); isc_region_consume(&sr, 5);
if (sr.length < saltlen) { if (sr.length != saltlen) {
RETERR(DNS_R_FORMERR); RETERR(DNS_R_FORMERR);
} }
isc_region_consume(&sr, saltlen); isc_region_consume(&sr, saltlen);
RETERR(mem_tobuffer(target, rr.base, rr.length)); RETERR(mem_tobuffer(target, rr.base, rr.length));
isc_buffer_forward(source, rr.length); isc_buffer_forward(source, rr.length);
return (ISC_R_SUCCESS); return (ISC_R_SUCCESS);
} }
static inline isc_result_t static inline isc_result_t
towire_nsec3param(ARGS_TOWIRE) { towire_nsec3param(ARGS_TOWIRE) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)