2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

ensure proper range for argument to ctype functions

This commit is contained in:
David Lawrence
2000-05-09 22:22:25 +00:00
parent f855bad4a1
commit 47b26abe77
16 changed files with 535 additions and 521 deletions

View File

@@ -109,6 +109,9 @@ dns_ttl_totext(isc_uint32_t src, isc_boolean_t verbose, isc_buffer_t *target) {
/*
* The unit letter is the last character in the
* used region of the buffer.
*
* toupper() does not need its argument to be masked of cast
* here because region.base is type unsigned char *.
*/
isc_buffer_usedregion(target, &region);
region.base[region.length - 1] =