[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] Re: [PATCH] manage_agents segfaults on SETGID_ERROR




Hi Robert,

Thanks for the patch. It has been committed to CVS.

Daniel


On 2/6/07, Robert Millan [ackstorm] <rmillan@xxxxxxxxxxx> wrote:


SETGID_ERROR is used with an int, not a *char.

--- ossec-hids-1.0/src/error_messages/error_messages.h~ 2007-01-04 20:15:58.000000000 +0100
+++ ossec-hids-1.0/src/error_messages/error_messages.h  2007-02-06 12:25:09.000000000 +0100
@@ -55,7 +55,7 @@
 #define CONNTYPE_ERROR         "%s(1204): Invalid connection type: '%s'."
 #define PORT_ERROR         "%s(1205): No port specified. Using default: '%d'."
 #define BIND_ERROR         "%s(1206): Unable to Bind port '%d'"
-#define SETGID_ERROR   "%s(1207): Unable to switch to group: '%s'."
+#define SETGID_ERROR   "%s(1207): Unable to switch to group: '%d'."
 #define SETUID_ERROR   "%s(1208): Unable to switch to user: '%s'."
 #define CHROOT_ERROR   "%s(1209): Unable to chroot to directory: '%s'."
 #define QUEUE_ERROR        "%s(1210): Queue '%s' not accessible."

--
Robert Millan

ACK STORM, S.L.  -  http://www.ackstorm.es/



OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.