]> git.ipfire.org Git - thirdparty/bind9.git/commit
[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)
commit26ec627c9dd7c2ee7cbab996edeb2c0b6785a07a
tree8c6d841f17894a618a195cff70dd57a81d38d0d4
parent17cfc3d70e1779a8518981d9cf1d382b96fdf0bc
parent51975b54347db4c8662e771b44a967edeabea239
[9.11] fix: dev: Fix buffer overflow in check_zoneconf

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