]> granicus.if.org Git - sudo/commitdiff
Use PATH_MAX, not MAXPATHLEN.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 11 Jan 2018 21:55:11 +0000 (14:55 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 11 Jan 2018 21:55:11 +0000 (14:55 -0700)
plugins/sudoers/solaris_audit.c

index 13612e290ae7147478ee0e14fa025bb2d2df026a..92c46c5122025db653b671a6e7997ea179c224d9 100644 (file)
@@ -32,7 +32,7 @@
 
 static adt_session_data_t *ah;         /* audit session handle */
 static adt_event_data_t        *event;         /* event to be generated */
-static char            cwd[MAXPATHLEN];
+static char            cwd[PATH_MAX];
 static char            cmdpath[PATH_MAX];
 
 static int