Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matt Johnston
dropbear
Commits
387ebccf
Commit
387ebccf
authored
Aug 03, 2015
by
Matt Johnston
Browse files
increase MAX_CMD_LEN to 9000
parent
2f618af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
sysoptions.h
View file @
387ebccf
...
...
@@ -47,7 +47,7 @@
* the clearenv() function */
#define ENV_SIZE 100
#define MAX_CMD_LEN
1024
/* max length of a command */
#define MAX_CMD_LEN
9000
/* max length of a command */
#define MAX_TERM_LEN 200
/* max length of TERM name */
#define MAX_HOST_LEN 254
/* max hostname len for tcp fwding */
...
...
@@ -153,7 +153,8 @@
#define MAX_CHANNELS 100
/* simple mem restriction, includes each tcp/x11
connection, so can't be _too_ small */
#define MAX_STRING_LEN 2400
/* Sun SSH needs this long for algos */
#define MAX_STRING_LEN (MAX(MAX_CMD_LEN, 2400))
/* Sun SSH needs 2400 for algos,
MAX_CMD_LEN is usually longer */
/* For a 4096 bit DSS key, empirically determined */
#define MAX_PUBKEY_SIZE 1700
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment