diff --git a/src/elogd.c b/src/elogd.c index a5971e53..7320ac9d 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -1391,7 +1391,7 @@ Encode the given string in-place by adding %XX escapes pd = str; p = (unsigned char *) ps; while (*p && pd < str + 250) { - if (strchr("%&=#?+", *p) || *p > 127) { + if (strchr("%&=#?+<>", *p) || *p > 127) { sprintf((char *) pd, "%%%02X", *p); pd += 3; p++; @@ -23630,7 +23630,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command) BOOL check_password(LOGBOOK * lbs, char *name, char *password, char *redir) { - char str[256]; + char str[1000]; /* get password from configuration file */ if (getcfg(lbs->name, name, str, sizeof(str))) { @@ -23658,8 +23658,12 @@ BOOL check_password(LOGBOOK * lbs, char *name, char *password, char *redir) rsprintf("