Skip to content

Commit

Permalink
krb5_child: Increase child buffer and chunk size
Browse files Browse the repository at this point in the history
Port
9869e48
to sssd-2-8

Passkey data can be larger than 512 bytes.

Received passkey data from krb5 with multiple credentials
exceeds 256 bytes.

Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
  • Loading branch information
justin-stephenson authored and ikerexxe committed Feb 16, 2024
1 parent aa8d673 commit 5e3e7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/child_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

#include "util/util.h"

#define IN_BUF_SIZE 512
#define CHILD_MSG_CHUNK 256
#define IN_BUF_SIZE 2048
#define CHILD_MSG_CHUNK 1024

#define SIGTERM_TO_SIGKILL_TIME 2

Expand Down

0 comments on commit 5e3e7d3

Please sign in to comment.