Debian Codegraph @

debian/patches/format_security.patch

raw symbols SCIP
1 Fromscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`format_security.patch`#From.: tony mancill <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Forwardedscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`format_security.patch`#Forwarded.: no
3 Descriptionscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`format_security.patch`#Description.: use format specifiers in fprintf statements for hardening flags
4
5 --- a/src/SerialImp.cscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/SerialImp.c`:
6 +++ b/src/SerialImp.cscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/SerialImp.c`:
7 @@ -5108,7 +5108,7 @@
8 void report_warning(const char *msg)
9 {
10 #ifndef DEBUG_MW
11 - fprintf(stderr, msg);
12 + fprintf(stderr, "%s", msg);
13 #else
14 mexWarnMsgTxt( (const char *) msg );
15 #endif /* DEBUG_MW */
16 @@ -5129,7 +5129,7 @@
17 #ifdef DEBUG_MW
18 mexErrMsgTxt( msg );
19 #else
20 - fprintf(stderr, msg);
21 + fprintf(stderr, "%s", msg);
22 #endif /* DEBUG_MW */
23 #endif /* DEBUG_VERBOSE */
24 }
25 @@ -5145,7 +5145,7 @@
26 void report_error(const char *msg)
27 {
28 #ifndef DEBUG_MW
29 - fprintf(stderr, msg);
30 + fprintf(stderr, "%s", msg);
31 #else
32 mexWarnMsgTxt( msg );
33 #endif /* DEBUG_MW */
34 @@ -5164,7 +5164,7 @@
35 {
36 #ifdef DEBUG
37 # ifndef DEBUG_MW
38 - fprintf(stderr, msg);
39 + fprintf(stderr, "%s", msg);
40 # else
41 mexPrintf( msg );
42 # endif /* DEBUG_MW */
43 --- a/src/ParallelImp.cscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/ParallelImp.c`:
44 +++ b/src/ParallelImp.cscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/ParallelImp.c`:
45 @@ -920,7 +920,7 @@
46 void report_error(char *msg)
47 {
48 #ifndef DEBUG_MW
49 - fprintf(stderr, msg);
50 + fprintf(stderr, "%s", msg);
51 #else
52 mexWarnMsgTxt( msg );
53 #endif /* DEBUG_MW */
54 @@ -938,7 +938,7 @@
55 void report(char *msg)
56 {
57 #ifdef DEBUG
58 - fprintf(stderr, msg);
59 + fprintf(stderr, "%s", msg);
60 #endif /* DEBUG */
61 }
62
63 --- a/src/SerialImp.cppscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/SerialImp.cpp`:
64 +++ b/src/SerialImp.cppscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`src/SerialImp.cpp`:
65 @@ -1844,7 +1844,7 @@
66
67
68 #ifdef DEBUG
69 - fprintf(stderr, msg);
70 + fprintf(stderr, "%s", msg);
71 #endif
72 }
73
74 --- a/CNI/SerialImp.cscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`CNI/SerialImp.c`:
75 +++ b/CNI/SerialImp.cscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`CNI/SerialImp.c`:
76 @@ -4549,7 +4549,7 @@
77 void report_warning(char *msg)
78 {
79 #ifndef DEBUG_MW
80 - fprintf(stderr, msg);
81 + fprintf(stderr, "%s", msg);
82 #else
83 mexWarnMsgTxt( (const char *) msg );
84 #endif /* DEBUG_MW */
85 @@ -4570,7 +4570,7 @@
86 #ifdef DEBUG_MW
87 mexErrMsgTxt( msg );
88 #else
89 - fprintf(stderr, msg);
90 + fprintf(stderr, "%s", msg);
91 #endif /* DEBUG_MW */
92 #endif /* DEBUG_VERBOSE */
93 }
94 @@ -4586,7 +4586,7 @@
95 void report_error(char *msg)
96 {
97 #ifndef DEBUG_MW
98 - fprintf(stderr, msg);
99 + fprintf(stderr, "%s", msg);
100 #else
101 mexWarnMsgTxt( msg );
102 #endif /* DEBUG_MW */
103 @@ -4605,7 +4605,7 @@
104 {
105 #ifdef DEBUG
106 # ifndef DEBUG_MW
107 - fprintf(stderr, msg);
108 + fprintf(stderr, "%s", msg);
109 # else
110 mexPrintf( msg );
111 # endif /* DEBUG_MW */