[torqueusers] One more bug in 2.0.0p2 (start_exec.c)

Åke Sandgren ake.sandgren at hpc2n.umu.se
Fri Nov 11 01:54:08 MST 2005


Patch is
--- src/resmom/start_exec.c        Fri Nov 11 00:47:22 2005
+++ src/resmom/start_exec.c   Fri Nov 11 09:52:40 2005
@@ -262,13 +262,13 @@
     }

   if (pjob->ji_grpcache != NULL)
     {
     /* pwd previously loaded and cached */

-    return(pwd);
+    return(pwdp);
     }

   pjob->ji_qs.ji_un.ji_momt.ji_exuid = pwdp->pw_uid;

   pjob->ji_grpcache = malloc(sizeof(struct grpcache) +
strlen(pwdp->pw_dir) + 1);





More information about the torqueusers mailing list