]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.11] fix: dev: Fix buffer overflow in check_zoneconf
authorMatthijs Mekking <matthijs@isc.org>
Thu, 2 Apr 2026 08:49:08 +0000 (08:49 +0000)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 2 Apr 2026 08:49:08 +0000 (08:49 +0000)
The following line caused a buffer overflow due to `tmp` and `len` having the wrong values:
```
                (void)snprintf(tmp, len, "%u/%s", zclass,
                               (ztype == CFG_ZONE_INVIEW) ? target :
                                (viewname != NULL) ? viewname : "_default");
```

Merge branch 'matthijs-fix-buffer-overflow' into 'bind-9.11'

See merge request isc-projects/bind9!11789


Trivial merge