-
Bug
-
Resolution: Done
-
Minor
-
rhel-9.4
-
None
-
Minor
-
sst_idm_sssd
-
ssg_idm
-
False
-
-
-
Unspecified
```
Error: BUFFER_SIZE (CWE-170):
c-ares-1.19.1/src/lib/inet_net_pton.c:328: buffer_size_warning: Calling ""strncpy"" with a maximum size argument of 51 bytes on destination array ""buf"" of size 51 bytes might leave the destination string unterminated.
- 326| return (-1);
- 327| }
- 328|-> strncpy(buf, src, sizeof buf);
- 329|
- 330| sep = strchr(buf, '/');
```- fixed via https://github.com/c-ares/c-ares/commit/b2437de6174db827a12fe175e0092833bcfd5a2f starting c-ares-1.21