svn rev #24623: branches/krb5-1-9/src/slave/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Feb 9 15:53:19 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24623
Commit By: tlyu
Log Message:
ticket: 6859
status: resolved
version_fixed: 1.9.1

pull up r24621 from trunk

 ------------------------------------------------------------------------
 r24621 | tlyu | 2011-02-09 15:25:03 -0500 (Wed, 09 Feb 2011) | 8 lines

 ticket: 6859
 subject: kpropd denial of service [MITKRB5-SA-2011-001 CVE-2010-4022]
 tags: pullup
 target_version: 1.9.1

 When operating in standalone mode and not doing iprop, don't return
 from do_standalone() if the child exits with abnormal status.


Changed Files:
U   branches/krb5-1-9/src/slave/kpropd.c
Modified: branches/krb5-1-9/src/slave/kpropd.c
===================================================================
--- branches/krb5-1-9/src/slave/kpropd.c	2011-02-09 20:25:08 UTC (rev 24622)
+++ branches/krb5-1-9/src/slave/kpropd.c	2011-02-09 20:53:19 UTC (rev 24623)
@@ -414,11 +414,11 @@
             }
 
             close(s);
-            if (iproprole == IPROP_SLAVE)
+            if (iproprole == IPROP_SLAVE) {
                 close(finet);
-
-            if ((ret = WEXITSTATUS(status)) != 0)
-                return (ret);
+                if ((ret = WEXITSTATUS(status)) != 0)
+                    return (ret);
+            }
         }
         if (iproprole == IPROP_SLAVE)
             break;




More information about the cvs-krb5 mailing list