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

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



Module name:	ossec-hids
Changes by:	dcid	07/10/10 20:29:33

Modified files:
	msgs.c

Log message:
Description: Some fixes in time for beta. Changing all rand usage to random, removing some memory leaks nd fixing decoder for pam.
Reviewed by: dcid
Bug:

Index: msgs.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/os_crypto/shared/msgs.c,v
diff -u -r1.1 -r1.2
--- msgs.c	13 Sep 2007 02:28:51 -0000	1.1
+++ msgs.c	10 Oct 2007 23:29:33 -0000	1.2
@@ -406,7 +406,7 @@
     }
     
     /* Random number */
-    rand1 = (u_int16_t)rand();
+    rand1 = (u_int16_t)random();
 
 
     _tmpmsg[OS_MAXSTR +1] = '\0';


OSSEC home | Main Index | Thread Index


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