5b90bc828521f637513fd4e3f2ba2a7607a46f71
In case len < (size_t)(*stringp - save) and len > 0 access to buf[l] leads to out-of-bounds write as l = len and len means the length of buffer. Change evaluation of l: only len - 1 elements of buffer can be used for memcpy and terminator should be written to buf[len - 1] (in case l = len - 1). Also, this value of l is not used when len == 0, so we calculate it only when len > 0. Pair-Programmed-With: Dmitry Mikhalchenko <tascad@altlinux.org> Signed-off-by: Daniil Sarafannikov <sarafannikovda@sgu.ru>
Heimdal
Heimdal is an implementation of:
- ASN.1/DER,
- PKIX, and
- Kerberos.
For information how to install see here.
There are man pages for most of the commands.
Bug reports and bugs are appreciated. Use GitHub issues.
For more information see the project homepage https://heimdal.software/heimdal/ or the mailing lists:
heimdal-announce@heimdal.software low-volume announcement heimdal-discuss@heimdal.software high-volume discussion
send mail to heimdal-announce-subscribe@heimdal.software and heimdal-discuss-subscribe@heimdal.software respectively to subscribe.
Build Status
Description
Languages
C
91.9%
Shell
2.9%
Roff
2.8%
Makefile
0.6%
M4
0.6%
Other
1.1%