Extend username limit to 128-1

This commit is contained in:
Lauri Kasanen
2023-11-06 15:22:23 +02:00
parent 73c3bda8cd
commit fb7570709a
5 changed files with 8 additions and 6 deletions

View File

@@ -35,6 +35,8 @@
#include <rfb/Timer.h>
#include <rfb/unixRelayLimits.h>
#include "kasmpasswd.h"
namespace rfb {
class VNCServerST;
@@ -318,7 +320,7 @@ namespace rfb {
rdr::U64 bstats_total[BS_NUM];
struct timeval connStart;
char user[32];
char user[USERNAME_LEN];
char kasmpasswdpath[4096];
bool needsPermCheck;