From 502ce39c802f3f8b2b7526485dfc209c8cebdf9f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 26 Oct 2002 06:01:19 +0000 Subject: [PATCH] * Increase size of temp file name buffer in struct CitContext --- citadel/ChangeLog | 4 +++- citadel/server.h | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index fc3e2804e..27b8c6bd9 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 601.52 2002/10/26 06:01:19 ajc + * Increase size of temp file name buffer in struct CitContext + Revision 601.51 2002/10/25 09:38:38 error * Fixed broken .Goto by partial match @@ -4162,4 +4165,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/server.h b/citadel/server.h index 81932e2ec..5cbcabbb9 100644 --- a/citadel/server.h +++ b/citadel/server.h @@ -89,11 +89,11 @@ struct CitContext { char curr_user[USERNAME_SIZE]; /* name of current user */ int logged_in; /* logged in */ int internal_pgm; /* authenticated as internal program */ - char temp[32]; /* temp file name */ + char temp[PATH_MAX]; /* temp file name */ int nologin; /* not allowed to log in */ int is_local_socket; /* set to 1 if client is on unix domain sock */ - char net_node[32]; /* Is the client another Citadel server? */ + char net_node[PATH_MAX];/* Is the client another Citadel server? */ int client_socket; int cs_pid; /* session ID */ time_t cs_lastupdt; /* time of last update */ @@ -116,10 +116,10 @@ struct CitContext { FILE *download_fp; /* Fields relating to file transfer */ FILE *upload_fp; - char upl_file[SIZ]; - char upl_path[SIZ]; + char upl_file[PATH_MAX]; + char upl_path[PATH_MAX]; char upl_comment[SIZ]; - char upl_filedir[SIZ]; + char upl_filedir[PATH_MAX]; char dl_is_net; char upload_type; -- 2.39.2