View | Details | Raw Unified | Return to bug 100793
Collapse All | Expand All

(-)osiris/Makefile (-1 / +2 lines)
Lines 7-15 Link Here
7
7
8
PORTNAME=	osiris
8
PORTNAME=	osiris
9
PORTVERSION=	4.2.0
9
PORTVERSION=	4.2.0
10
PORTREVISION=	1
10
CATEGORIES=	security
11
CATEGORIES=	security
11
MASTER_SITES=	http://www.hostintegrity.com/osiris/data/ \
12
MASTER_SITES=	http://www.hostintegrity.com/osiris/data/ \
12
		http://darkambient.net/
13
		http://redundancy.redundancy.org/mirror/
13
14
14
MAINTAINER=	lx@redundancy.redundancy.org
15
MAINTAINER=	lx@redundancy.redundancy.org
15
COMMENT=	The Shmoo client/server host integrity checker
16
COMMENT=	The Shmoo client/server host integrity checker
(-)osiris/files/patch-logging (+66 lines)
Line 0 Link Here
1
--- src/osirisd/logging.c
2
+++ src/osirisd/logging.c
3
@@ -93,7 +93,7 @@
4
             fprintf( stdout, "\n" );
5
         }
6
 #else
7
-    syslog( ( SYSLOG_FACILITY | LOG_ERR ), header );
8
+    syslog( ( SYSLOG_FACILITY | LOG_ERR ), "%s", header );
9
 #endif
10
 }
11
 
12
@@ -147,7 +147,7 @@
13
             fprintf( stdout, "\n" );
14
         }
15
 #else
16
-    syslog( ( SYSLOG_FACILITY | LOG_INFO ), header );
17
+    syslog( ( SYSLOG_FACILITY | LOG_INFO ), "%s", header );
18
 #endif
19
 }
20
 
21
@@ -201,7 +201,7 @@
22
             fprintf( stdout, "\n" );
23
         }
24
 #else
25
-    syslog( ( SYSLOG_FACILITY | LOG_WARNING ), header );
26
+    syslog( ( SYSLOG_FACILITY | LOG_WARNING ), "%s", header );
27
 #endif
28
 }
29
 
30
--- src/osirismd/logging.c
31
+++ src/osirismd/logging.c
32
@@ -106,7 +106,7 @@
33
             fprintf( stdout, "\n" );
34
         }
35
 #else
36
-    syslog( ( syslog_facility | LOG_ERR ), header );
37
+    syslog( ( syslog_facility | LOG_ERR ), "%s", header );
38
 #endif
39
 }
40
 
41
@@ -168,7 +168,7 @@
42
             fprintf( stdout, "\n" );
43
         }
44
 #else
45
-    syslog( ( syslog_facility | LOG_INFO ), header );
46
+    syslog( ( syslog_facility | LOG_INFO ), "%s", header );
47
 #endif
48
 }
49
 
50
@@ -230,7 +230,7 @@
51
             fprintf( stdout, "\n" );
52
         }
53
 #else
54
-    syslog( ( syslog_facility | LOG_WARNING ), header );
55
+    syslog( ( syslog_facility | LOG_WARNING ), "%s", header );
56
 #endif
57
 }
58
 
59
@@ -281,7 +281,7 @@
60
                     NULL);                /* no raw data */
61
         }
62
 #else
63
-        syslog( ( syslog_facility | LOG_INFO ), buffer );
64
+        syslog( ( syslog_facility | LOG_INFO ), "%s", buffer );
65
 #endif
66
     }

Return to bug 100793