[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-dev] [PATCH] manage_agents segfaults on SETGID_ERROR
- To: ossec-dev@xxxxxxxxx
- Subject: [ossec-dev] [PATCH] manage_agents segfaults on SETGID_ERROR
- From: "Robert Millan [ackstorm]" <rmillan@xxxxxxxxxxx>
- Date: Tue, 6 Feb 2007 12:41:06 +0100
- Organization: http://www.ackstorm.es/
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.