Prevent winexe from ever creating a core file. The core file could potentially leak windows login information. Signed-off-by: Jeff Schroeder --- zenoss-2.1.3/externallibs/b/wmi-0.1.5/Samba/source/wmi/wmic.c 2008-06-17 09:32:02.000000000 -0700 +++ zenoss-2.1.3/externallibs/wmi-0.1.5/Samba/source/wmi/wmic.c 2008-06-17 13:04:56.000000000 -0700 @@ -32,6 +32,7 @@ #include "lib/com/dcom/dcom.h" #include "lib/com/proto.h" #include "lib/com/dcom/proto.h" +#include struct WBEMCLASS; struct WBEMOBJECT; @@ -134,6 +135,7 @@ int main(int argc, char **argv) WERROR result; NTSTATUS status; struct IWbemServices *pWS = NULL; + prctl(PR_SET_DUMPABLE, 0); parse_args(argc, argv, &args);