From: Todd C. Miller Date: Thu, 11 Jan 2018 21:55:11 +0000 (-0700) Subject: Use PATH_MAX, not MAXPATHLEN. X-Git-Tag: SUDO_1_8_22^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da67a549066d97e9d13c0ba6e211140729601459;p=sudo Use PATH_MAX, not MAXPATHLEN. --- diff --git a/plugins/sudoers/solaris_audit.c b/plugins/sudoers/solaris_audit.c index 13612e290..92c46c512 100644 --- a/plugins/sudoers/solaris_audit.c +++ b/plugins/sudoers/solaris_audit.c @@ -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