/[smeserver]/rpms/sudo/sme9/sudo-1.8.6p3-null_exception.patch
ViewVC logotype

Annotation of /rpms/sudo/sme9/sudo-1.8.6p3-null_exception.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 19:44:29 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: sudo-1_8_6p3-30_el6_sme, sudo-1_8_6p3-29_el6_9, HEAD
Sudo

1 jpp 1.1 diff -up sudo-1.8.6p3/src/sudo.c.orig sudo-1.8.6p3/src/sudo.c
2     --- sudo-1.8.6p3/src/sudo.c.orig 2015-11-23 18:19:45.051010282 +1000
3     +++ sudo-1.8.6p3/src/sudo.c 2015-11-23 18:19:57.795997701 +1000
4     @@ -482,6 +482,9 @@ get_user_info(struct user_details *ud)
5     errorx(1, _("unable to allocate memory"));
6     ud->cwd = user_info[i] + sizeof("cwd=") - 1;
7     }
8     + else {
9     + errorx(1, _("unable to resolve current working directory"));
10     + }
11    
12     if ((cp = get_process_ttyname()) != NULL) {
13     user_info[++i] = fmt_string("tty", cp);
14    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed