mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Raise AGENT_MAX_MSGLEN to 256Kb.
That's the same value as in the OpenSSH source code, so it should be large enough that anyone needing to sign a larger message will have other problems too.
This commit is contained in:
parent
ac51a712b3
commit
98528db25a
@ -5,12 +5,11 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME: it would be nice not to have this arbitrary limit. It's
|
* Upper limit on length of any agent message. Used as a basic sanity
|
||||||
* currently needed because the Windows Pageant IPC system needs an
|
* check on messages' length fields, and used by the Windows Pageant
|
||||||
* upper bound known to the client, but it's also reused as a basic
|
* client IPC to decide how large a file mapping to allocate.
|
||||||
* sanity check on incoming messages' length fields.
|
|
||||||
*/
|
*/
|
||||||
#define AGENT_MAX_MSGLEN 8192
|
#define AGENT_MAX_MSGLEN 262144
|
||||||
|
|
||||||
typedef void (*pageant_logfn_t)(void *logctx, const char *fmt, va_list ap);
|
typedef void (*pageant_logfn_t)(void *logctx, const char *fmt, va_list ap);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user