#3671 KCM: Payload buffer is too small
Closed: Fixed a year ago Opened a year 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

a year ago

Metadata Update from @fidencio:
- Assignee reset

a year ago

Metadata Update from @fidencio:
- Issue assigned to fidencio

a year ago

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

a year ago

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

a year ago

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

a year ago

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

a year ago

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

a year ago

Login to comment on this ticket.

Metadata