#3671 KCM: Payload buffer is too small
Closed: Fixed 4 years ago Opened 4 years ago by fidencio.

KCM's payload buffer has its size set as 2048, as seen in: https://github.com/SSSD/sssd/blob/master/src/responder/kcm/kcmsrv_cmd.c#L38

The KCM code has the limit set as 2048 only inside #ifdef APPLE, while it should be normally set as 10 * 1024 * 1024, as seen in: https://github.com/krb5/krb5/blob/master/src/lib/krb5/ccache/cc_kcm.c#L53

Last but not least, doesn't make much sense to use a fixed value as the first 4 bytes received are the payload size.


Metadata Update from @fidencio:
- Issue assigned to fidencio

4 years ago

Metadata Update from @fidencio:
- Assignee reset

4 years ago

Metadata Update from @fidencio:
- Issue assigned to fidencio

4 years ago

Metadata Update from @fidencio:
- Issue tagged with: KCM

4 years ago

Metadata Update from @fidencio:
- Custom field patch adjusted to on

4 years ago

Metadata Update from @jhrozek:
- Issue tagged with: PR

4 years ago

Metadata Update from @jhrozek:
- Issue priority set to: major (was: minor)
- Issue set to the milestone: SSSD 1.16.2

4 years ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)
- Issue tagged with: bug

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4690

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata