c5db6e691a1d9921fde23e54e8c7a5a579e3d565
When replying to a door call, if allocating the buffer using malloc() fails, we return EAGAIN to the client to avoid it hanging, using a variable on the stack. However in this case the code did not reset the reply length, which would result in it reading past the end of the stack. At the expense of a goto, this patch uses the same path for returning an error as if it was generating by the application. Also, ensure that reply->length is set to zero when returning an error; it shouldn't affect the client as it will not read this in the event of a non-zero return code, but it avoids leaking uninitialized memory.
Heimdal
Heimdal is a Kerberos 5 implementation.
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 or send e-mail to heimdal-bugs@h5l.org.
For more information see the project homepage https://www.h5l.org/ or the mailing lists:
- heimdal-announce@sics.se low-volume announcement
- heimdal-discuss@sics.se high-volume discussion
Send e-mail to heimdal-announce-request@sics.se and heimdal-discuss-request@sics.se respectively to subscribe.
Build Status
Description
Languages
C
92.1%
Roff
2.8%
Shell
2.3%
Makefile
0.7%
M4
0.5%
Other
1.4%