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

[ossec-cvs] ossec-hids: syscheck.c (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	07/08/13 21:29:33

Modified files:
	syscheck.c

Log message:
Description: Working alpha of the database support. the basic stuff should be working now, but we still need to improve the tables and a few other things.
Reviewed by: dcid
Example config:
<database_output>
  <hostname>1.2.3.4</hostname>
  <username>user</username>
  <password>mypass</password>
  <database>test1</database>
</database_output>
Bug:

Index: syscheck.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/decoders/syscheck.c,v
diff -u -r1.44 -r1.45
--- syscheck.c	13 Aug 2007 02:11:48 -0000	1.44
+++ syscheck.c	14 Aug 2007 00:29:33 -0000	1.45
@@ -628,7 +628,7 @@
                         
 
         f_name--;
-        *fname = '\0';
+        *f_name = ' ';
         return(1); 
 
     } /* continuiing... */
@@ -660,7 +660,7 @@
         lf->decoder_info = sdb.syscheck_dec;
 
         f_name--;
-        *fname = '\0';
+        *f_name = ' ';
                         
 
         return(1);


OSSEC home | Main Index | Thread Index


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