Overall Result: FAIL |
---|
Report Production | Report Configuration | Analysis phases |
---|---|---|
|
|
|
Number of Violations | LDRA Code | (M) Mandatory Standards | GJB Code |
---|---|---|---|
|
1 S | ||
|
2 S | ||
|
5 S | ||
|
6 S | ||
|
7 S | ||
|
9 S | ||
|
11 S | ||
|
12 S | ||
|
13 S | ||
|
16 S | ||
|
20 S | ||
|
21 S | ||
|
22 S | ||
|
23 S | ||
|
25 S | ||
|
27 S | ||
|
34 S | ||
|
35 S | ||
|
36 S | ||
|
37 S | ||
|
39 S | ||
|
40 S | ||
|
41 S | ||
|
44 S | ||
|
45 S | ||
|
46 S | ||
|
47 S | ||
|
48 S | ||
|
49 S | ||
|
50 S | ||
|
51 S | ||
|
52 S | ||
|
55 S | ||
|
56 S | ||
|
59 S | ||
|
60 S | ||
|
61 S | ||
|
62 S | ||
|
63 S | ||
|
64 S | ||
|
65 S | ||
|
66 S | ||
|
71 S | ||
|
72 S | ||
|
73 S | ||
|
75 S | ||
|
76 S | ||
|
77 S | ||
|
78 S | ||
|
79 S |
Number of Violations | LDRA Code | (M) Mandatory Standards | GJB Code |
---|---|---|---|
|
80 S | ||
|
81 S | ||
|
85 S | ||
|
86 S | ||
|
88 S | ||
|
89 S | ||
|
91 S | ||
|
92 S | ||
|
93 S | ||
|
94 S | ||
|
98 S | ||
|
100 S | ||
|
101 S | ||
|
102 S | ||
|
103 S | ||
|
104 S | ||
|
105 S | ||
|
109 S | ||
|
112 S | ||
|
114 S | ||
|
115 S | ||
|
117 S | ||
|
118 S | ||
|
119 S | ||
|
120 S | ||
|
121 S | ||
|
123 S | ||
|
126 S | ||
|
127 S | ||
|
128 S | ||
|
129 S | ||
|
131 S | ||
|
132 S | ||
|
133 S | ||
|
134 S | ||
|
136 S | ||
|
138 S | ||
|
141 S | ||
|
142 S | ||
|
157 S | ||
|
274 S | ||
|
276 S | ||
|
278 S | ||
|
302 S | ||
|
304 S | ||
|
329 S | ||
|
361 S | ||
|
387 S | ||
|
388 S | ||
|
397 S |
Number of Violations | LDRA Code | (M) Mandatory Standards | GJB Code |
---|---|---|---|
|
399 S | ||
|
400 S | ||
|
401 S | ||
|
402 S | ||
|
403 S | ||
|
404 S | ||
|
407 S | ||
|
411 S | ||
|
415 S | ||
|
416 S | ||
|
431 S | ||
|
432 S | ||
|
433 S | ||
|
434 S | ||
|
435 S | ||
|
439 S | ||
|
440 S | ||
|
462 S | ||
|
493 S | ||
|
494 S | ||
|
2 D | ||
|
15 D | ||
|
45 D | ||
|
50 D | ||
|
51 D | ||
|
57 D | ||
|
69 D | ||
|
76 D | ||
|
41 X | ||
|
4 Q |
Number of Violations | LDRA Code | (C) Checking (Mandatory) Standards | GJB Code |
---|
Number of Violations | LDRA Code | (O) Optional Standards | GJB Code |
---|---|---|---|
|
3 S | ||
|
4 S | ||
|
8 S | ||
|
14 S | ||
|
18 S | ||
|
19 S | ||
|
24 S | ||
|
26 S | ||
|
29 S | ||
|
30 S | ||
|
31 S | ||
|
32 S | ||
|
33 S | ||
|
42 S | ||
|
43 S | ||
|
53 S | ||
|
54 S | ||
|
57 S | ||
|
58 S | ||
|
67 S | ||
|
68 S | ||
|
69 S | ||
|
70 S | ||
|
74 S | ||
|
83 S | ||
|
84 S | ||
|
87 S | ||
|
90 S | ||
|
95 S | ||
|
96 S | ||
|
97 S | ||
|
99 S | ||
|
107 S | ||
|
110 S | ||
|
113 S | ||
|
122 S | ||
|
125 S | ||
|
135 S | ||
|
139 S | ||
|
140 S | ||
|
398 S | ||
|
413 S | ||
|
632 S | ||
|
63 D | ||
|
94 D |
Number of Mandatory Standards checked | 130 |
Number of Checking Standards checked | 0 |
Number of Optional Standards checked | 45 |
Total Standards checked | 175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name | Last Modification Date |
---|---|
D:\C program\.C\xprt_quic.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\xprt_handshake.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\wurfl.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\wdt.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\version.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\vars.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\util.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\uri_hash.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\uri_auth.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\trace.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\tools.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\time.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\threading.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\thread.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\testinet.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\test_pools.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\test_hashes.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\test.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\test-list.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\test-arg.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\tcploop.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\tcpcheck.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\tcp_sample.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\tcp_rules.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\tcp_act.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\task.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\stream_interface.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\stream.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\stick_table.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\stats.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\standalone.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ssl_utils.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ssl_sock.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ssl_sample.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ssl_crtlist.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ssl_ckch.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\spoa.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\sock_unix.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\sock_inet.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\sock.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\sink.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\signal.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\shmem.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\shctx.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\sha1.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\session.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\service-prometheus.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\server.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\scope.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\sample.c | Thu Jun 13 17:43:06 2024 |
Name | Last Modification Date |
---|---|
D:\C program\.C\ring.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\reset.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\regex.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\raw_sock.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\quic_tls.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\quic_sock.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\quic_frame.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\quic_cc_newreno.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\quic_cc.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\queue.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\qpack-tbl.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\purger.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ps_python.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ps_lua.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\proxy.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\protocol.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\proto_uxst.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\proto_udp.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\proto_tcp.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\proto_sockpair.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\proto_quic.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\pool.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\poll.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\plug_qdisc.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\pipe.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\peers.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\payload.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\pattern.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\parser.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\packet-happp.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\opentracing.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\nuster.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\namespace.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mworker.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mworker-prog.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mux_pt.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mux_h2.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mux_h1.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mux_fcgi.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mqtt.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\modsec_wrapper.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\misc.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\memory.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\map.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\mailers.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\lru.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\log.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\listener.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\lb_map.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\lb_fwrr.c | Thu Jun 13 17:43:06 2024 |
Name | Last Modification Date |
---|---|
D:\C program\.C\lb_fwlc.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\lb_fas.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\lb_chash.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\key.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\json.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ist.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\iprange.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ip6range.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ip-hash.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\htx.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_rules.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_htx.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_fetch.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_conv.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_ana.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_act.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http_acl.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\http.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hpack-tbl.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hpack-huff.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hpack-enc.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hpack-dec.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hlua_fcn.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hlua.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\hash.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\haproxy.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\halog.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\h2.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\h1_htx.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\h1.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\group.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\gen-rht.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\gen-enc.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\frontend.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\freq_ctr.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\flt_trace.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\flt_spoe.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\flt_http_comp.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\flags.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\fix.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\filters.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\filter.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\filltab25.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\fgets2.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\fd.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\fcgi.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\fcgi-app.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\extcheck.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\event.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ev_select.c | Thu Jun 13 17:43:06 2024 |
Name | Last Modification Date |
---|---|
D:\C program\.C\ev_poll.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ev_kqueue.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ev_evports.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ev_epoll.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\engine.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ebtree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ebsttree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ebpttree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ebmbtree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ebistree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\ebimtree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\eb64tree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\eb32tree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\eb32sctree.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\dynbuf.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\dummy-wurfl.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\dns.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\disk.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\dict.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\dgram.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\defender.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\decode.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\debug.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\dac.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\da.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\connection.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\conf.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\compression.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cli.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\city.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\chunk.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\check.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\channel.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cfgparse.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cfgparse-unix.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cfgparse-tcp.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cfgparse-ssl.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cfgparse-listen.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cfgparse-global.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\calltrace.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\cache.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\blocksig.c | Thu Jun 13 17:43:07 2024 |
D:\C program\.C\base64rev-gen.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\base64.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\backend.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\auth.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\arg.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\applet.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\activity.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\action.c | Thu Jun 13 17:43:06 2024 |
Name | Last Modification Date |
---|---|
D:\C program\.C\acl.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\51Degrees.c | Thu Jun 13 17:43:06 2024 |
D:\C program\.C\51d.c | Thu Jun 13 17:43:06 2024 |
Number of procedures: | 3602 |
Number of locally uncalled procedures: | 63 |
Maximum loop depth: | 4 |
Total Cyclomatic Complexity: | 27542 |
Number of reformatted executable lines: | 250996 |
Number of lines of comments: | 30111 |
Globals / code outside procedures - FAIL |
---|
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | 51Degrees.c: 10 | Nested comment found. | GJB 4.10.1.1 |
M | acl.c: 750 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | acl.c: 751 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | acl.c: 752 | Array has no bounds specified. | GJB 4.1.1.19 |
M | acl.c: 752 | Array initialisation has too many items. : expr[*]; given=12, expected=4 | GJB 5.1.3 |
M | acl.c: 752 | Array initialisation has too many items. : expr[*]; given=6, expected=4 | GJB 5.1.3 |
M | acl.c: 752 | Array initialisation has too many items. : expr[*]; given=10, expected=3 | GJB 5.1.3 |
M | acl.c: 755 | Array initialisation has too many items. : expr[*]; given=12, expected=4 | GJB 5.1.3 |
M | acl.c: 755 | Array initialisation has too many items. : expr[*]; given=5, expected=4 | GJB 5.1.3 |
M | acl.c: 755 | Array initialisation has too many items. : expr[*]; given=9, expected=3 | GJB 5.1.3 |
M | acl.c: 758 | Array initialisation has too many items. : expr[*]; given=9, expected=4 | GJB 5.1.3 |
M | acl.c: 758 | Array initialisation has too many items. : expr[*]; given=13, expected=4 | GJB 5.1.3 |
M | acl.c: 758 | Array initialisation has too many items. : expr[*]; given=8, expected=4 | GJB 5.1.3 |
M | acl.c: 758 | Array initialisation has too many items. : expr[*]; given=12, expected=4 | GJB 5.1.3 |
M | acl.c: 760 | Array initialisation has too many items. : expr[*]; given=7, expected=4 | GJB 5.1.3 |
M | acl.c: 760 | Array initialisation has too many items. : expr[*]; given=9, expected=4 | GJB 5.1.3 |
M | acl.c: 760 | Array initialisation has too many items. : expr[*]; given=10, expected=3 | GJB 5.1.3 |
M | acl.c: 760 | Array initialisation has too many items. : expr[*]; given=5, expected=4 | GJB 5.1.3 |
M | acl.c: 762 | Array initialisation has too many items. : expr[*]; given=13, expected=4 | GJB 5.1.3 |
M | acl.c: 762 | Array initialisation has too many items. : expr[*]; given=8, expected=4 | GJB 5.1.3 |
M | acl.c: 762 | Array initialisation has too many items. : expr[*]; given=10, expected=4 | GJB 5.1.3 |
M | acl.c: 762 | Array initialisation has too many items. : expr[*]; given=5, expected=4 | GJB 5.1.3 |
M | acl.c: 762 | Array initialisation has too many items. : expr[*]; given=9, expected=4 | GJB 5.1.3 |
M | acl.c: 765 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | acl.c: 767 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | acl.c: 770 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | acl.c: 772 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | acl.c: 1061 | Comment possibly contains code. | GJB 4.10.2.1 |
M | acl.c: 1063 | Comment possibly contains code. | GJB 4.10.2.1 |
M | acl.c: 1065 | Comment possibly contains code. | GJB 4.10.2.1 |
M | acl.c: 1317 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | acl.c: 1317 | Parameter list is KR. | GJB 4.8.2.8 |
M | acl.c: 1317 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
M | acl.c: 17 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | acl.c: 19 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | acl.c: 20 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | acl.c: 21 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | acl.c: 22 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | acl.c: 23 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | acl.c: 24 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | acl.c: 25 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | acl.c: 26 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | acl.c: 27 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | acl.c: 28 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | acl.c: 29 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | acl.c: 30 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | action.c: 13 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | action.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | action.c: 15 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | action.c: 16 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | action.c: 17 | Included file has path. : <haproxy/obj_type.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | action.c: 18 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | action.c: 19 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | action.c: 20 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | action.c: 21 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | action.c: 22 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | activity.c: 129 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | activity.c: 129 | Parameter list is KR. | GJB 4.8.2.8 |
M | activity.c: 129 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | activity.c: 138 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | activity.c: 138 | Parameter list is KR. | GJB 4.8.2.8 |
M | activity.c: 138 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | activity.c: 13 | Included file has path. : <haproxy/activity-t.h> | GJB 4.1.1.20 |
M | activity.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | activity.c: 15 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | activity.c: 16 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | activity.c: 17 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | activity.c: 18 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | activity.c: 19 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | activity.c: 20 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | applet.c: 26 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | applet.c: 26 | Parameter list is KR. | GJB 4.8.2.8 |
M | applet.c: 16 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | applet.c: 17 | Included file has path. : <haproxy/applet.h> | GJB 4.1.1.20 |
M | applet.c: 18 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | applet.c: 19 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | applet.c: 20 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | applet.c: 21 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | applet.c: 22 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | arg.c: 22 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | arg.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | arg.c: 14 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | arg.c: 15 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | arg.c: 17 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | arg.c: 18 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | arg.c: 19 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | arg.c: 20 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | auth.c: 28 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | auth.c: 29 | Included file has path. : <haproxy/auth-t.h> | GJB 4.1.1.20 |
M | auth.c: 30 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | auth.c: 31 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | auth.c: 32 | Included file has path. : <haproxy/pattern-t.h> | GJB 4.1.1.20 |
M | auth.c: 33 | Included file has path. : <haproxy/sample-t.h> | GJB 4.1.1.20 |
M | auth.c: 34 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | backend.c: 59 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | backend.c: 3037 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | backend.c: 3037 | Parameter list is KR. | GJB 4.8.2.8 |
M | backend.c: 3037 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | backend.c: 3046 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | backend.c: 3046 | Parameter list is KR. | GJB 4.8.2.8 |
M | backend.c: 3046 | Parameter has same name as global variable. : sample_conv_kws | GJB 4.15.1.3 |
M | backend.c: 3055 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | backend.c: 3055 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | backend.c: 3055 | Parameter list is KR. | GJB 4.8.2.8 |
M | backend.c: 3055 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
O | backend.c: 3061 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | backend.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | backend.c: 22 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | backend.c: 23 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | backend.c: 24 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | backend.c: 25 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | backend.c: 26 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | backend.c: 27 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | backend.c: 28 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | backend.c: 29 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | backend.c: 30 | Included file has path. : <haproxy/hash.h> | GJB 4.1.1.20 |
M | backend.c: 31 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | backend.c: 32 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | backend.c: 33 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | backend.c: 34 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | backend.c: 35 | Included file has path. : <haproxy/lb_chash.h> | GJB 4.1.1.20 |
M | backend.c: 36 | Included file has path. : <haproxy/lb_fas.h> | GJB 4.1.1.20 |
M | backend.c: 37 | Included file has path. : <haproxy/lb_fwlc.h> | GJB 4.1.1.20 |
M | backend.c: 38 | Included file has path. : <haproxy/lb_fwrr.h> | GJB 4.1.1.20 |
M | backend.c: 39 | Included file has path. : <haproxy/lb_map.h> | GJB 4.1.1.20 |
M | backend.c: 40 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | backend.c: 41 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | backend.c: 42 | Included file has path. : <haproxy/obj_type.h> | GJB 4.1.1.20 |
M | backend.c: 43 | Included file has path. : <haproxy/payload.h> | GJB 4.1.1.20 |
M | backend.c: 44 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | backend.c: 45 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | backend.c: 46 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | backend.c: 47 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | backend.c: 48 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | backend.c: 49 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | backend.c: 50 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | backend.c: 51 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | backend.c: 52 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | backend.c: 53 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | backend.c: 54 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | backend.c: 55 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | backend.c: 56 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | backend.c: 57 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | base64.c: 25 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | base64.c: 26 | Array has no bounds specified. | GJB 4.1.1.19 |
O | base64.c: 26 | Non standard character $ in source. | GJB 4.15.2.1 |
M | base64.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | base64.c: 18 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | base64rev-gen.c: 15 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | base64rev-gen.c: 16 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | base64rev-gen.c: 20 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | base64rev-gen.c: 16 | Global not initialised at declaration. : base64rev | GJB 5.2.1 |
M | cache.c: 47 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | cache.c: 60 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | cache.c: 113 | Name redeclared in another C name space (MR). : value | GJB 4.1.1.16 |
M | cache.c: 42 | extern not in nominated include file. | GJB 4.7.1.5 |
M | cache.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | cache.c: 59 | Union declared. | GJB 4.1.2.8 |
M | cache.c: 61 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | cache.c: 71 | Enum initialisation not integer literal. : VARY_ACCEPT_ENCODING | GJB 5.1.4 |
M | cache.c: 71 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 72 | Enum initialisation not integer literal. : VARY_REFERER | GJB 5.1.4 |
M | cache.c: 72 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 74 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | cache.c: 78 | Nested comment found. | GJB 4.10.1.1 |
M | cache.c: 82 | Enum initialisation not integer literal. : VARY_ENCODING_GZIP | GJB 5.1.4 |
M | cache.c: 82 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 83 | Enum initialisation not integer literal. : VARY_ENCODING_DEFLATE | GJB 5.1.4 |
M | cache.c: 83 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 84 | Enum initialisation not integer literal. : VARY_ENCODING_BR | GJB 5.1.4 |
M | cache.c: 84 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 85 | Enum initialisation not integer literal. : VARY_ENCODING_COMPRESS | GJB 5.1.4 |
M | cache.c: 85 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 86 | Enum initialisation not integer literal. : VARY_ENCODING_AES128GCM | GJB 5.1.4 |
M | cache.c: 86 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 87 | Enum initialisation not integer literal. : VARY_ENCODING_EXI | GJB 5.1.4 |
M | cache.c: 87 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 88 | Enum initialisation not integer literal. : VARY_ENCODING_PACK200_GZIP | GJB 5.1.4 |
M | cache.c: 88 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 89 | Enum initialisation not integer literal. : VARY_ENCODING_ZSTD | GJB 5.1.4 |
M | cache.c: 89 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 90 | Enum initialisation not integer literal. : VARY_ENCODING_IDENTITY | GJB 5.1.4 |
M | cache.c: 90 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 91 | Enum initialisation not integer literal. : VARY_ENCODING_STAR | GJB 5.1.4 |
M | cache.c: 91 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 92 | Enum initialisation not integer literal. : VARY_ENCODING_OTHER | GJB 5.1.4 |
M | cache.c: 92 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | cache.c: 99 | Procedure pointer declared. | GJB 4.4.1.3 |
M | cache.c: 99 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cache.c: 100 | Procedure pointer declared. | GJB 4.4.1.3 |
M | cache.c: 108 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | cache.c: 109 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | cache.c: 111 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cache.c: 111 | Single dimension array param size specified. | GJB 5.1.10 |
M | cache.c: 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cache.c: 119 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cache.c: 125 | Array has no bounds specified. | GJB 4.1.1.19 |
M | cache.c: 126 | Use of sizeof on a type. | GJB 5.1.8 |
M | cache.c: 127 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | cache.c: 127 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | cache.c: 127 | Use of sizeof on a type. | GJB 5.1.8 |
M | cache.c: 127 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | cache.c: 127 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | cache.c: 147 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cache.c: 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cache.c: 175 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 175 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2160 | Macro parameter not in brackets. : str | GJB 4.2.1.6 |
M | cache.c: 2160 | Macro parameter not in brackets. : encoding_name | GJB 4.2.1.6 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | cache.c: 2160 | Macro parameter not in brackets. : encoding_value | GJB 4.2.1.6 |
M | cache.c: 2160 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | cache.c: 2178 | Nested comment found. | GJB 4.10.1.1 |
O | cache.c: 2359 | #undef used. | GJB 4.1.2.6 |
M | cache.c: 2712 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 2712 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2712 | Parameter has same name as global variable. : filter_kws | GJB 4.15.1.3 |
M | cache.c: 2719 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 2719 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2719 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | cache.c: 2728 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | cache.c: 2728 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 2728 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2728 | Parameter has same name as global variable. : http_res_actions | GJB 4.15.1.3 |
M | cache.c: 2737 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | cache.c: 2737 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 2737 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2737 | Parameter has same name as global variable. : http_req_actions | GJB 4.15.1.3 |
M | cache.c: 2747 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 2747 | Parameter list is KR. | GJB 4.8.2.8 |
O | cache.c: 2748 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2759 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | cache.c: 2759 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cache.c: 2759 | Parameter list is KR. | GJB 4.8.2.8 |
M | cache.c: 2759 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
O | cache.c: 2759 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | cache.c: 13 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | cache.c: 14 | Included file has path. : <import/sha1.h> | GJB 4.1.1.20 |
M | cache.c: 16 | Included file has path. : <haproxy/action-t.h> | GJB 4.1.1.20 |
M | cache.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | cache.c: 18 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | cache.c: 19 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | cache.c: 20 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | cache.c: 21 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | cache.c: 22 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | cache.c: 23 | Included file has path. : <haproxy/hash.h> | GJB 4.1.1.20 |
M | cache.c: 24 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | cache.c: 25 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | cache.c: 26 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | cache.c: 27 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | cache.c: 28 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | cache.c: 29 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | cache.c: 30 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | cache.c: 31 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | cache.c: 32 | Included file has path. : <haproxy/shctx.h> | GJB 4.1.1.20 |
M | cache.c: 33 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | cache.c: 34 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | cache.c: 44 | Global not initialised at declaration. : cache_ops | GJB 5.2.1 |
M | calltrace.c: 42 | Nested comment found. | GJB 4.10.1.1 |
M | calltrace.c: 61 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | calltrace.c: 45 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | calltrace.c: 50 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | calltrace.c: 51 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | calltrace.c: 52 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | calltrace.c: 54 | Global not initialised at declaration. : log | GJB 5.2.1 |
M | calltrace.c: 55 | Global not initialised at declaration. : level | GJB 5.2.1 |
M | calltrace.c: 56 | Global not initialised at declaration. : disabled | GJB 5.2.1 |
M | calltrace.c: 57 | Global not initialised at declaration. : fast_time | GJB 5.2.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | calltrace.c: 58 | Global not initialised at declaration. : use_tsc | GJB 5.2.1 |
M | calltrace.c: 59 | Global not initialised at declaration. : trace_now | GJB 5.2.1 |
M | calltrace.c: 60 | Global not initialised at declaration. : now_ptr | GJB 5.2.1 |
M | calltrace.c: 61 | Global not initialised at declaration. : line | GJB 5.2.1 |
O | cfgparse-global.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | cfgparse-global.c: 9 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 10 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 14 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 15 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 16 | Included file has path. : <haproxy/compression.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 17 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 18 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 19 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 20 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | cfgparse-global.c: 22 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
O | cfgparse-listen.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | cfgparse-listen.c: 9 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 10 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 14 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 15 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 16 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 17 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 18 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 19 | Included file has path. : <haproxy/compression-t.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 20 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 21 | Included file has path. : <haproxy/extcheck.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 22 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 23 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 24 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 25 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 26 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 27 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 28 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 29 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 30 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 31 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 32 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 33 | Included file has path. : <haproxy/tcpcheck.h> | GJB 4.1.1.20 |
M | cfgparse-listen.c: 34 | Included file has path. : <haproxy/uri_auth.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 1732 | Array has no bounds specified. | GJB 4.1.1.19 |
M | cfgparse-ssl.c: 1796 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse-ssl.c: 1796 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse-ssl.c: 1796 | Parameter has same name as global variable. : bind_kws | GJB 4.15.1.3 |
M | cfgparse-ssl.c: 1848 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse-ssl.c: 1848 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse-ssl.c: 1848 | Parameter has same name as global variable. : srv_kws | GJB 4.15.1.3 |
M | cfgparse-ssl.c: 1891 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | cfgparse-ssl.c: 1891 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse-ssl.c: 1891 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse-ssl.c: 1891 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | cfgparse-ssl.c: 31 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 32 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 34 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 35 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | cfgparse-ssl.c: 36 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 37 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 38 | Included file has path. : <haproxy/openssl-compat.h> | GJB 4.1.1.20 |
M | cfgparse-ssl.c: 39 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 281 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse-tcp.c: 281 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse-tcp.c: 281 | Parameter has same name as global variable. : bind_kws | GJB 4.15.1.3 |
M | cfgparse-tcp.c: 290 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse-tcp.c: 290 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse-tcp.c: 290 | Parameter has same name as global variable. : srv_kws | GJB 4.15.1.3 |
M | cfgparse-tcp.c: 21 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 22 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 23 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 25 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 26 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 28 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 29 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 30 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 31 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 32 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 33 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 34 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 35 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | cfgparse-tcp.c: 36 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 23 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 24 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 25 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 26 | Included file has path. : <sys/un.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 28 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 29 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 31 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 32 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 33 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 34 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 35 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 36 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 37 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 38 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | cfgparse-unix.c: 39 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | cfgparse.c: 91 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cfgparse.c: 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cfgparse.c: 105 | Comment possibly contains code. | GJB 4.10.2.1 |
M | cfgparse.c: 106 | Comment possibly contains code. | GJB 4.10.2.1 |
M | cfgparse.c: 166 | Comment possibly contains code. | GJB 4.10.2.1 |
M | cfgparse.c: 167 | Comment possibly contains code. | GJB 4.10.2.1 |
M | cfgparse.c: 4141 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4141 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4142 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4142 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4143 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4143 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4143 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4144 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4144 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | cfgparse.c: 4144 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4145 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4145 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4145 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4146 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4146 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4146 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4147 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4147 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4147 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4148 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4148 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4148 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4149 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4149 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4149 | Parameter list is KR. | GJB 4.8.2.8 |
M | cfgparse.c: 4150 | Function declared more than once. : REGISTER_CONFIG_SECTION | GJB 5.1.23 |
M | cfgparse.c: 4150 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cfgparse.c: 4150 | Parameter list is KR. | GJB 4.8.2.8 |
O | cfgparse.c: 4156 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | cfgparse.c: 31 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cfgparse.c: 32 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | cfgparse.c: 36 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | cfgparse.c: 37 | Included file has path. : <haproxy/action-t.h> | GJB 4.1.1.20 |
M | cfgparse.c: 38 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | cfgparse.c: 39 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | cfgparse.c: 40 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | cfgparse.c: 41 | Included file has path. : <haproxy/capture.h> | GJB 4.1.1.20 |
M | cfgparse.c: 42 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | cfgparse.c: 43 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | cfgparse.c: 44 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | cfgparse.c: 45 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | cfgparse.c: 46 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | cfgparse.c: 47 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | cfgparse.c: 48 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | cfgparse.c: 49 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | cfgparse.c: 50 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | cfgparse.c: 51 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | cfgparse.c: 52 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | cfgparse.c: 53 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | cfgparse.c: 54 | Included file has path. : <haproxy/lb_chash.h> | GJB 4.1.1.20 |
M | cfgparse.c: 55 | Included file has path. : <haproxy/lb_fas.h> | GJB 4.1.1.20 |
M | cfgparse.c: 56 | Included file has path. : <haproxy/lb_fwlc.h> | GJB 4.1.1.20 |
M | cfgparse.c: 57 | Included file has path. : <haproxy/lb_fwrr.h> | GJB 4.1.1.20 |
M | cfgparse.c: 58 | Included file has path. : <haproxy/lb_map.h> | GJB 4.1.1.20 |
M | cfgparse.c: 59 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | cfgparse.c: 60 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | cfgparse.c: 61 | Included file has path. : <haproxy/mailers.h> | GJB 4.1.1.20 |
M | cfgparse.c: 62 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | cfgparse.c: 63 | Included file has path. : <haproxy/obj_type-t.h> | GJB 4.1.1.20 |
M | cfgparse.c: 64 | Included file has path. : <haproxy/peers-t.h> | GJB 4.1.1.20 |
M | cfgparse.c: 65 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | cfgparse.c: 66 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | cfgparse.c: 67 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | cfgparse.c: 68 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | cfgparse.c: 69 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | cfgparse.c: 70 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | cfgparse.c: 71 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | cfgparse.c: 72 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | cfgparse.c: 73 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | cfgparse.c: 74 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | cfgparse.c: 75 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | cfgparse.c: 76 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | cfgparse.c: 77 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | cfgparse.c: 78 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | cfgparse.c: 79 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | cfgparse.c: 80 | Included file has path. : <haproxy/uri_auth-t.h> | GJB 4.1.1.20 |
M | cfgparse.c: 81 | Included file has path. : <haproxy/xprt_quic.h> | GJB 4.1.1.20 |
M | channel.c: 18 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | channel.c: 19 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | channel.c: 20 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | check.c: 86 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | check.c: 87 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | check.c: 91 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | check.c: 95 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 98 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 98 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 101 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 102 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 104 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 107 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 108 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 110 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 112 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 114 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 117 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 117 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 120 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 121 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 123 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 124 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 129 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 131 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 132 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 135 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 136 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 137 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 140 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | check.c: 141 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
O | check.c: 1464 | Parameter list is KR. | GJB 4.8.2.8 |
O | check.c: 1465 | Parameter list is KR. | GJB 4.8.2.8 |
O | check.c: 1466 | Parameter list is KR. | GJB 4.8.2.8 |
O | check.c: 1468 | Parameter list is KR. | GJB 4.8.2.8 |
O | check.c: 1469 | Parameter list is KR. | GJB 4.8.2.8 |
M | check.c: 1480 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | check.c: 1480 | Parameter list is KR. | GJB 4.8.2.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | check.c: 1480 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | check.c: 2051 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | check.c: 2051 | Parameter list is KR. | GJB 4.8.2.8 |
M | check.c: 2051 | Parameter has same name as global variable. : srv_kws | GJB 4.15.1.3 |
O | check.c: 2057 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | check.c: 24 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
M | check.c: 25 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | check.c: 26 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | check.c: 27 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | check.c: 28 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | check.c: 29 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | check.c: 30 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | check.c: 32 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | check.c: 33 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | check.c: 34 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | check.c: 35 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | check.c: 36 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | check.c: 37 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | check.c: 38 | Included file has path. : <haproxy/dgram.h> | GJB 4.1.1.20 |
M | check.c: 39 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | check.c: 40 | Included file has path. : <haproxy/dynbuf-t.h> | GJB 4.1.1.20 |
M | check.c: 41 | Included file has path. : <haproxy/extcheck.h> | GJB 4.1.1.20 |
M | check.c: 42 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | check.c: 43 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | check.c: 44 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | check.c: 45 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | check.c: 46 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | check.c: 47 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | check.c: 48 | Included file has path. : <haproxy/istbuf.h> | GJB 4.1.1.20 |
M | check.c: 49 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | check.c: 50 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | check.c: 51 | Included file has path. : <haproxy/mailers.h> | GJB 4.1.1.20 |
M | check.c: 52 | Included file has path. : <haproxy/port_range.h> | GJB 4.1.1.20 |
M | check.c: 53 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | check.c: 54 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | check.c: 55 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | check.c: 56 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | check.c: 57 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | check.c: 58 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | check.c: 59 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | check.c: 60 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | check.c: 61 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | check.c: 62 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | check.c: 63 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | check.c: 64 | Included file has path. : <haproxy/tcpcheck.h> | GJB 4.1.1.20 |
M | check.c: 65 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | check.c: 66 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | check.c: 67 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | check.c: 68 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | check.c: 79 | Global not initialised at declaration. : checks_fe | GJB 5.2.1 |
M | chunk.c: 30 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | chunk.c: 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | chunk.c: 310 | Parameter list is KR. | GJB 4.8.2.8 |
O | chunk.c: 311 | Parameter list is KR. | GJB 4.8.2.8 |
M | chunk.c: 18 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | chunk.c: 19 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | chunk.c: 20 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | chunk.c: 21 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | chunk.c: 24 | Global not initialised at declaration. : trash_chunk | GJB 5.2.1 |
M | chunk.c: 25 | Global not initialised at declaration. : trash_chunk1 | GJB 5.2.1 |
M | chunk.c: 26 | Global not initialised at declaration. : trash_chunk2 | GJB 5.2.1 |
M | chunk.c: 29 | Global not initialised at declaration. : trash_size | GJB 5.2.1 |
M | chunk.c: 30 | Global not initialised at declaration. : trash_buf1 | GJB 5.2.1 |
M | chunk.c: 31 | Global not initialised at declaration. : trash_buf2 | GJB 5.2.1 |
O | chunk.c: 24 | Named variable declared but not used in code. : buffer | GJB 5.2.1,5.2.2 |
O | city.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
O | city.c: 4 | User type declared but not used in code analysed. : dummyCityHash | GJB 5.21 |
M | cli.c: 71 | Array has no bounds specified. | GJB 4.1.1.19 |
M | cli.c: 78 | Array has no bounds specified. | GJB 4.1.1.19 |
M | cli.c: 83 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cli.c: 90 | extern not in nominated include file. | GJB 4.7.1.5 |
M | cli.c: 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | cli.c: 90 | Array has no bounds specified. | GJB 4.1.1.19 |
M | cli.c: 479 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cli.c: 479 | Parameter list is KR. | GJB 4.8.2.8 |
O | cli.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | cli.c: 2761 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cli.c: 2761 | Parameter list is KR. | GJB 4.8.2.8 |
M | cli.c: 2761 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | cli.c: 2768 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cli.c: 2768 | Parameter list is KR. | GJB 4.8.2.8 |
M | cli.c: 2768 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | cli.c: 2777 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | cli.c: 2777 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | cli.c: 2777 | Parameter list is KR. | GJB 4.8.2.8 |
M | cli.c: 2777 | Parameter has same name as global variable. : bind_kws | GJB 4.15.1.3 |
O | cli.c: 2783 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | cli.c: 23 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | cli.c: 24 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | cli.c: 25 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | cli.c: 27 | Included file has path. : <net/if.h> | GJB 4.1.1.20 |
M | cli.c: 29 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | cli.c: 30 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | cli.c: 31 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | cli.c: 32 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | cli.c: 33 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | cli.c: 34 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | cli.c: 35 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | cli.c: 36 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | cli.c: 37 | Included file has path. : <haproxy/compression.h> | GJB 4.1.1.20 |
M | cli.c: 38 | Included file has path. : <haproxy/dns-t.h> | GJB 4.1.1.20 |
M | cli.c: 39 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | cli.c: 40 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | cli.c: 41 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | cli.c: 42 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | cli.c: 43 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | cli.c: 44 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | cli.c: 45 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | cli.c: 46 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | cli.c: 47 | Included file has path. : <haproxy/mworker-t.h> | GJB 4.1.1.20 |
M | cli.c: 48 | Included file has path. : <haproxy/pattern-t.h> | GJB 4.1.1.20 |
M | cli.c: 49 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | cli.c: 50 | Included file has path. : <haproxy/pipe.h> | GJB 4.1.1.20 |
M | cli.c: 51 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | cli.c: 52 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | cli.c: 53 | Included file has path. : <haproxy/sample-t.h> | GJB 4.1.1.20 |
M | cli.c: 54 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | cli.c: 55 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | cli.c: 56 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | cli.c: 57 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | cli.c: 58 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | cli.c: 59 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | cli.c: 60 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | cli.c: 61 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | cli.c: 62 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | cli.c: 63 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | cli.c: 64 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | cli.c: 68 | Global not initialised at declaration. : cli_applet | GJB 5.2.1 |
M | cli.c: 69 | Global not initialised at declaration. : mcli_applet | GJB 5.2.1 |
M | cli.c: 92 | Global not initialised at declaration. : mworker_proxy | GJB 5.2.1 |
M | compression.c: 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | compression.c: 95 | Array has no bounds specified. | GJB 4.1.1.19 |
M | compression.c: 711 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | compression.c: 711 | Parameter list is KR. | GJB 4.8.2.8 |
M | compression.c: 711 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | compression.c: 29 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | compression.c: 30 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | compression.c: 31 | Included file has path. : <haproxy/compression-t.h> | GJB 4.1.1.20 |
M | compression.c: 32 | Included file has path. : <haproxy/compression.h> | GJB 4.1.1.20 |
M | compression.c: 33 | Included file has path. : <haproxy/dynbuf.h> | GJB 4.1.1.20 |
M | compression.c: 34 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | compression.c: 35 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | compression.c: 36 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | compression.c: 37 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | compression.c: 38 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | connection.c: 30 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | connection.c: 30 | Parameter list is KR. | GJB 4.8.2.8 |
M | connection.c: 31 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | connection.c: 31 | Parameter list is KR. | GJB 4.8.2.8 |
M | connection.c: 32 | Function declared more than once. : DECLARE_POOL | GJB 5.1.23 |
M | connection.c: 32 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | connection.c: 32 | Parameter list is KR. | GJB 4.8.2.8 |
M | connection.c: 33 | Function declared more than once. : DECLARE_POOL | GJB 5.1.23 |
M | connection.c: 33 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | connection.c: 33 | Parameter list is KR. | GJB 4.8.2.8 |
M | connection.c: 1406 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | connection.c: 1406 | Parameter list is KR. | GJB 4.8.2.8 |
M | connection.c: 1406 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
M | connection.c: 1413 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | connection.c: 1413 | Parameter list is KR. | GJB 4.8.2.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | connection.c: 1413 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | connection.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | connection.c: 16 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | connection.c: 17 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | connection.c: 18 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | connection.c: 19 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | connection.c: 20 | Included file has path. : <haproxy/hash.h> | GJB 4.1.1.20 |
M | connection.c: 21 | Included file has path. : <haproxy/log-t.h> | GJB 4.1.1.20 |
M | connection.c: 22 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | connection.c: 23 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | connection.c: 24 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | connection.c: 25 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | connection.c: 26 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | connection.c: 27 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | connection.c: 44 | Global not initialised at declaration. : pp2_never_send_local | GJB 5.2.1 |
M | da.c: 19 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | da.c: 20 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | da.c: 25 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | da.c: 26 | Use of bit field in structure declaration. : daset | GJB 4.1.2.4 |
M | da.c: 26 | Bit field not signed or unsigned int. | GJB 4.6.1.7 |
M | da.c: 27 | Struct field initialisation incorrect. : 'signed char' used, 'void' expected | GJB 4.13.1.2 |
M | da.c: 28 | Struct field initialisation incorrect. : 'signed char' used, 'char' expected | GJB 4.13.1.2 |
M | da.c: 29 | Struct field initialisation incorrect. : 'signed char' used, 'char' expected | GJB 4.13.1.2 |
M | da.c: 30 | Signed/unsigned conversion without cast. : (unsigned int and int): ,.cookienamelen | GJB 4.6.1.9 |
M | da.c: 30 | Signed/unsigned conversion without cast. : (unsigned char and int): ,.cookienamelen = 0 ,.useragentid = 0 ,.daset | GJB 4.6.1.9 |
M | da.c: 30 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
M | da.c: 394 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | da.c: 394 | Parameter list is KR. | GJB 4.8.2.8 |
M | da.c: 394 | Parameter has same name as global variable. : dacfg_kws | GJB 4.15.1.3 |
M | da.c: 402 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | da.c: 402 | Parameter list is KR. | GJB 4.8.2.8 |
M | da.c: 402 | Parameter has same name as global variable. : fetch_kws | GJB 4.15.1.3 |
M | da.c: 422 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | da.c: 422 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | da.c: 422 | Parameter list is KR. | GJB 4.8.2.8 |
M | da.c: 422 | Parameter has same name as global variable. : conv_kws | GJB 4.15.1.3 |
O | da.c: 424 | Parameter list is KR. | GJB 4.8.2.8 |
O | da.c: 425 | Parameter list is KR. | GJB 4.8.2.8 |
M | da.c: 3 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | da.c: 4 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | da.c: 5 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | da.c: 6 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | da.c: 7 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | da.c: 8 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | da.c: 9 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | da.c: 10 | Included file has path. : <haproxy/http_fetch.h> | GJB 4.1.1.20 |
M | da.c: 11 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | da.c: 12 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | da.c: 13 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | da.c: 14 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | dac.c: 6 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | dac.c: 6 | Array has no bounds specified. | GJB 4.1.1.19 |
M | dac.c: 6 | Value is not of appropriate type. : (int and char): | GJB 4.6.1.8 |
O | dac.c: 6 | Non standard character $ in source. | GJB 4.15.2.1 |
O | dac.c: 8 | User type declared but not used in code analysed. : da_bitset | GJB 5.21 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | debug.c: 45 | Nested comment found. | GJB 4.10.1.1 |
M | debug.c: 46 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | debug.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | debug.c: 21 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | debug.c: 23 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | debug.c: 24 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | debug.c: 25 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | debug.c: 26 | Included file has path. : <haproxy/debug.h> | GJB 4.1.1.20 |
M | debug.c: 27 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | debug.c: 28 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | debug.c: 29 | Included file has path. : <haproxy/hlua.h> | GJB 4.1.1.20 |
M | debug.c: 30 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | debug.c: 31 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | debug.c: 32 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | debug.c: 33 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | debug.c: 34 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | debug.c: 35 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | debug.c: 36 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | decode.c: 27 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | decode.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | decode.c: 30 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | decode.c: 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | decode.c: 33 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | decode.c: 34 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | decode.c: 84 | Executable code before an included file. | GJB 4.2.1.5 |
M | decode.c: 21 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | decode.c: 22 | Included file has path. : <haproxy/hpack-dec.h> | GJB 4.1.1.20 |
M | decode.c: 85 | Included file has path. : "../src/hpack-huff.c" | GJB 4.1.1.20 |
M | decode.c: 86 | Included file has path. : "../src/hpack-tbl.c" | GJB 4.1.1.20 |
M | decode.c: 87 | Included file has path. : "../src/hpack-dec.c" | GJB 4.1.1.20 |
M | decode.c: 27 | Global not initialised at declaration. : hex | GJB 5.2.1 |
M | decode.c: 28 | Global not initialised at declaration. : buf | GJB 5.2.1 |
M | decode.c: 30 | Global not initialised at declaration. : trash_buf | GJB 5.2.1 |
M | decode.c: 31 | Global not initialised at declaration. : tmp_buf | GJB 5.2.1 |
M | decode.c: 28 | Procedure contains UR data flow anomalies. : buf | GJB 4.13.1.4 |
M | defender.c: 7 | Nested comment found. | GJB 4.10.1.1 |
M | defender.c: 10 | Nested comment found. | GJB 4.10.1.1 |
M | defender.c: 44 | extern not in nominated include file. | GJB 4.7.1.5 |
M | defender.c: 48 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
M | defender.c: 48 | Procedure parameter has a type but no identifier. : param 1 | GJB 4.1.1.7 |
M | defender.c: 48 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | defender.c: 48 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | defender.c: 51 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | defender.c: 51 | Array has no bounds specified. | GJB 4.1.1.19 |
M | defender.c: 58 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | defender.c: 59 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | defender.c: 61 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | defender.c: 61 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | defender.c: 65 | Value is not of appropriate type. : (int and char): { "defender" | GJB 4.6.1.8 |
M | defender.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | defender.c: 22 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | defender.c: 23 | Included file has path. : <haproxy/spoe.h> | GJB 4.1.1.20 |
M | defender.c: 24 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | defender.c: 25 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | defender.c: 58 | Global not initialised at declaration. : hostname | GJB 5.2.1 |
M | defender.c: 59 | Global not initialised at declaration. : defender_cwd | GJB 5.2.1 |
M | dgram.c: 13 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | dgram.c: 14 | Included file has path. : <haproxy/dgram.h> | GJB 4.1.1.20 |
M | dict.c: 211 | Comment possibly contains code. | GJB 4.10.2.1 |
M | dict.c: 13 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | disk.c: 13 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | disk.c: 14 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | disk.c: 16 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | dns.c: 53 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 53 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 54 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 54 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 55 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 55 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 79 | Array has no bounds specified. | GJB 4.1.1.19 |
M | dns.c: 79 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 82 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 84 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 86 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 88 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 90 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 92 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 119 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | dns.c: 119 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | dns.c: 122 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | dns.c: 122 | Use of sizeof on a type. | GJB 5.1.8 |
M | dns.c: 130 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 130 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 130 | Parameter has same name as global variable. : dns_stats_module | GJB 4.15.1.3 |
M | dns.c: 2609 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 2609 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 2609 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | dns.c: 2894 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | dns.c: 2894 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 2894 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 2894 | Parameter has same name as global variable. : http_req_kws | GJB 4.15.1.3 |
M | dns.c: 2901 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | dns.c: 2901 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | dns.c: 2901 | Parameter list is KR. | GJB 4.8.2.8 |
M | dns.c: 2901 | Parameter has same name as global variable. : tcp_req_cont_actions | GJB 4.15.1.3 |
O | dns.c: 2927 | Parameter list is KR. | GJB 4.8.2.8 |
O | dns.c: 2928 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | dns.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | dns.c: 22 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | dns.c: 23 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | dns.c: 24 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | dns.c: 25 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | dns.c: 26 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | dns.c: 27 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | dns.c: 28 | Included file has path. : <haproxy/dgram.h> | GJB 4.1.1.20 |
M | dns.c: 29 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | dns.c: 30 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | dns.c: 31 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | dns.c: 32 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | dns.c: 33 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | dns.c: 34 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | dns.c: 35 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | dns.c: 36 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | dns.c: 37 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | dns.c: 38 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | dns.c: 39 | Included file has path. : <haproxy/stats.h> | GJB 4.1.1.20 |
M | dns.c: 40 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | dns.c: 41 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | dns.c: 42 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | dns.c: 43 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | dns.c: 44 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | dns.c: 45 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | dns.c: 97 | Global not initialised at declaration. : dns_counters | GJB 5.2.1 |
M | dummy-wurfl.c: 6 | Nested comment found. | GJB 4.10.1.1 |
O | dummy-wurfl.c: 16 | #pragma used. | GJB 4.1.2.7 |
O | dummy-wurfl.c: 17 | #pragma used. | GJB 4.1.2.7 |
O | dummy-wurfl.c: 126 | #pragma used. | GJB 4.1.2.7 |
M | dummy-wurfl.c: 14 | Included file has path. : "wurfl/wurfl.h" | GJB 4.1.1.20 |
M | dynbuf.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | dynbuf.c: 18 | Included file has path. : <haproxy/dynbuf.h> | GJB 4.1.1.20 |
M | dynbuf.c: 19 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | dynbuf.c: 20 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | dynbuf.c: 21 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | dynbuf.c: 23 | Global not initialised at declaration. : pool_head_buffer | GJB 5.2.1 |
M | eb32sctree.c: 23 | Included file has path. : <import/eb32sctree.h> | GJB 4.1.1.20 |
M | eb32tree.c: 23 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | eb64tree.c: 23 | Included file has path. : <import/eb64tree.h> | GJB 4.1.1.20 |
M | ebimtree.c: 23 | Included file has path. : <import/ebimtree.h> | GJB 4.1.1.20 |
M | ebimtree.c: 24 | Included file has path. : <import/ebpttree.h> | GJB 4.1.1.20 |
M | ebistree.c: 23 | Included file has path. : <import/ebistree.h> | GJB 4.1.1.20 |
M | ebmbtree.c: 23 | Included file has path. : <import/ebmbtree.h> | GJB 4.1.1.20 |
M | ebpttree.c: 23 | Included file has path. : <import/ebpttree.h> | GJB 4.1.1.20 |
M | ebsttree.c: 23 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | ebtree.c: 21 | Included file has path. : <import/ebtree.h> | GJB 4.1.1.20 |
M | engine.c: 13 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | engine.c: 15 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
O | ev_epoll.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | ev_epoll.c: 13 | Included file has path. : <sys/epoll.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 14 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 15 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 17 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 18 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 19 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 20 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 21 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 22 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 23 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | ev_epoll.c: 24 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | ev_epoll.c: 28 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | ev_epoll.c: 29 | Global not initialised at declaration. : epoll_fd | GJB 5.2.1 |
O | ev_epoll.c: 28 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
O | ev_evports.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | ev_evports.c: 13 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | ev_evports.c: 14 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ev_evports.c: 21 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | ev_evports.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ev_evports.c: 23 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | ev_evports.c: 24 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | ev_evports.c: 25 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | ev_evports.c: 26 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | ev_evports.c: 27 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | ev_evports.c: 32 | Global not initialised at declaration. : evports_fd | GJB 5.2.1 |
O | ev_kqueue.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | ev_kqueue.c: 14 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 15 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 17 | Included file has path. : <sys/event.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 18 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 20 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 22 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 23 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 24 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 25 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 26 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | ev_kqueue.c: 30 | Global not initialised at declaration. : kqueue_fd | GJB 5.2.1 |
M | ev_kqueue.c: 31 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
O | ev_kqueue.c: 31 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
O | ev_poll.c: 13 | Use of // comment in macro definition. | GJB 4.10.2.2 |
M | ev_poll.c: 17 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | ev_poll.c: 18 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ev_poll.c: 20 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | ev_poll.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ev_poll.c: 22 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | ev_poll.c: 23 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | ev_poll.c: 24 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | ev_poll.c: 25 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | ev_poll.c: 33 | Global not initialised at declaration. : maxfd | GJB 5.2.1 |
M | ev_poll.c: 34 | Global not initialised at declaration. : fd_evts | GJB 5.2.1 |
O | ev_poll.c: 38 | Named variable declared but not used in code. : pollfd | GJB 5.2.1,5.2.2 |
M | ev_select.c: 14 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | ev_select.c: 15 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ev_select.c: 17 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | ev_select.c: 18 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ev_select.c: 19 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | ev_select.c: 20 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | ev_select.c: 21 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | ev_select.c: 22 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | ev_select.c: 26 | Global not initialised at declaration. : maxfd | GJB 5.2.1 |
M | ev_select.c: 27 | Global not initialised at declaration. : fd_evts | GJB 5.2.1 |
M | ev_select.c: 28 | Global not initialised at declaration. : tmp_evts | GJB 5.2.1 |
O | event.c: 23 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | event.c: 23 | Macro parameter not in brackets. : b | GJB 4.2.1.6 |
M | event.c: 23 | More than one of # or ## in a macro. | GJB 4.1.1.11 |
M | event.c: 23 | Macro parameter not in brackets. : a | GJB 4.2.1.6 |
M | event.c: 23 | Macro parameter not in brackets. : c | GJB 4.2.1.6 |
M | event.c: 23 | Macro parameter not in brackets. : d | GJB 4.2.1.6 |
M | event.c: 23 | Macro parameter not in brackets. : e | GJB 4.2.1.6 |
M | event.c: 23 | Macro parameter not in brackets. : f | GJB 4.2.1.6 |
M | event.c: 23 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | event.c: 23 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | event.c: 25 | #undef used. | GJB 4.1.2.6 |
O | extcheck.c: 47 | Parameter list is KR. | GJB 4.8.2.8 |
M | extcheck.c: 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | extcheck.c: 59 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | extcheck.c: 90 | Value is not of appropriate type. : (char and signed char): , INET6_ADDRSTRLEN | GJB 4.6.1.8 |
O | extcheck.c: 90 | Use of mixed mode arithmetic. : (char and signed char): , INET6_ADDRSTRLEN + 1 | GJB 4.6.2.3 |
M | extcheck.c: 202 | Macro parameter not in brackets. : check | GJB 4.2.1.6 |
M | extcheck.c: 202 | Macro parameter not in brackets. : envidx | GJB 4.2.1.6 |
M | extcheck.c: 202 | Macro parameter not in brackets. : value | GJB 4.2.1.6 |
M | extcheck.c: 202 | Macro parameter not in brackets. : fail | GJB 4.2.1.6 |
M | extcheck.c: 202 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | extcheck.c: 202 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | extcheck.c: 14 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
M | extcheck.c: 15 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | extcheck.c: 16 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | extcheck.c: 17 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | extcheck.c: 30 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | extcheck.c: 31 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | extcheck.c: 32 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | extcheck.c: 33 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | extcheck.c: 34 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | extcheck.c: 35 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | extcheck.c: 36 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | extcheck.c: 37 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | extcheck.c: 38 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | extcheck.c: 39 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | extcheck.c: 40 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | extcheck.c: 41 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | extcheck.c: 42 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | extcheck.c: 46 | Global not initialised at declaration. : pool_head_pid_list | GJB 5.2.1 |
M | fcgi-app.c: 39 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 39 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 40 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 40 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 41 | Function declared more than once. : DECLARE_STATIC_POOL | GJB 5.1.23 |
M | fcgi-app.c: 41 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 41 | Parameter list is KR. | GJB 4.8.2.8 |
O | fcgi-app.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | fcgi-app.c: 1132 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 1132 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 1132 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
M | fcgi-app.c: 1133 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 1133 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 1133 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | fcgi-app.c: 1134 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | fcgi-app.c: 1134 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 1134 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 1134 | Parameter has same name as global variable. : filter_kws | GJB 4.15.1.3 |
M | fcgi-app.c: 1136 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
O | fcgi-app.c: 1136 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 1138 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 1138 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 1139 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fcgi-app.c: 1139 | Parameter list is KR. | GJB 4.8.2.8 |
M | fcgi-app.c: 13 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 15 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 16 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 17 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 18 | Included file has path. : <haproxy/fcgi-app.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 19 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 20 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 21 | Included file has path. : <haproxy/http_fetch.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 22 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 23 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 24 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 25 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 26 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 27 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 28 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 29 | Included file has path. : <haproxy/sink.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 30 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | fcgi-app.c: 36 | Global not initialised at declaration. : fcgi_flt_ops | GJB 5.2.1 |
M | fcgi.c: 27 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | fcgi.c: 28 | Included file has path. : <haproxy/fcgi.h> | GJB 4.1.1.20 |
M | fcgi.c: 29 | Included file has path. : <haproxy/istbuf.h> | GJB 4.1.1.20 |
O | fd.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | fd.c: 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | fd.c: 117 | Macro parameter not in brackets. : fd | GJB 4.2.1.6 |
M | fd.c: 117 | Macro parameter not in brackets. : off | GJB 4.2.1.6 |
M | fd.c: 117 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | fd.c: 117 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | fd.c: 118 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | fd.c: 118 | Macro parameter not in brackets. : fd | GJB 4.2.1.6 |
M | fd.c: 118 | Macro parameter not in brackets. : off | GJB 4.2.1.6 |
M | fd.c: 118 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | fd.c: 118 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | fd.c: 294 | #undef used. | GJB 4.1.2.6 |
O | fd.c: 295 | #undef used. | GJB 4.1.2.6 |
O | fd.c: 340 | Parameter list is KR. | GJB 4.8.2.8 |
O | fd.c: 423 | Parameter list is KR. | GJB 4.8.2.8 |
M | fd.c: 836 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | fd.c: 836 | Parameter list is KR. | GJB 4.8.2.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | fd.c: 836 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
O | fd.c: 838 | Parameter list is KR. | GJB 4.8.2.8 |
O | fd.c: 839 | Parameter list is KR. | GJB 4.8.2.8 |
O | fd.c: 840 | Parameter list is KR. | GJB 4.8.2.8 |
O | fd.c: 841 | Parameter list is KR. | GJB 4.8.2.8 |
M | fd.c: 81 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | fd.c: 82 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
M | fd.c: 83 | Included file has path. : <sys/uio.h> | GJB 4.1.1.20 |
M | fd.c: 90 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | fd.c: 91 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | fd.c: 92 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | fd.c: 93 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | fd.c: 94 | Included file has path. : <haproxy/port_range.h> | GJB 4.1.1.20 |
M | fd.c: 95 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | fd.c: 101 | Global not initialised at declaration. : totalconn | GJB 5.2.1 |
M | fd.c: 102 | Global not initialised at declaration. : actconn | GJB 5.2.1 |
M | fd.c: 104 | Global not initialised at declaration. : pollers | GJB 5.2.1 |
M | fd.c: 105 | Global not initialised at declaration. : cur_poller | GJB 5.2.1 |
M | fd.c: 108 | Global not initialised at declaration. : update_list | GJB 5.2.1 |
M | fd.c: 113 | Global not initialised at declaration. : poller_wr_pipe | GJB 5.2.1 |
M | filltab25.c: 21 | Name redeclared in another C name space (MR). : srv | GJB 4.1.1.16 |
O | filltab25.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | filltab25.c: 33 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | filltab25.c: 12 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | filltab25.c: 21 | Global not initialised at declaration. : srv | GJB 5.2.1 |
M | filltab25.c: 28 | Global not initialised at declaration. : init_tree | GJB 5.2.1 |
M | filltab25.c: 29 | Global not initialised at declaration. : next_tree | GJB 5.2.1 |
M | filltab25.c: 31 | Global not initialised at declaration. : nsrv | GJB 5.2.1 |
M | filltab25.c: 32 | Global not initialised at declaration. : nsw | GJB 5.2.1 |
M | filltab25.c: 32 | Global not initialised at declaration. : sw | GJB 5.2.1 |
M | filltab25.c: 33 | Global not initialised at declaration. : p | GJB 5.2.1 |
M | filltab25.c: 398 | Memory not freed after last reference. : srv | GJB 5.1.17 |
M | filter.c: 13 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | filter.c: 14 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | filter.c: 16 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | filters.c: 30 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | filters.c: 33 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | filters.c: 33 | Parameter list is KR. | GJB 4.8.2.8 |
M | filters.c: 35 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | filters.c: 48 | Comment possibly contains code. | GJB 4.10.2.1 |
M | filters.c: 50 | Comment possibly contains code. | GJB 4.10.2.1 |
M | filters.c: 56 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | filters.c: 56 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | filters.c: 69 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | filters.c: 73 | Macro parameter not in brackets. : label | GJB 4.2.1.6 |
M | filters.c: 73 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | filters.c: 73 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | filters.c: 1078 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | filters.c: 1078 | Parameter list is KR. | GJB 4.8.2.8 |
M | filters.c: 1078 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
O | filters.c: 1080 | Parameter list is KR. | GJB 4.8.2.8 |
O | filters.c: 1081 | Parameter list is KR. | GJB 4.8.2.8 |
O | filters.c: 1082 | Parameter list is KR. | GJB 4.8.2.8 |
M | filters.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | filters.c: 14 | Included file has path. : <haproxy/buf-t.h> | GJB 4.1.1.20 |
M | filters.c: 15 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | filters.c: 16 | Included file has path. : <haproxy/compression.h> | GJB 4.1.1.20 |
M | filters.c: 17 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | filters.c: 18 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | filters.c: 19 | Included file has path. : <haproxy/flt_http_comp.h> | GJB 4.1.1.20 |
M | filters.c: 20 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | filters.c: 21 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | filters.c: 22 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | filters.c: 23 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | filters.c: 24 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | filters.c: 25 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | filters.c: 26 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | filters.c: 27 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | fix.c: 13 | Included file has path. : <haproxy/intops.h> | GJB 4.1.1.20 |
M | fix.c: 14 | Included file has path. : <haproxy/fix.h> | GJB 4.1.1.20 |
O | flags.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | flags.c: 24 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flags.c: 24 | Array has no bounds specified. | GJB 4.1.1.19 |
O | flags.c: 26 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | flags.c: 26 | Macro parameter not in brackets. : n | GJB 4.2.1.6 |
M | flags.c: 26 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | flags.c: 26 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | flags.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | flags.c: 4 | Included file has path. : <haproxy/channel-t.h> | GJB 4.1.1.20 |
M | flags.c: 5 | Included file has path. : <haproxy/connection-t.h> | GJB 4.1.1.20 |
M | flags.c: 6 | Included file has path. : <haproxy/http_ana-t.h> | GJB 4.1.1.20 |
M | flags.c: 7 | Included file has path. : <haproxy/stream-t.h> | GJB 4.1.1.20 |
M | flags.c: 8 | Included file has path. : <haproxy/stream_interface-t.h> | GJB 4.1.1.20 |
M | flags.c: 9 | Included file has path. : <haproxy/task-t.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 33 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | flt_http_comp.c: 34 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | flt_http_comp.c: 38 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_http_comp.c: 38 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_http_comp.c: 44 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | flt_http_comp.c: 47 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | flt_http_comp.c: 50 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | flt_http_comp.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flt_http_comp.c: 811 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_http_comp.c: 811 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_http_comp.c: 811 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | flt_http_comp.c: 820 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_http_comp.c: 820 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_http_comp.c: 820 | Parameter has same name as global variable. : filter_kws | GJB 4.15.1.3 |
M | flt_http_comp.c: 830 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | flt_http_comp.c: 830 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_http_comp.c: 830 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_http_comp.c: 830 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
M | flt_http_comp.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 14 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 15 | Included file has path. : <haproxy/compression.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 16 | Included file has path. : <haproxy/dynbuf.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 17 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 18 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | flt_http_comp.c: 19 | Included file has path. : <haproxy/http_ana-t.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 20 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 21 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 22 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 23 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 24 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 25 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 26 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | flt_http_comp.c: 30 | Global not initialised at declaration. : comp_ops | GJB 5.2.1 |
M | flt_http_comp.c: 40 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | flt_http_comp.c: 40 | Global not initialised at declaration. : tmpbuf | GJB 5.2.1 |
M | flt_http_comp.c: 41 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | flt_http_comp.c: 41 | Global not initialised at declaration. : zbuf | GJB 5.2.1 |
O | flt_http_comp.c: 41 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
M | flt_spoe.c: 51 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | flt_spoe.c: 61 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | flt_spoe.c: 73 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flt_spoe.c: 96 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 96 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 97 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 97 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flt_spoe.c: 206 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flt_spoe.c: 284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flt_spoe.c: 290 | Array has no bounds specified. | GJB 4.1.1.19 |
M | flt_spoe.c: 4677 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 4677 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 4677 | Parameter has same name as global variable. : flt_kws | GJB 4.15.1.3 |
M | flt_spoe.c: 4686 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 4686 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 4686 | Parameter has same name as global variable. : tcp_req_action_kws | GJB 4.15.1.3 |
M | flt_spoe.c: 4694 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | flt_spoe.c: 4694 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 4694 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 4694 | Parameter has same name as global variable. : tcp_res_action_kws | GJB 4.15.1.3 |
M | flt_spoe.c: 4702 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | flt_spoe.c: 4702 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 4702 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 4702 | Parameter has same name as global variable. : http_req_action_kws | GJB 4.15.1.3 |
M | flt_spoe.c: 4710 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | flt_spoe.c: 4710 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | flt_spoe.c: 4710 | Parameter list is KR. | GJB 4.8.2.8 |
M | flt_spoe.c: 4710 | Parameter has same name as global variable. : http_res_action_kws | GJB 4.15.1.3 |
O | flt_spoe.c: 4710 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | flt_spoe.c: 15 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 16 | Included file has path. : <haproxy/action-t.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 18 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 19 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 20 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 21 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 22 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 23 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 24 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 25 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 26 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 27 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 28 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | flt_spoe.c: 29 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 30 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 31 | Included file has path. : <haproxy/spoe.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 32 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 33 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 34 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 35 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 36 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 37 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 38 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | flt_spoe.c: 82 | Global not initialised at declaration. : curmsgs | GJB 5.2.1 |
M | flt_spoe.c: 83 | Global not initialised at declaration. : curgrps | GJB 5.2.1 |
M | flt_spoe.c: 84 | Global not initialised at declaration. : curmphs | GJB 5.2.1 |
M | flt_spoe.c: 85 | Global not initialised at declaration. : curgphs | GJB 5.2.1 |
M | flt_spoe.c: 86 | Global not initialised at declaration. : curvars | GJB 5.2.1 |
M | flt_spoe.c: 89 | Global not initialised at declaration. : curlogsrvs | GJB 5.2.1 |
M | flt_spoe.c: 92 | Global not initialised at declaration. : curpxopts | GJB 5.2.1 |
M | flt_spoe.c: 93 | Global not initialised at declaration. : curpxopts2 | GJB 5.2.1 |
M | flt_spoe.c: 99 | Global not initialised at declaration. : spoe_ops | GJB 5.2.1 |
M | flt_trace.c: 37 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | flt_trace.c: 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | flt_trace.c: 42 | Macro parameter not in brackets. : conf | GJB 4.2.1.6 |
M | flt_trace.c: 42 | Macro parameter not in brackets. : fmt | GJB 4.2.1.6 |
O | flt_trace.c: 42 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | flt_trace.c: 42 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | flt_trace.c: 42 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | flt_trace.c: 50 | Macro parameter not in brackets. : conf | GJB 4.2.1.6 |
M | flt_trace.c: 50 | Macro parameter not in brackets. : fmt | GJB 4.2.1.6 |
M | flt_trace.c: 50 | Macro parameter not in brackets. : strm | GJB 4.2.1.6 |
O | flt_trace.c: 50 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | flt_trace.c: 50 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | flt_trace.c: 50 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | flt_trace.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | flt_trace.c: 16 | Included file has path. : <haproxy/channel-t.h> | GJB 4.1.1.20 |
M | flt_trace.c: 17 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | flt_trace.c: 18 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | flt_trace.c: 19 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | flt_trace.c: 20 | Included file has path. : <haproxy/http_ana-t.h> | GJB 4.1.1.20 |
M | flt_trace.c: 21 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | flt_trace.c: 22 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | flt_trace.c: 23 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | flt_trace.c: 24 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | flt_trace.c: 25 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | flt_trace.c: 26 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | flt_trace.c: 30 | Global not initialised at declaration. : trace_ops | GJB 5.2.1 |
M | freq_ctr.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | freq_ctr.c: 14 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | freq_ctr.c: 15 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | freq_ctr.c: 16 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | frontend.c: 281 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | frontend.c: 281 | Parameter list is KR. | GJB 4.8.2.8 |
M | frontend.c: 281 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | frontend.c: 290 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | frontend.c: 290 | Parameter list is KR. | GJB 4.8.2.8 |
M | frontend.c: 290 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
M | frontend.c: 19 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | frontend.c: 20 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | frontend.c: 21 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | frontend.c: 23 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | frontend.c: 25 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | frontend.c: 26 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | frontend.c: 27 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | frontend.c: 28 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | frontend.c: 29 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | frontend.c: 30 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | frontend.c: 31 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | frontend.c: 32 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | frontend.c: 33 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | frontend.c: 34 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | frontend.c: 35 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | frontend.c: 36 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | frontend.c: 37 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | frontend.c: 38 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | frontend.c: 39 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | frontend.c: 40 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | frontend.c: 41 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | gen-enc.c: 22 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | gen-enc.c: 29 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | gen-enc.c: 35 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | gen-enc.c: 37 | Array has no bounds specified. | GJB 4.1.1.19 |
M | gen-enc.c: 17 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | gen-enc.c: 18 | Included file has path. : <haproxy/hpack-tbl-t.h> | GJB 4.1.1.20 |
M | gen-enc.c: 19 | Included file has path. : "../../src/hpack-tbl.c" | GJB 4.1.1.20 |
M | gen-enc.c: 27 | Global not initialised at declaration. : idxhdr | GJB 5.2.1 |
M | gen-enc.c: 28 | Global not initialised at declaration. : positions | GJB 5.2.1 |
M | gen-enc.c: 29 | Global not initialised at declaration. : known_hdr | GJB 5.2.1 |
M | gen-enc.c: 27 | Procedure contains UR data flow anomalies. : idxhdr.ptr | GJB 4.13.1.4 |
M | gen-enc.c: 29 | Procedure contains UR data flow anomalies. : known_hdr | GJB 4.13.1.4 |
M | group.c: 23 | Macro parameter not in brackets. : a | GJB 4.2.1.6 |
M | group.c: 23 | Macro parameter not in brackets. : b | GJB 4.2.1.6 |
M | group.c: 23 | Macro parameter not in brackets. : c | GJB 4.2.1.6 |
M | group.c: 23 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | group.c: 23 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | group.c: 24 | Array has no bounds specified. | GJB 4.1.1.19 |
O | group.c: 25 | #undef used. | GJB 4.1.2.6 |
M | group.c: 313 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | group.c: 313 | Parameter list is KR. | GJB 4.8.2.8 |
M | group.c: 313 | Parameter has same name as global variable. : tcp_req_action_kws | GJB 4.15.1.3 |
M | group.c: 321 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | group.c: 321 | Parameter list is KR. | GJB 4.8.2.8 |
M | group.c: 321 | Parameter has same name as global variable. : tcp_res_action_kws | GJB 4.15.1.3 |
M | group.c: 329 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | group.c: 329 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | group.c: 329 | Parameter list is KR. | GJB 4.8.2.8 |
M | group.c: 329 | Parameter has same name as global variable. : http_req_action_kws | GJB 4.15.1.3 |
M | group.c: 337 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | group.c: 337 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | group.c: 337 | Parameter list is KR. | GJB 4.8.2.8 |
M | group.c: 337 | Parameter has same name as global variable. : http_res_action_kws | GJB 4.15.1.3 |
M | group.c: 345 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | group.c: 345 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | group.c: 345 | Parameter list is KR. | GJB 4.8.2.8 |
M | group.c: 345 | Parameter has same name as global variable. : http_after_res_actions_kws | GJB 4.15.1.3 |
M | h1.c: 196 | Macro parameter not in brackets. : state | GJB 4.2.1.6 |
M | h1.c: 196 | Macro parameter not in brackets. : bad | GJB 4.2.1.6 |
M | h1.c: 196 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | h1.c: 196 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | h1.c: 208 | Macro parameter not in brackets. : more | GJB 4.2.1.6 |
M | h1.c: 208 | Macro parameter not in brackets. : state | GJB 4.2.1.6 |
M | h1.c: 208 | Macro parameter not in brackets. : stop | GJB 4.2.1.6 |
M | h1.c: 208 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | h1.c: 208 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | h1.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | h1.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | h1.c: 15 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | h1.c: 16 | Included file has path. : <haproxy/http-hdr.h> | GJB 4.1.1.20 |
M | h1_htx.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | h1_htx.c: 14 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | h1_htx.c: 15 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | h1_htx.c: 16 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | h1_htx.c: 17 | Included file has path. : <haproxy/h1_htx.h> | GJB 4.1.1.20 |
M | h1_htx.c: 18 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | h1_htx.c: 19 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | h1_htx.c: 20 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | h2.c: 156 | Nested comment found. | GJB 4.10.1.1 |
M | h2.c: 29 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | h2.c: 30 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | h2.c: 31 | Included file has path. : <haproxy/h2.h> | GJB 4.1.1.20 |
M | h2.c: 32 | Included file has path. : <haproxy/http-hdr-t.h> | GJB 4.1.1.20 |
M | h2.c: 33 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | h2.c: 34 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | h2.c: 35 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | halog.c: 42 | Type conversion without cast. : (unsigned char and char): #define SEP( c ) ( ( unsigned char ) ( c ) <= ' ' | GJB 4.6.1.9 |
M | halog.c: 42 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | halog.c: 43 | Macro parameter not in brackets. : p | GJB 4.2.1.6 |
M | halog.c: 43 | Macro parameter not in brackets. : c | GJB 4.2.1.6 |
M | halog.c: 43 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | halog.c: 43 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | halog.c: 65 | Union declared. | GJB 4.1.2.8 |
M | halog.c: 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 125 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 133 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 133 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 136 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 136 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 137 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | halog.c: 137 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 139 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 139 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 141 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | halog.c: 141 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | halog.c: 216 | Non standard character $ in source. | GJB 4.15.2.1 |
O | halog.c: 221 | Non standard character $ in source. | GJB 4.15.2.1 |
O | halog.c: 1790 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | halog.c: 23 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | halog.c: 24 | Included file has path. : <import/eb64tree.h> | GJB 4.1.1.20 |
M | halog.c: 25 | Included file has path. : <import/ebistree.h> | GJB 4.1.1.20 |
M | halog.c: 26 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | halog.c: 125 | Global not initialised at declaration. : line | GJB 5.2.1 |
O | halog.c: 131 | No definition in system for prototyped procedure. : fgets2 | GJB 5.21 |
M | haproxy.c: 296 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 310 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 321 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 332 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 342 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 351 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 363 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 374 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 385 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 396 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 406 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | haproxy.c: 14 | Nested comment found. | GJB 4.10.1.1 |
M | haproxy.c: 166 | Expression needs brackets. | GJB 5.1.2 |
M | haproxy.c: 166 | Use of sizeof on a type. | GJB 5.1.8 |
M | haproxy.c: 166 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | haproxy.c: 254 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | haproxy.c: 256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | haproxy.c: 265 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | haproxy.c: 266 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | haproxy.c: 268 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | haproxy.c: 297 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | haproxy.c: 311 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 322 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 333 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 343 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 352 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 364 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 375 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 386 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 397 | Procedure pointer declared. | GJB 4.4.1.3 |
M | haproxy.c: 407 | Procedure pointer declared. | GJB 4.4.1.3 |
O | haproxy.c: 3786 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | haproxy.c: 35 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | haproxy.c: 36 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | haproxy.c: 37 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | haproxy.c: 38 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | haproxy.c: 39 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | haproxy.c: 40 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | haproxy.c: 41 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | haproxy.c: 47 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
M | haproxy.c: 48 | Included file has path. : <sys/utsname.h> | GJB 4.1.1.20 |
M | haproxy.c: 49 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | haproxy.c: 80 | Included file has path. : <import/sha1.h> | GJB 4.1.1.20 |
M | haproxy.c: 82 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | haproxy.c: 83 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | haproxy.c: 84 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | haproxy.c: 85 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | haproxy.c: 86 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | haproxy.c: 87 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | haproxy.c: 88 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | haproxy.c: 89 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | haproxy.c: 90 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | haproxy.c: 91 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | haproxy.c: 92 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | haproxy.c: 93 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | haproxy.c: 94 | Included file has path. : <haproxy/dynbuf.h> | GJB 4.1.1.20 |
M | haproxy.c: 95 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | haproxy.c: 96 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | haproxy.c: 97 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | haproxy.c: 98 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | haproxy.c: 99 | Included file has path. : <haproxy/hlua.h> | GJB 4.1.1.20 |
M | haproxy.c: 100 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | haproxy.c: 101 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | haproxy.c: 102 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | haproxy.c: 103 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | haproxy.c: 104 | Included file has path. : <haproxy/mworker.h> | GJB 4.1.1.20 |
M | haproxy.c: 105 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | haproxy.c: 106 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | haproxy.c: 107 | Included file has path. : <haproxy/openssl-compat.h> | GJB 4.1.1.20 |
M | haproxy.c: 108 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | haproxy.c: 109 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | haproxy.c: 110 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | haproxy.c: 111 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | haproxy.c: 112 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | haproxy.c: 113 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | haproxy.c: 114 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | haproxy.c: 115 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | haproxy.c: 116 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | haproxy.c: 117 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | haproxy.c: 118 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | haproxy.c: 119 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | haproxy.c: 120 | Included file has path. : <haproxy/sock_inet.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | haproxy.c: 121 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | haproxy.c: 122 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | haproxy.c: 123 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | haproxy.c: 124 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | haproxy.c: 125 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | haproxy.c: 126 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | haproxy.c: 127 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | haproxy.c: 128 | Included file has path. : <haproxy/uri_auth-t.h> | GJB 4.1.1.20 |
M | haproxy.c: 129 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | haproxy.c: 130 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | haproxy.c: 132 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | haproxy.c: 135 | Global not initialised at declaration. : DECLARE_INIT_STAGES | GJB 5.2.1 |
M | haproxy.c: 139 | Global not initialised at declaration. : pid | GJB 5.2.1 |
M | haproxy.c: 238 | Global not initialised at declaration. : stopping | GJB 5.2.1 |
M | haproxy.c: 239 | Global not initialised at declaration. : killed | GJB 5.2.1 |
M | haproxy.c: 251 | Global not initialised at declaration. : oldpids_sig | GJB 5.2.1 |
M | haproxy.c: 254 | Global not initialised at declaration. : old_unixsocket | GJB 5.2.1 |
M | haproxy.c: 265 | Global not initialised at declaration. : hostname | GJB 5.2.1 |
M | haproxy.c: 277 | Global not initialised at declaration. : boot_seed | GJB 5.2.1 |
M | haproxy.c: 3787 | Memory not freed after last reference. : (rdr)-> | GJB 5.1.17 |
M | haproxy.c: 3787 | Memory not freed after last reference. : oldpids | GJB 5.1.17 |
M | haproxy.c: 3787 | Memory not freed after last reference. : cur_unixsocket | GJB 5.1.17 |
M | haproxy.c: 3787 | Memory not freed after last reference. : localpeer | GJB 5.1.17 |
M | haproxy.c: 3787 | Memory not freed after last reference. : old_argv | GJB 5.1.17 |
O | haproxy.c: 135 | Named variable declared but not used in code. : DECLARE_INIT_STAGES | GJB 5.2.1,5.2.2 |
M | haproxy.c: 277 | Procedure contains UR data flow anomalies. : boot_seed | GJB 4.13.1.4 |
M | haproxy.c: 239 | Procedure contains UR data flow anomalies. : killed | GJB 4.13.1.4 |
M | haproxy.c: 254 | Procedure contains UR data flow anomalies. : old_unixsocket | GJB 4.13.1.4 |
M | haproxy.c: 251 | Procedure contains UR data flow anomalies. : oldpids_sig | GJB 4.13.1.4 |
M | haproxy.c: 238 | Procedure contains UR data flow anomalies. : stopping | GJB 4.13.1.4 |
M | hash.c: 5 | Nested comment found. | GJB 4.10.1.1 |
M | hash.c: 92 | Nested comment found. | GJB 4.10.1.1 |
M | hash.c: 17 | Included file has path. : <haproxy/hash.h> | GJB 4.1.1.20 |
M | hlua.c: 70 | Macro parameter not in brackets. : func | GJB 4.2.1.6 |
M | hlua.c: 70 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 70 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | hlua.c: 71 | Macro parameter not in brackets. : func | GJB 4.2.1.6 |
M | hlua.c: 71 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
O | hlua.c: 122 | Parameter list is KR. | GJB 4.8.2.8 |
M | hlua.c: 140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | hlua.c: 144 | Macro parameter not in brackets. : __L | GJB 4.2.1.6 |
M | hlua.c: 144 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | hlua.c: 164 | Macro parameter not in brackets. : __L | GJB 4.2.1.6 |
M | hlua.c: 164 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 164 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | hlua.c: 171 | Macro parameter not in brackets. : __HLUA | GJB 4.2.1.6 |
M | hlua.c: 171 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 174 | Macro parameter not in brackets. : __HLUA | GJB 4.2.1.6 |
M | hlua.c: 174 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 177 | Macro parameter not in brackets. : __HLUA | GJB 4.2.1.6 |
M | hlua.c: 177 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 181 | Macro parameter not in brackets. : __HLUA | GJB 4.2.1.6 |
M | hlua.c: 181 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 194 | Value is not of appropriate type. : (unsigned int and signed char): static lua_State * hlua_states [ MAX_THREADS + 1 | GJB 4.6.1.8 |
M | hlua.c: 199 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | hlua.c: 199 | Parameter list is KR. | GJB 4.8.2.8 |
M | hlua.c: 209 | Value is not of appropriate type. : (unsigned int and signed char): struct list hlua_init_functions [ MAX_THREADS + 1 | GJB 4.6.1.8 |
M | hlua.c: 280 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | hlua.c: 281 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | hlua.c: 282 | Name found with length less than 2. : L | GJB 4.8.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hlua.c: 283 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | hlua.c: 284 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | hlua.c: 285 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | hlua.c: 286 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | hlua.c: 288 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | hlua.c: 292 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | hlua.c: 293 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | hlua.c: 298 | Macro parameter not in brackets. : __be | GJB 4.2.1.6 |
M | hlua.c: 298 | Macro parameter not in brackets. : __fmt | GJB 4.2.1.6 |
O | hlua.c: 298 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | hlua.c: 298 | Macro parameter not in brackets. : __args | GJB 4.2.1.6 |
M | hlua.c: 298 | More than one of # or ## in a macro. | GJB 4.1.1.11 |
M | hlua.c: 298 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hlua.c: 298 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | hlua.c: 1545 | Nested comment found. | GJB 4.10.1.1 |
M | hlua.c: 1552 | Comment possibly contains code. | GJB 4.10.2.1 |
M | hlua.c: 1569 | Nested comment found. | GJB 4.10.1.1 |
M | hlua.c: 1606 | Nested comment found. | GJB 4.10.1.1 |
M | hlua.c: 1609 | Nested comment found. | GJB 4.10.1.1 |
M | hlua.c: 1620 | Nested comment found. | GJB 4.10.1.1 |
M | hlua.c: 2893 | Comment possibly contains code. | GJB 4.10.2.1 |
M | hlua.c: 5912 | Comment possibly contains code. | GJB 4.10.2.1 |
M | hlua.c: 6306 | Comment possibly contains code. | GJB 4.10.2.1 |
M | hlua.c: 8427 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | hlua.c: 8427 | Parameter list is KR. | GJB 4.8.2.8 |
M | hlua.c: 8427 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
O | hlua.c: 9305 | Parameter list is KR. | GJB 4.8.2.8 |
O | hlua.c: 9315 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | hlua.c: 24 | Included file has path. : <import/ebpttree.h> | GJB 4.1.1.20 |
M | hlua.c: 26 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | hlua.c: 27 | Included file has path. : <haproxy/applet.h> | GJB 4.1.1.20 |
M | hlua.c: 28 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | hlua.c: 29 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | hlua.c: 30 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | hlua.c: 31 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | hlua.c: 32 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | hlua.c: 33 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | hlua.c: 34 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | hlua.c: 35 | Included file has path. : <haproxy/hlua.h> | GJB 4.1.1.20 |
M | hlua.c: 36 | Included file has path. : <haproxy/hlua_fcn.h> | GJB 4.1.1.20 |
M | hlua.c: 37 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | hlua.c: 38 | Included file has path. : <haproxy/http_fetch.h> | GJB 4.1.1.20 |
M | hlua.c: 39 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | hlua.c: 40 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | hlua.c: 41 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | hlua.c: 42 | Included file has path. : <haproxy/map.h> | GJB 4.1.1.20 |
M | hlua.c: 43 | Included file has path. : <haproxy/obj_type.h> | GJB 4.1.1.20 |
M | hlua.c: 44 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | hlua.c: 45 | Included file has path. : <haproxy/payload.h> | GJB 4.1.1.20 |
M | hlua.c: 46 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | hlua.c: 47 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hlua.c: 48 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | hlua.c: 49 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | hlua.c: 50 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | hlua.c: 51 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | hlua.c: 52 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | hlua.c: 53 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | hlua.c: 54 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | hlua.c: 55 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | hlua.c: 56 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | hlua.c: 57 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | hlua.c: 58 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | hlua.c: 59 | Included file has path. : <haproxy/xref.h> | GJB 4.1.1.20 |
M | hlua.c: 123 | Global not initialised at declaration. : safe_ljmp_env | GJB 5.2.1 |
M | hlua.c: 137 | Global not initialised at declaration. : hlua_state_id | GJB 5.2.1 |
M | hlua.c: 194 | Global not initialised at declaration. : hlua_states | GJB 5.2.1 |
M | hlua.c: 202 | Global not initialised at declaration. : socket_proxy | GJB 5.2.1 |
M | hlua.c: 203 | Global not initialised at declaration. : socket_tcp | GJB 5.2.1 |
M | hlua.c: 209 | Global not initialised at declaration. : hlua_init_functions | GJB 5.2.1 |
M | hlua.c: 215 | Global not initialised at declaration. : class_txn_ref | GJB 5.2.1 |
M | hlua.c: 216 | Global not initialised at declaration. : class_socket_ref | GJB 5.2.1 |
M | hlua.c: 217 | Global not initialised at declaration. : class_channel_ref | GJB 5.2.1 |
M | hlua.c: 218 | Global not initialised at declaration. : class_fetches_ref | GJB 5.2.1 |
M | hlua.c: 219 | Global not initialised at declaration. : class_converters_ref | GJB 5.2.1 |
M | hlua.c: 220 | Global not initialised at declaration. : class_http_ref | GJB 5.2.1 |
M | hlua.c: 221 | Global not initialised at declaration. : class_map_ref | GJB 5.2.1 |
M | hlua.c: 222 | Global not initialised at declaration. : class_applet_tcp_ref | GJB 5.2.1 |
M | hlua.c: 223 | Global not initialised at declaration. : class_applet_http_ref | GJB 5.2.1 |
M | hlua.c: 224 | Global not initialised at declaration. : class_txn_reply_ref | GJB 5.2.1 |
O | hlua.c: 273 | Named variable declared but not used in code. : THREAD_ALIGNED | GJB 5.2.1,5.2.2 |
O | hlua_fcn.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | hlua_fcn.c: 21 | Included file has path. : <haproxy/cli-t.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 22 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 23 | Included file has path. : <haproxy/hlua-t.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 24 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 25 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 26 | Included file has path. : <haproxy/pattern-t.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 27 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 28 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 29 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 30 | Included file has path. : <haproxy/stats.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 31 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 32 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | hlua_fcn.c: 35 | Global not initialised at declaration. : class_concat_ref | GJB 5.2.1 |
M | hlua_fcn.c: 36 | Global not initialised at declaration. : class_proxy_ref | GJB 5.2.1 |
M | hlua_fcn.c: 37 | Global not initialised at declaration. : class_server_ref | GJB 5.2.1 |
M | hlua_fcn.c: 38 | Global not initialised at declaration. : class_listener_ref | GJB 5.2.1 |
M | hlua_fcn.c: 39 | Global not initialised at declaration. : class_regex_ref | GJB 5.2.1 |
M | hlua_fcn.c: 40 | Global not initialised at declaration. : class_stktable_ref | GJB 5.2.1 |
M | hlua_fcn.c: 44 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | hlua_fcn.c: 44 | Global not initialised at declaration. : stats | GJB 5.2.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | hlua_fcn.c: 44 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
M | hpack-dec.c: 46 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hpack-dec.c: 46 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | hpack-dec.c: 47 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | hpack-dec.c: 47 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | hpack-dec.c: 33 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | hpack-dec.c: 34 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | hpack-dec.c: 35 | Included file has path. : <haproxy/h2.h> | GJB 4.1.1.20 |
M | hpack-dec.c: 36 | Included file has path. : <haproxy/hpack-dec.h> | GJB 4.1.1.20 |
M | hpack-dec.c: 37 | Included file has path. : <haproxy/hpack-huff.h> | GJB 4.1.1.20 |
M | hpack-dec.c: 38 | Included file has path. : <haproxy/hpack-tbl.h> | GJB 4.1.1.20 |
M | hpack-dec.c: 39 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | hpack-enc.c: 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 , 0x61 , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 , 0x61 , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 , 0x61 , 0x67 , 0x65 , 0x03 | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 , 0x61 , 0x67 , 0x65 , 0x03 , 0x3c | GJB 4.6.1.8 |
M | hpack-enc.c: 45 | Value is not of appropriate type. : (char and unsigned char): 0x03 , 0x15 , 0x61 , 0x67 , 0x65 , 0x03 , 0x3c , 0x76 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 , 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 , 0x04 , 0x21 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 , 0x04 , 0x21 , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 , 0x04 , 0x21 , 0x64 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 , 0x04 , 0x21 , 0x64 , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 46 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x61 , 0x04 , 0x21 , 0x64 , 0x61 , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 , 0x68 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 , 0x68 , 0x6f , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 , 0x68 , 0x6f , 0x73 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 , 0x68 , 0x6f , 0x73 , 0x74 , 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 47 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x26 , 0x68 , 0x6f , 0x73 , 0x74 , 0x04 , 0x22 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 , 0x61 , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 , 0x61 , 0x67 , 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 , 0x61 , 0x67 , 0x04 , 0x25 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 , 0x61 , 0x67 , 0x04 , 0x25 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 48 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x74 , 0x61 , 0x67 , 0x04 , 0x25 , 0x66 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d , 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d , 0x04 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d , 0x04 , 0x2d , 0x6c | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d , 0x04 , 0x2d , 0x6c , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d , 0x04 , 0x2d , 0x6c , 0x69 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 49 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x6d , 0x04 , 0x2d , 0x6c , 0x69 , 0x6e , 0x6b | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b , 0x76 | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b , 0x76 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b , 0x76 , 0x61 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b , 0x76 , 0x61 , 0x72 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b , 0x76 , 0x61 , 0x72 , 0x79 , 0x05 | GJB 4.6.1.8 |
M | hpack-enc.c: 50 | Value is not of appropriate type. : (char and unsigned char): 0x04 , 0x3b , 0x76 , 0x61 , 0x72 , 0x79 , 0x05 , 0x04 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 , 0x61 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 , 0x61 , 0x74 , 0x68 , 0x05 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 , 0x61 , 0x74 , 0x68 , 0x05 , 0x16 | GJB 4.6.1.8 |
M | hpack-enc.c: 51 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x70 , 0x61 , 0x74 , 0x68 , 0x05 , 0x16 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c , 0x6f , 0x77 | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c , 0x6f , 0x77 , 0x05 | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c , 0x6f , 0x77 , 0x05 , 0x32 | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c , 0x6f , 0x77 , 0x05 , 0x32 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 52 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x6c , 0x6f , 0x77 , 0x05 , 0x32 , 0x72 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x65 , 0x06 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x65 , 0x06 , 0x13 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x65 , 0x06 , 0x13 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x65 , 0x06 , 0x13 , 0x61 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 53 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x65 , 0x06 , 0x13 , 0x61 , 0x63 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 , 0x74 , 0x06 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 , 0x74 , 0x06 , 0x36 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 , 0x74 , 0x06 , 0x36 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 , 0x74 , 0x06 , 0x36 , 0x73 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 54 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x70 , 0x74 , 0x06 , 0x36 , 0x73 , 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 , 0x72 , 0x06 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 , 0x72 , 0x06 , 0x20 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 , 0x72 , 0x06 , 0x20 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 , 0x72 , 0x06 , 0x20 , 0x63 , 0x6f | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 55 | Value is not of appropriate type. : (char and unsigned char): 0x76 , 0x65 , 0x72 , 0x06 , 0x20 , 0x63 , 0x6f , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 , 0x65 , 0x06 | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 , 0x65 , 0x06 , 0x23 | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 , 0x65 , 0x06 , 0x23 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 , 0x65 , 0x06 , 0x23 , 0x65 , 0x78 | GJB 4.6.1.8 |
M | hpack-enc.c: 56 | Value is not of appropriate type. : (char and unsigned char): 0x6b , 0x69 , 0x65 , 0x06 , 0x23 , 0x65 , 0x78 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 , 0x74 , 0x07 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 , 0x74 , 0x07 , 0x33 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 , 0x74 , 0x07 , 0x33 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 , 0x74 , 0x07 , 0x33 , 0x72 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 57 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x63 , 0x74 , 0x07 , 0x33 , 0x72 , 0x65 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x65 , 0x72 , 0x07 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x65 , 0x72 , 0x07 , 0x24 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x65 , 0x72 , 0x07 , 0x24 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 58 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x65 , 0x72 , 0x07 , 0x24 , 0x65 , 0x78 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 , 0x72 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 , 0x72 , 0x65 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 , 0x72 , 0x65 , 0x73 , 0x07 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 , 0x72 , 0x65 , 0x73 , 0x07 , 0x02 | GJB 4.6.1.8 |
M | hpack-enc.c: 59 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x69 , 0x72 , 0x65 , 0x73 , 0x07 , 0x02 , 0x3a | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 , 0x74 , 0x68 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 , 0x74 , 0x68 , 0x6f , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 , 0x74 , 0x68 , 0x6f , 0x64 , 0x07 | GJB 4.6.1.8 |
M | hpack-enc.c: 60 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x65 , 0x74 , 0x68 , 0x6f , 0x64 , 0x07 , 0x06 | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 , 0x63 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 , 0x63 , 0x68 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 , 0x63 , 0x68 , 0x65 , 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 , 0x63 , 0x68 , 0x65 , 0x6d , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 61 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x73 , 0x63 , 0x68 , 0x65 , 0x6d , 0x65 , 0x07 | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a , 0x73 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a , 0x73 , 0x74 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a , 0x73 , 0x74 , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a , 0x73 , 0x74 , 0x61 , 0x74 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 62 | Value is not of appropriate type. : (char and unsigned char): 0x08 , 0x3a , 0x73 , 0x74 , 0x61 , 0x74 , 0x75 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 , 0x72 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 , 0x72 , 0x65 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 , 0x72 , 0x65 , 0x66 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 , 0x72 , 0x65 , 0x66 , 0x72 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 63 | Value is not of appropriate type. : (char and unsigned char): 0x07 , 0x34 , 0x72 , 0x65 , 0x66 , 0x72 , 0x65 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 , 0x2e | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 , 0x2e , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 , 0x2e , 0x6c , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 , 0x2e , 0x6c , 0x6f , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 , 0x2e , 0x6c , 0x6f , 0x63 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 64 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x08 , 0x2e , 0x6c , 0x6f , 0x63 , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f , 0x6e , 0x08 | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f , 0x6e , 0x08 , 0x27 | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f , 0x6e , 0x08 , 0x27 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f , 0x6e , 0x08 , 0x27 , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 65 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6f , 0x6e , 0x08 , 0x27 , 0x69 , 0x66 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x74 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x74 , 0x63 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x74 , 0x63 , 0x68 , 0x08 | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x74 , 0x63 , 0x68 , 0x08 , 0x2a | GJB 4.6.1.8 |
M | hpack-enc.c: 66 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x74 , 0x63 , 0x68 , 0x08 , 0x2a , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d , 0x72 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d , 0x72 , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d , 0x72 , 0x61 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 67 | Value is not of appropriate type. : (char and unsigned char): 0x66 , 0x2d , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 , 0x0a | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 , 0x73 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 , 0x73 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 , 0x73 , 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 , 0x73 , 0x65 , 0x72 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 , 0x73 , 0x65 , 0x72 , 0x2d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 68 | Value is not of appropriate type. : (char and unsigned char): 0x3a , 0x75 , 0x73 , 0x65 , 0x72 , 0x2d , 0x61 , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x0a | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x0a , 0x37 | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x0a , 0x37 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x0a , 0x37 , 0x73 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 69 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x0a , 0x37 , 0x73 , 0x65 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 , 0x6f , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 , 0x6f , 0x6f , 0x6b | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 , 0x6f , 0x6f , 0x6b , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 , 0x6f , 0x6f , 0x6b , 0x69 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 70 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x63 , 0x6f , 0x6f , 0x6b , 0x69 , 0x65 , 0x0a | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a , 0x61 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a , 0x61 , 0x75 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a , 0x61 , 0x75 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a , 0x61 , 0x75 , 0x74 , 0x68 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 71 | Value is not of appropriate type. : (char and unsigned char): 0x01 , 0x3a , 0x61 , 0x75 , 0x74 , 0x68 , 0x6f , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 , 0x79 , 0x0b | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 , 0x79 , 0x0b , 0x35 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 , 0x79 , 0x0b , 0x35 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 , 0x79 , 0x0b , 0x35 , 0x72 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 72 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x74 , 0x79 , 0x0b , 0x35 , 0x72 , 0x65 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 , 0x2d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 , 0x2d , 0x61 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 , 0x2d , 0x61 , 0x66 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 , 0x2d , 0x61 , 0x66 , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 73 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x79 , 0x2d , 0x61 , 0x66 , 0x74 , 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f , 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 74 | Value is not of appropriate type. : (char and unsigned char): 0x0c , 0x1f , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x79 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x79 , 0x70 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x79 , 0x70 , 0x65 , 0x0c | GJB 4.6.1.8 |
M | hpack-enc.c: 75 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x79 , 0x70 , 0x65 , 0x0c , 0x2f | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x78 | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x78 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x78 , 0x2d , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x78 , 0x2d , 0x66 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x78 , 0x2d , 0x66 , 0x6f , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 76 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x61 , 0x78 , 0x2d , 0x66 , 0x6f , 0x72 , 0x77 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 , 0x64 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 , 0x64 , 0x73 , 0x0d | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 , 0x64 , 0x73 , 0x0d , 0x18 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 , 0x64 , 0x73 , 0x0d , 0x18 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 77 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x72 , 0x64 , 0x73 , 0x0d , 0x18 , 0x63 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 , 0x65 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 , 0x65 , 0x2d , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 , 0x65 , 0x2d , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 , 0x65 , 0x2d , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 78 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x68 , 0x65 , 0x2d , 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f , 0x6c , 0x0d | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f , 0x6c , 0x0d , 0x2c | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f , 0x6c , 0x0d , 0x2c , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f , 0x6c , 0x0d , 0x2c , 0x6c , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 79 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x6f , 0x6c , 0x0d , 0x2c , 0x6c , 0x61 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x6d , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x6d , 0x6f , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x6d , 0x6f , 0x64 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x6d , 0x6f , 0x64 , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 80 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x6d , 0x6f , 0x64 , 0x69 , 0x66 , 0x69 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 , 0x0d | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 , 0x0d , 0x12 | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 , 0x0d , 0x12 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 , 0x0d , 0x12 , 0x61 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 , 0x0d , 0x12 , 0x61 , 0x63 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 81 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x64 , 0x0d , 0x12 , 0x61 , 0x63 , 0x63 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 , 0x2d , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 , 0x2d , 0x72 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 , 0x2d , 0x72 , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 , 0x2d , 0x72 , 0x61 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 82 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x74 , 0x2d , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d , 0x29 | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d , 0x29 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d , 0x29 , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d , 0x29 , 0x69 , 0x66 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d , 0x29 , 0x69 , 0x66 , 0x2d , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 83 | Value is not of appropriate type. : (char and unsigned char): 0x73 , 0x0d , 0x29 , 0x69 , 0x66 , 0x2d , 0x6e , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 , 0x2d , 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 , 0x2d , 0x6d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 , 0x2d , 0x6d , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 , 0x2d , 0x6d , 0x61 , 0x74 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 84 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x65 , 0x2d , 0x6d , 0x61 , 0x74 , 0x63 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 , 0x61 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 , 0x61 , 0x75 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 , 0x61 , 0x75 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 , 0x61 , 0x75 , 0x74 , 0x68 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 85 | Value is not of appropriate type. : (char and unsigned char): 0x0d , 0x17 , 0x61 , 0x75 , 0x74 , 0x68 , 0x6f , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a , 0x61 , 0x74 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a , 0x61 , 0x74 , 0x69 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 86 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x7a , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x0d | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 87 | Value is not of appropriate type. : (char and unsigned char): 0x1e , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 , 0x61 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 , 0x0e | GJB 4.6.1.8 |
M | hpack-enc.c: 88 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x72 , 0x61 , 0x6e , 0x67 , 0x65 , 0x0e , 0x1c | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f , 0x6e , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 89 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 , 0x6e , 0x67 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 , 0x6e , 0x67 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 , 0x6e , 0x67 , 0x74 , 0x68 , 0x0e | GJB 4.6.1.8 |
M | hpack-enc.c: 90 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x65 , 0x6e , 0x67 , 0x74 , 0x68 , 0x0e , 0x0f | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 91 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 , 0x2d , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 , 0x72 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 , 0x72 , 0x73 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 , 0x72 , 0x73 , 0x65 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 , 0x72 , 0x73 , 0x65 , 0x74 , 0x0f | GJB 4.6.1.8 |
M | hpack-enc.c: 92 | Value is not of appropriate type. : (char and unsigned char): 0x68 , 0x61 , 0x72 , 0x73 , 0x65 , 0x74 , 0x0f , 0x10 | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 93 | Value is not of appropriate type. : (char and unsigned char): 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 , 0x2d , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 , 0x6f , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 , 0x6f , 0x64 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 , 0x6f , 0x64 , 0x69 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 , 0x6f , 0x64 , 0x69 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 94 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x63 , 0x6f , 0x64 , 0x69 , 0x6e , 0x67 , 0x0f | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 , 0x63 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 , 0x63 , 0x63 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 , 0x63 , 0x63 , 0x65 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 95 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x61 , 0x63 , 0x63 , 0x65 , 0x70 , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 , 0x6e , 0x67 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 , 0x6e , 0x67 , 0x75 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 , 0x6e , 0x67 , 0x75 , 0x61 , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 96 | Value is not of appropriate type. : (char and unsigned char): 0x6c , 0x61 , 0x6e , 0x67 , 0x75 , 0x61 , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a , 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 97 | Value is not of appropriate type. : (char and unsigned char): 0x10 , 0x1a , 0x63 , 0x6f , 0x6e , 0x74 , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x65 , 0x6e , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x65 , 0x6e , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x65 , 0x6e , 0x63 , 0x6f , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 98 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x65 , 0x6e , 0x63 , 0x6f , 0x64 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x10 | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x10 , 0x1b | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x10 , 0x1b , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x10 , 0x1b , 0x63 , 0x6f | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x10 , 0x1b , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 99 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x67 , 0x10 , 0x1b , 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x6c , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x6c , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 100 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x6c , 0x61 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 , 0x67 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 , 0x67 , 0x65 , 0x10 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 , 0x67 , 0x65 , 0x10 , 0x1d | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 , 0x67 , 0x65 , 0x10 , 0x1d , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 101 | Value is not of appropriate type. : (char and unsigned char): 0x75 , 0x61 , 0x67 , 0x65 , 0x10 , 0x1d , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 , 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 , 0x65 , 0x6e , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 , 0x65 , 0x6e , 0x74 , 0x2d , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 102 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x74 , 0x65 , 0x6e , 0x74 , 0x2d , 0x6c , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 , 0x74 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 , 0x74 , 0x69 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x10 | GJB 4.6.1.8 |
M | hpack-enc.c: 103 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x61 , 0x74 , 0x69 , 0x6f , 0x6e , 0x10 , 0x3d | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 , 0x77 | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 , 0x77 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 , 0x77 , 0x2d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 , 0x77 , 0x2d , 0x61 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 , 0x77 , 0x2d , 0x61 , 0x75 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 104 | Value is not of appropriate type. : (char and unsigned char): 0x77 , 0x77 , 0x77 , 0x2d , 0x61 , 0x75 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x69 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x69 , 0x63 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x69 , 0x63 , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 105 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 , 0x74 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 , 0x74 , 0x72 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 , 0x74 , 0x72 , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 106 | Value is not of appropriate type. : (char and unsigned char): 0x11 , 0x39 , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x2d , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x2d , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x2d , 0x65 , 0x6e , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x2d , 0x65 , 0x6e , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 107 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x72 , 0x2d , 0x65 , 0x6e , 0x63 , 0x6f , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x67 , 0x11 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x67 , 0x11 , 0x28 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x67 , 0x11 , 0x28 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x67 , 0x11 , 0x28 , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 108 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x67 , 0x11 , 0x28 , 0x69 , 0x66 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f , 0x64 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f , 0x64 , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f , 0x64 , 0x69 , 0x66 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f , 0x64 , 0x69 , 0x66 , 0x69 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 109 | Value is not of appropriate type. : (char and unsigned char): 0x6d , 0x6f , 0x64 , 0x69 , 0x66 , 0x69 , 0x65 , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 , 0x69 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 , 0x69 , 0x6e , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 , 0x69 , 0x6e , 0x63 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 , 0x69 , 0x6e , 0x63 , 0x65 , 0x12 | GJB 4.6.1.8 |
M | hpack-enc.c: 110 | Value is not of appropriate type. : (char and unsigned char): 0x2d , 0x73 , 0x69 , 0x6e , 0x63 , 0x65 , 0x12 , 0x30 | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 , 0x6f , 0x78 | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 , 0x6f , 0x78 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 , 0x6f , 0x78 , 0x79 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 , 0x6f , 0x78 , 0x79 , 0x2d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 111 | Value is not of appropriate type. : (char and unsigned char): 0x70 , 0x72 , 0x6f , 0x78 , 0x79 , 0x2d , 0x61 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 , 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 , 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 , 0x65 , 0x6e , 0x74 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 , 0x65 , 0x6e , 0x74 , 0x69 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 112 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x68 , 0x65 , 0x6e , 0x74 , 0x69 , 0x63 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 , 0x13 | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 , 0x13 , 0x19 | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 , 0x13 , 0x19 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 , 0x13 , 0x19 , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 , 0x13 , 0x19 , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 113 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x65 , 0x13 , 0x19 , 0x63 , 0x6f , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x64 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x64 , 0x69 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 114 | Value is not of appropriate type. : (char and unsigned char): 0x65 , 0x6e , 0x74 , 0x2d , 0x64 , 0x69 , 0x73 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 , 0x69 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 , 0x69 , 0x74 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 , 0x69 , 0x74 , 0x69 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 , 0x69 , 0x74 , 0x69 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 115 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x73 , 0x69 , 0x74 , 0x69 , 0x6f , 0x6e , 0x13 | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 , 0x66 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 , 0x66 , 0x2d , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 , 0x66 , 0x2d , 0x75 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 , 0x66 , 0x2d , 0x75 , 0x6e , 0x6d | GJB 4.6.1.8 |
M | hpack-enc.c: 116 | Value is not of appropriate type. : (char and unsigned char): 0x2b , 0x69 , 0x66 , 0x2d , 0x75 , 0x6e , 0x6d , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 , 0x66 | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 , 0x66 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 , 0x66 , 0x69 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 , 0x66 , 0x69 , 0x65 , 0x64 | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 , 0x66 , 0x69 , 0x65 , 0x64 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 117 | Value is not of appropriate type. : (char and unsigned char): 0x64 , 0x69 , 0x66 , 0x69 , 0x65 , 0x64 , 0x2d , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x63 , 0x65 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x63 , 0x65 , 0x13 | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x63 , 0x65 , 0x13 , 0x31 | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x63 , 0x65 , 0x13 , 0x31 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 118 | Value is not of appropriate type. : (char and unsigned char): 0x69 , 0x6e , 0x63 , 0x65 , 0x13 , 0x31 , 0x70 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 , 0x79 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 , 0x79 , 0x2d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 , 0x79 , 0x2d , 0x61 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 , 0x79 , 0x2d , 0x61 , 0x75 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 119 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x78 , 0x79 , 0x2d , 0x61 , 0x75 , 0x74 , 0x68 | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x69 , 0x7a | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x69 , 0x7a , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x69 , 0x7a , 0x61 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x69 , 0x7a , 0x61 , 0x74 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 120 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x69 , 0x7a , 0x61 , 0x74 , 0x69 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 , 0x38 | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 , 0x38 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 , 0x38 , 0x73 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 , 0x38 , 0x73 , 0x74 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 , 0x38 , 0x73 , 0x74 , 0x72 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 121 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x19 , 0x38 , 0x73 , 0x74 , 0x72 , 0x69 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x72 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x72 , 0x61 , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 122 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x2d , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x74 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x74 , 0x2d , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x74 , 0x2d , 0x73 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x74 , 0x2d , 0x73 , 0x65 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 123 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x72 , 0x74 , 0x2d , 0x73 , 0x65 , 0x63 , 0x75 | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 , 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 , 0x74 , 0x79 | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 , 0x74 , 0x79 , 0x1b | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 , 0x74 , 0x79 , 0x1b , 0x14 | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 , 0x74 , 0x79 , 0x1b , 0x14 , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 124 | Value is not of appropriate type. : (char and unsigned char): 0x72 , 0x69 , 0x74 , 0x79 , 0x1b , 0x14 , 0x61 , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 , 0x73 , 0x73 | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 , 0x73 , 0x73 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 , 0x73 , 0x73 , 0x2d , 0x63 | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 , 0x73 , 0x73 , 0x2d , 0x63 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 125 | Value is not of appropriate type. : (char and unsigned char): 0x63 , 0x65 , 0x73 , 0x73 , 0x2d , 0x63 , 0x6f , 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 , 0x6f , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 , 0x6f , 0x6c , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 , 0x6f , 0x6c , 0x2d , 0x61 | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 , 0x6f , 0x6c , 0x2d , 0x61 , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 126 | Value is not of appropriate type. : (char and unsigned char): 0x74 , 0x72 , 0x6f , 0x6c , 0x2d , 0x61 , 0x6c , 0x6c | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 , 0x2d | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 , 0x2d , 0x6f | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 , 0x2d , 0x6f , 0x72 | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 , 0x2d , 0x6f , 0x72 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 , 0x2d , 0x6f , 0x72 , 0x69 , 0x67 | GJB 4.6.1.8 |
M | hpack-enc.c: 127 | Value is not of appropriate type. : (char and unsigned char): 0x6f , 0x77 , 0x2d , 0x6f , 0x72 , 0x69 , 0x67 , 0x69 | GJB 4.6.1.8 |
M | hpack-enc.c: 128 | Value is not of appropriate type. : (char and unsigned char): 0x6e | GJB 4.6.1.8 |
M | hpack-enc.c: 128 | Value is not of appropriate type. : (char and unsigned char): 0x6e , 0x00 , | GJB 4.6.1.8 |
M | hpack-enc.c: 33 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | hpack-enc.c: 34 | Included file has path. : <haproxy/hpack-enc.h> | GJB 4.1.1.20 |
M | hpack-enc.c: 35 | Included file has path. : <haproxy/http-hdr-t.h> | GJB 4.1.1.20 |
O | hpack-huff.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | hpack-huff.c: 677 | Array initialisation has insufficient items. : rht_bit31_24[*]; given=254, expected=256 | GJB 5.1.20 |
M | hpack-huff.c: 936 | Array initialisation has insufficient items. : rht_bit24_17[*]; given=255, expected=256 | GJB 5.1.20 |
M | hpack-huff.c: 1222 | Array initialisation has insufficient items. : rht_bit15_8[*]; given=246, expected=256 | GJB 5.1.20 |
M | hpack-huff.c: 1387 | Array initialisation has insufficient items. : rht_bit11_4[*]; given=160, expected=256 | GJB 5.1.20 |
M | hpack-huff.c: 32 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | hpack-huff.c: 33 | Included file has path. : <haproxy/hpack-huff.h> | GJB 4.1.1.20 |
O | hpack-tbl.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | hpack-tbl.c: 33 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | hpack-tbl.c: 34 | Included file has path. : <haproxy/hpack-huff.h> | GJB 4.1.1.20 |
M | hpack-tbl.c: 35 | Included file has path. : <haproxy/hpack-tbl.h> | GJB 4.1.1.20 |
M | http.c: 13 | Included file has path. : <import/xxhash.h> | GJB 4.1.1.20 |
M | http.c: 15 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | http.c: 16 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | http.c: 17 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http.c: 19 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | http_acl.c: 178 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_acl.c: 178 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_acl.c: 178 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
M | http_acl.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | http_acl.c: 19 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | http_acl.c: 20 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_acl.c: 21 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | http_acl.c: 22 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | http_acl.c: 23 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | http_acl.c: 24 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_acl.c: 25 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | http_acl.c: 26 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | http_acl.c: 27 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | http_acl.c: 28 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | http_act.c: 435 | Comment possibly contains code. | GJB 4.10.2.1 |
M | http_act.c: 2103 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_act.c: 2103 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_act.c: 2103 | Parameter has same name as global variable. : http_req_actions | GJB 4.15.1.3 |
M | http_act.c: 2132 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_act.c: 2132 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_act.c: 2132 | Parameter has same name as global variable. : http_res_actions | GJB 4.15.1.3 |
M | http_act.c: 2148 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | http_act.c: 2148 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_act.c: 2148 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_act.c: 2148 | Parameter has same name as global variable. : http_after_res_actions | GJB 4.15.1.3 |
O | http_act.c: 2154 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | http_act.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | http_act.c: 19 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | http_act.c: 20 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | http_act.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_act.c: 22 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | http_act.c: 23 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | http_act.c: 24 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | http_act.c: 25 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | http_act.c: 26 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | http_act.c: 27 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_act.c: 28 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | http_act.c: 29 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | http_act.c: 30 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | http_act.c: 31 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | http_act.c: 32 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | http_act.c: 33 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | http_act.c: 34 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | http_act.c: 35 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | http_act.c: 36 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | http_act.c: 37 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | http_act.c: 38 | Included file has path. : <haproxy/uri_auth-t.h> | GJB 4.1.1.20 |
M | http_act.c: 39 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | http_ana.c: 44 | extern not in nominated include file. | GJB 4.7.1.5 |
M | http_ana.c: 42 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | http_ana.c: 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 44 | Array has no bounds specified. | GJB 4.1.1.19 |
M | http_ana.c: 50 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 51 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | http_ana.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 56 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 56 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_ana.c: 57 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 57 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | http_ana.c: 57 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | http_ana.c: 59 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 60 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 62 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 63 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 65 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 66 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 68 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 69 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | http_ana.c: 4778 | Comment possibly contains code. | GJB 4.10.2.1 |
M | http_ana.c: 4779 | Comment possibly contains code. | GJB 4.10.2.1 |
M | http_ana.c: 4988 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_ana.c: 4988 | Parameter list is KR. | GJB 4.8.2.8 |
O | http_ana.c: 5000 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | http_ana.c: 13 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | http_ana.c: 14 | Included file has path. : <haproxy/action-t.h> | GJB 4.1.1.20 |
M | http_ana.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_ana.c: 16 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | http_ana.c: 17 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | http_ana.c: 18 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | http_ana.c: 19 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | http_ana.c: 20 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | http_ana.c: 21 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | http_ana.c: 22 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | http_ana.c: 23 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | http_ana.c: 24 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_ana.c: 25 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | http_ana.c: 26 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | http_ana.c: 27 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | http_ana.c: 28 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | http_ana.c: 29 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | http_ana.c: 30 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | http_ana.c: 31 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | http_ana.c: 32 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | http_ana.c: 33 | Included file has path. : <haproxy/stats.h> | GJB 4.1.1.20 |
M | http_ana.c: 34 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | http_ana.c: 35 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | http_ana.c: 36 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | http_ana.c: 37 | Included file has path. : <haproxy/uri_auth-t.h> | GJB 4.1.1.20 |
M | http_ana.c: 38 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | http_ana.c: 40 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | http_conv.c: 375 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_conv.c: 375 | Parameter list is KR. | GJB 4.8.2.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | http_conv.c: 375 | Parameter has same name as global variable. : sample_conv_kws | GJB 4.15.1.3 |
M | http_conv.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | http_conv.c: 19 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_conv.c: 20 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | http_conv.c: 21 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | http_conv.c: 22 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | http_conv.c: 23 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_conv.c: 24 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | http_conv.c: 25 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | http_conv.c: 26 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | http_conv.c: 27 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | http_conv.c: 28 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | http_fetch.c: 46 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_fetch.c: 48 | Macro parameter not in brackets. : smp | GJB 4.2.1.6 |
M | http_fetch.c: 48 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | http_fetch.c: 49 | Macro parameter not in brackets. : smp | GJB 4.2.1.6 |
M | http_fetch.c: 49 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | http_fetch.c: 75 | Parameter list is KR. | GJB 4.8.2.8 |
O | http_fetch.c: 76 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_fetch.c: 163 | Comment possibly contains code. | GJB 4.10.2.1 |
M | http_fetch.c: 323 | Comment possibly contains code. | GJB 4.10.2.1 |
M | http_fetch.c: 2172 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_fetch.c: 2172 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_fetch.c: 2172 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
O | http_fetch.c: 2178 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | http_fetch.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | http_fetch.c: 19 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_fetch.c: 20 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | http_fetch.c: 21 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | http_fetch.c: 22 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | http_fetch.c: 23 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | http_fetch.c: 24 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | http_fetch.c: 25 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | http_fetch.c: 26 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | http_fetch.c: 27 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | http_fetch.c: 28 | Included file has path. : <haproxy/h1_htx.h> | GJB 4.1.1.20 |
M | http_fetch.c: 29 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_fetch.c: 30 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | http_fetch.c: 31 | Included file has path. : <haproxy/http_fetch.h> | GJB 4.1.1.20 |
M | http_fetch.c: 32 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | http_fetch.c: 33 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | http_fetch.c: 34 | Included file has path. : <haproxy/obj_type.h> | GJB 4.1.1.20 |
M | http_fetch.c: 35 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | http_fetch.c: 36 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | http_fetch.c: 37 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | http_fetch.c: 38 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | http_fetch.c: 39 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | http_fetch.c: 43 | Global not initialised at declaration. : static_http_hdr_ctx | GJB 5.2.1 |
M | http_fetch.c: 45 | Global not initialised at declaration. : static_raw_htx_chunk | GJB 5.2.1 |
M | http_fetch.c: 46 | Global not initialised at declaration. : static_raw_htx_buf | GJB 5.2.1 |
M | http_htx.c: 56 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | http_htx.c: 41 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | http_htx.c: 42 | Union declared. | GJB 4.1.2.8 |
M | http_htx.c: 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_htx.c: 49 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_htx.c: 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | http_htx.c: 1121 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_htx.c: 1121 | Parameter list is KR. | GJB 4.8.2.8 |
O | http_htx.c: 1122 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_htx.c: 2247 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_htx.c: 2247 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_htx.c: 2247 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
O | http_htx.c: 2248 | Parameter list is KR. | GJB 4.8.2.8 |
O | http_htx.c: 2249 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_htx.c: 2251 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_htx.c: 2251 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_htx.c: 2761 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | http_htx.c: 2761 | Parameter list is KR. | GJB 4.8.2.8 |
M | http_htx.c: 2761 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
O | http_htx.c: 2761 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | http_htx.c: 12 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | http_htx.c: 13 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | http_htx.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_htx.c: 18 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | http_htx.c: 19 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | http_htx.c: 20 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | http_htx.c: 21 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | http_htx.c: 22 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_htx.c: 23 | Included file has path. : <haproxy/http_fetch.h> | GJB 4.1.1.20 |
M | http_htx.c: 24 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | http_htx.c: 25 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | http_htx.c: 26 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | http_htx.c: 27 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | http_htx.c: 28 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | http_htx.c: 31 | Global not initialised at declaration. : http_err_chunks | GJB 5.2.1 |
M | http_htx.c: 32 | Global not initialised at declaration. : http_err_replies | GJB 5.2.1 |
M | http_rules.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | http_rules.c: 19 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | http_rules.c: 20 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | http_rules.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | http_rules.c: 22 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | http_rules.c: 23 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | http_rules.c: 24 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | http_rules.c: 25 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | http_rules.c: 26 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | http_rules.c: 27 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | http_rules.c: 28 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | http_rules.c: 29 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | http_rules.c: 30 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | http_rules.c: 31 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | http_rules.c: 32 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | http_rules.c: 33 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | htx.c: 13 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | htx.c: 14 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | ip-hash.c: 28 | Nested comment found. | GJB 4.10.1.1 |
M | ip-hash.c: 31 | Nested comment found. | GJB 4.10.1.1 |
M | ip-hash.c: 83 | Nested comment found. | GJB 4.10.1.1 |
M | ip-hash.c: 13 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | ip-hash.c: 20 | Global not initialised at declaration. : counts_id | GJB 5.2.1 |
M | ip-hash.c: 36 | Global not initialised at declaration. : counts_tw1 | GJB 5.2.1 |
M | ip-hash.c: 52 | Global not initialised at declaration. : counts_tw2 | GJB 5.2.1 |
M | ip-hash.c: 69 | Global not initialised at declaration. : counts_tw3 | GJB 5.2.1 |
M | ip-hash.c: 86 | Global not initialised at declaration. : counts_bj6 | GJB 5.2.1 |
M | ip-hash.c: 87 | Global not initialised at declaration. : counts_bj6x | GJB 5.2.1 |
M | ip-hash.c: 103 | Global not initialised at declaration. : counts_bj7 | GJB 5.2.1 |
M | ip-hash.c: 104 | Global not initialised at declaration. : counts_bj7x | GJB 5.2.1 |
M | ip-hash.c: 87 | Procedure contains UR data flow anomalies. : counts_bj6x | GJB 4.13.1.4 |
M | ip-hash.c: 104 | Procedure contains UR data flow anomalies. : counts_bj7x | GJB 4.13.1.4 |
M | ip6range.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ip6range.c: 21 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | ip6range.c: 22 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | iprange.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | iprange.c: 21 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | iprange.c: 22 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
O | ist.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | ist.c: 12 | Included file has path. : "common/ist.h" | GJB 4.1.1.20 |
M | key.c: 15 | Included file has path. : <import/xxhash.h> | GJB 4.1.1.20 |
M | key.c: 16 | Included file has path. : <import/sha1.h> | GJB 4.1.1.20 |
M | key.c: 18 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | key.c: 19 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | key.c: 20 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | key.c: 21 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | key.c: 22 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | key.c: 24 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | lb_chash.c: 4 | Nested comment found. | GJB 4.10.1.1 |
M | lb_chash.c: 19 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | lb_chash.c: 20 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | lb_chash.c: 21 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | lb_chash.c: 22 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | lb_chash.c: 23 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | lb_chash.c: 24 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | lb_fas.c: 8 | Nested comment found. | GJB 4.10.1.1 |
M | lb_fas.c: 19 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | lb_fas.c: 20 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | lb_fas.c: 21 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | lb_fas.c: 22 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | lb_fas.c: 23 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | lb_fwlc.c: 13 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | lb_fwlc.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | lb_fwlc.c: 15 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | lb_fwlc.c: 16 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | lb_fwlc.c: 17 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | lb_fwrr.c: 20 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | lb_fwrr.c: 21 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | lb_fwrr.c: 22 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | lb_fwrr.c: 23 | Name found with length less than 2. : s | GJB 4.8.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | lb_fwrr.c: 24 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | lb_fwrr.c: 13 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | lb_fwrr.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | lb_fwrr.c: 15 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | lb_fwrr.c: 16 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | lb_fwrr.c: 17 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | lb_map.c: 13 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | lb_map.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | lb_map.c: 15 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | lb_map.c: 16 | Included file has path. : <haproxy/lb_map.h> | GJB 4.1.1.20 |
M | lb_map.c: 17 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | lb_map.c: 18 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | listener.c: 48 | Name found with length less than 2. : t | GJB 4.8.1.1 |
O | listener.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | listener.c: 1145 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | listener.c: 1145 | Parameter list is KR. | GJB 4.8.2.8 |
O | listener.c: 1146 | Parameter list is KR. | GJB 4.8.2.8 |
M | listener.c: 1517 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | listener.c: 1517 | Parameter list is KR. | GJB 4.8.2.8 |
M | listener.c: 1517 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | listener.c: 1526 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | listener.c: 1526 | Parameter list is KR. | GJB 4.8.2.8 |
M | listener.c: 1526 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
M | listener.c: 1548 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | listener.c: 1548 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | listener.c: 1548 | Parameter list is KR. | GJB 4.8.2.8 |
M | listener.c: 1548 | Parameter has same name as global variable. : bind_kws | GJB 4.15.1.3 |
M | listener.c: 1556 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | listener.c: 1556 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | listener.c: 1556 | Parameter list is KR. | GJB 4.8.2.8 |
M | listener.c: 1556 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | listener.c: 20 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | listener.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | listener.c: 22 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | listener.c: 23 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | listener.c: 24 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | listener.c: 25 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | listener.c: 26 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | listener.c: 27 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | listener.c: 28 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | listener.c: 29 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | listener.c: 30 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | listener.c: 31 | Included file has path. : <haproxy/protocol-t.h> | GJB 4.1.1.20 |
M | listener.c: 32 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | listener.c: 33 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | listener.c: 34 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | listener.c: 35 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | listener.c: 36 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | listener.c: 37 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | listener.c: 47 | Global not initialised at declaration. : global_listener_queue_task | GJB 5.2.1 |
M | log.c: 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 58 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | log.c: 65 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | log.c: 73 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | log.c: 92 | Value is not of appropriate type. : (unsigned int and long): sizeof ( long ) | GJB 4.6.1.8 |
M | log.c: 93 | Value is not of appropriate type. : (unsigned int and long): sizeof ( long ) | GJB 4.6.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 94 | Value is not of appropriate type. : (unsigned int and long): sizeof ( long ) | GJB 4.6.1.8 |
M | log.c: 95 | Value is not of appropriate type. : (unsigned int and long): sizeof ( long ) | GJB 4.6.1.8 |
M | log.c: 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 107 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 112 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 112 | Array initialisation has too many items. : sess_term_cond[*]; given=17, expected=16 | GJB 5.1.3 |
M | log.c: 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 113 | Array initialisation has too many items. : sess_fin_state[*]; given=9, expected=8 | GJB 5.1.3 |
M | log.c: 118 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 122 | Procedure pointer declared. | GJB 4.4.1.3 |
M | log.c: 123 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 129 | Array has no bounds specified. | GJB 4.1.1.19 |
M | log.c: 130 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 130 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 133 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 133 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 133 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 134 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 134 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 134 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 135 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 135 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 135 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 136 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 136 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 136 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 137 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 137 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 137 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 138 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 138 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 138 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 139 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 139 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 139 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 140 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 140 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 140 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 141 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 141 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 141 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 142 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 142 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 142 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 143 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 143 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 143 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 144 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 144 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 144 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 145 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 145 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 145 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 146 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 146 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 146 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 147 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 147 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 147 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 148 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 148 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 148 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 149 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 149 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 149 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 150 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 150 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 150 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 151 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 151 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 151 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 152 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 152 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 152 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 153 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 153 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 153 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 154 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 154 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 154 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 155 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 155 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 155 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 156 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 156 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 156 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 157 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 157 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 157 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 158 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 158 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 158 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 159 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 159 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 159 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 160 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 160 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 160 | Operation not appropriate to plain char. : | used with char: LW_CLIP | GJB 4.1.1.15 |
M | log.c: 160 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 160 | Initialisation brace { } fault. | GJB 4.13.1.3 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 161 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 161 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 161 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 161 | Operation not appropriate to plain char. : | used with char: LW_CLIP | GJB 4.1.1.15 |
M | log.c: 161 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 162 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 162 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 162 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 163 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 163 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 163 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 164 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 164 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 164 | Operation not appropriate to plain char. : | used with char: LW_FRTIP | GJB 4.1.1.15 |
M | log.c: 164 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 164 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 165 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 165 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 165 | Operation not appropriate to plain char. : | used with char: LW_FRTIP | GJB 4.1.1.15 |
M | log.c: 165 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 165 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 166 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 166 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 166 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 167 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 167 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 167 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 168 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 168 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 168 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 169 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 169 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 169 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 170 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 170 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 170 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 171 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 171 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 171 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 172 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 172 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 172 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 173 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 173 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 173 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 174 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 174 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 174 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 175 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 175 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 175 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 176 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 176 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 176 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 177 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 177 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 177 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 178 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 178 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 178 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 179 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 179 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 179 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 180 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 180 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 180 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 181 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 181 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 181 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 182 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 182 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 182 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 183 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 183 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 183 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 184 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 184 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 184 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 185 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 185 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 185 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 186 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 186 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 186 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 187 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 187 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 187 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 188 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 188 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 188 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 189 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 189 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 189 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 190 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 190 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 190 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 191 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 191 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 191 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 192 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 192 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 192 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 193 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 193 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 193 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 194 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 194 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 194 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 195 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 195 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 195 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 198 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 198 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 198 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 198 | Struct field initialisation incorrect. : 'int' used, 'char' expected | GJB 4.13.1.2 |
M | log.c: 198 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 198 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 199 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 199 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 199 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 199 | Struct field initialisation incorrect. : 'int' used, 'char' expected | GJB 4.13.1.2 |
M | log.c: 199 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 199 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 200 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 200 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 200 | Operation not appropriate to plain char. : | used with char: LW_CLIP | GJB 4.1.1.15 |
M | log.c: 200 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 200 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 200 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 200 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 201 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 201 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 201 | Operation not appropriate to plain char. : | used with char: LW_CLIP | GJB 4.1.1.15 |
M | log.c: 201 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 201 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 201 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 201 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 202 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 202 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 202 | Operation not appropriate to plain char. : | used with char: LW_FRTIP | GJB 4.1.1.15 |
M | log.c: 202 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 202 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 202 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 202 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 203 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 203 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 203 | Operation not appropriate to plain char. : | used with char: LW_FRTIP | GJB 4.1.1.15 |
M | log.c: 203 | Operation not appropriate to plain char. : | used with char: LW_XPRT | GJB 4.1.1.15 |
M | log.c: 203 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 203 | Initialisation brace { } fault. | GJB 4.13.1.3 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 203 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 204 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 204 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 204 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 204 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 204 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 205 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 205 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 205 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 205 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 205 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 206 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 206 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 206 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 206 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 206 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 207 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 207 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 207 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 207 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 207 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 208 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 208 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 208 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 208 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 208 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 209 | Struct field initialisation incorrect. : 'unsigned char' used, 'char' expected | GJB 4.13.1.2 |
M | log.c: 209 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | log.c: 212 | Array has no bounds specified. | GJB 4.1.1.19 |
O | log.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | log.c: 213 | Array has no bounds specified. | GJB 4.1.1.19 |
M | log.c: 214 | Array has no bounds specified. | GJB 4.1.1.19 |
M | log.c: 215 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 220 | Array has no bounds specified. | GJB 4.1.1.19 |
M | log.c: 228 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 240 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 244 | Array has no bounds specified. | GJB 4.1.1.19 |
M | log.c: 246 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 246 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 247 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 248 | Struct field initialisation incorrect. : 'char' used, 'int' expected | GJB 4.13.1.2 |
M | log.c: 249 | Struct field initialisation incorrect. : 'unsigned char' used, 'char' expected | GJB 4.13.1.2 |
M | log.c: 1964 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 1964 | Array initialisation has too many items. : sess_cookie[*]; given=9, expected=8 | GJB 5.1.3 |
M | log.c: 1965 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | log.c: 1965 | Array initialisation has too many items. : sess_set_cookie[*]; given=9, expected=8 | GJB 5.1.3 |
M | log.c: 1972 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | log.c: 1972 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | log.c: 2055 | Parameter list is KR. | GJB 4.8.2.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | log.c: 4100 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | log.c: 4100 | Parameter list is KR. | GJB 4.8.2.8 |
M | log.c: 4100 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | log.c: 4103 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | log.c: 4103 | Parameter list is KR. | GJB 4.8.2.8 |
O | log.c: 4105 | Parameter list is KR. | GJB 4.8.2.8 |
O | log.c: 4106 | Parameter list is KR. | GJB 4.8.2.8 |
O | log.c: 4112 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | log.c: 24 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | log.c: 25 | Included file has path. : <sys/uio.h> | GJB 4.1.1.20 |
M | log.c: 27 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | log.c: 28 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | log.c: 29 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | log.c: 30 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | log.c: 31 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | log.c: 32 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | log.c: 33 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | log.c: 34 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | log.c: 35 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | log.c: 36 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | log.c: 37 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | log.c: 38 | Included file has path. : <haproxy/ring.h> | GJB 4.1.1.20 |
M | log.c: 39 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | log.c: 40 | Included file has path. : <haproxy/sink.h> | GJB 4.1.1.20 |
M | log.c: 41 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | log.c: 42 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | log.c: 43 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | log.c: 44 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | log.c: 45 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | log.c: 46 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | log.c: 49 | Global not initialised at declaration. : cum_log_messages | GJB 5.2.1 |
M | log.c: 52 | Global not initialised at declaration. : cfg_log_forward | GJB 5.2.1 |
M | log.c: 92 | Global not initialised at declaration. : rfc5424_escape_map | GJB 5.2.1 |
M | log.c: 93 | Global not initialised at declaration. : hdr_encode_map | GJB 5.2.1 |
M | log.c: 94 | Global not initialised at declaration. : url_encode_map | GJB 5.2.1 |
M | log.c: 95 | Global not initialised at declaration. : http_encode_map | GJB 5.2.1 |
M | lru.c: 28 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | lru.c: 29 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | lru.c: 25 | Included file has path. : <import/lru.h> | GJB 4.1.1.20 |
M | mailers.c: 34 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | mailers.c: 34 | Parameter list is KR. | GJB 4.8.2.8 |
M | mailers.c: 16 | Included file has path. : <haproxy/action-t.h> | GJB 4.1.1.20 |
M | mailers.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | mailers.c: 18 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | mailers.c: 19 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | mailers.c: 20 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | mailers.c: 21 | Included file has path. : <haproxy/mailers.h> | GJB 4.1.1.20 |
M | mailers.c: 22 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | mailers.c: 23 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | mailers.c: 24 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | mailers.c: 25 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | mailers.c: 26 | Included file has path. : <haproxy/tcpcheck.h> | GJB 4.1.1.20 |
M | mailers.c: 27 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | mailers.c: 28 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | mailers.c: 29 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
O | map.c: 1018 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1019 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1020 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1021 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1022 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1023 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1024 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1025 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1026 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1027 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1028 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1030 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1031 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1032 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1033 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1034 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1035 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1036 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1037 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1038 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1040 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1041 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1042 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1043 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1044 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1045 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1046 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1047 | Casting operation to a pointer. | GJB 4.12.2.1 |
O | map.c: 1050 | Casting operation to a pointer. | GJB 4.12.2.1 |
M | map.c: 999 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | map.c: 999 | Parameter list is KR. | GJB 4.8.2.8 |
M | map.c: 999 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | map.c: 1053 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | map.c: 1053 | Parameter list is KR. | GJB 4.8.2.8 |
M | map.c: 1053 | Parameter has same name as global variable. : sample_conv_kws | GJB 4.15.1.3 |
M | map.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | map.c: 16 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | map.c: 17 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | map.c: 18 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | map.c: 19 | Included file has path. : <haproxy/map.h> | GJB 4.1.1.20 |
M | map.c: 20 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | map.c: 21 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | map.c: 22 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | map.c: 23 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | map.c: 24 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | map.c: 25 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | memory.c: 13 | Included file has path. : <haproxy/htx-t.h> | GJB 4.1.1.20 |
M | memory.c: 15 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | misc.c: 13 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | misc.c: 14 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | misc.c: 15 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | misc.c: 17 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 32 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | modsec_wrapper.c: 45 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | modsec_wrapper.c: 75 | Value is not of appropriate type. : (int and char): { "HAProxy" | GJB 4.6.1.8 |
M | modsec_wrapper.c: 172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | modsec_wrapper.c: 174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | modsec_wrapper.c: 19 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 20 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 21 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 22 | Included file has path. : <haproxy/hlua.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 23 | Included file has path. : <haproxy/spoe.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 24 | Included file has path. : <haproxy/stream-t.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 25 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | modsec_wrapper.c: 32 | Global not initialised at declaration. : host_name | GJB 5.2.1 |
M | mqtt.c: 16 | Signed/unsigned conversion without cast. : (unsigned char and int): { [ MQTT_CPT_INVALID ] | GJB 4.6.1.9 |
M | mqtt.c: 16 | Signed/unsigned conversion without cast. : (unsigned char and int): { [ MQTT_CPT_INVALID ] = 0x00 , [ MQTT_CPT_CONNECT ] | GJB 4.6.1.9 |
M | mqtt.c: 16 | Signed/unsigned conversion without cast. : (unsigned char and int): { [ MQTT_CPT_INVALID ] = 0x00 , [ MQTT_CPT_CONNECT ] = 0x00 , [ MQTT_CPT_CONNACK ] | GJB 4.6.1.9 |
M | mqtt.c: 24 | Signed/unsigned conversion without cast. : (unsigned char and int): [ MQTT_CPT_PUBLISH ] = 0x0F , [ MQTT_CPT_PUBACK ] | GJB 4.6.1.9 |
M | mqtt.c: 24 | Signed/unsigned conversion without cast. : (unsigned char and int): [ MQTT_CPT_PUBLISH ] = 0x0F , [ MQTT_CPT_PUBACK ] = 0x00 , [ MQTT_CPT_PUBREC ] | GJB 4.6.1.9 |
M | mqtt.c: 24 | Signed/unsigned conversion without cast. : (unsigned char and int): [ MQTT_CPT_PUBLISH ] = 0x0F , [ MQTT_CPT_PUBACK ] = 0x00 , [ MQTT_CPT_PUBREC ] = 0x00 , [ MQTT_CPT_PUBREL ] = 0x02 , [ MQTT_CPT_PUBCOMP ] | GJB 4.6.1.9 |
M | mqtt.c: 29 | Signed/unsigned conversion without cast. : (unsigned char and int): 0x00 , [ MQTT_CPT_SUBSCRIBE ] = 0x02 , [ MQTT_CPT_SUBACK ] | GJB 4.6.1.9 |
M | mqtt.c: 29 | Signed/unsigned conversion without cast. : (unsigned char and int): 0x00 , [ MQTT_CPT_SUBSCRIBE ] = 0x02 , [ MQTT_CPT_SUBACK ] = 0x00 , [ MQTT_CPT_UNSUBSCRIBE ] = 0x02 , [ MQTT_CPT_UNSUBACK ] | GJB 4.6.1.9 |
M | mqtt.c: 34 | Signed/unsigned conversion without cast. : (unsigned char and int): MQTT_CPT_PINGREQ ] | GJB 4.6.1.9 |
M | mqtt.c: 34 | Signed/unsigned conversion without cast. : (unsigned char and int): MQTT_CPT_PINGREQ ] = 0x00 , [ MQTT_CPT_PINGRESP ] | GJB 4.6.1.9 |
M | mqtt.c: 34 | Signed/unsigned conversion without cast. : (unsigned char and int): MQTT_CPT_PINGREQ ] = 0x00 , [ MQTT_CPT_PINGRESP ] = 0x00 , [ MQTT_CPT_DISCONNECT ] | GJB 4.6.1.9 |
M | mqtt.c: 34 | Signed/unsigned conversion without cast. : (unsigned char and int): MQTT_CPT_PINGREQ ] = 0x00 , [ MQTT_CPT_PINGRESP ] = 0x00 , [ MQTT_CPT_DISCONNECT ] = 0x00 , [ MQTT_CPT_AUTH ] | GJB 4.6.1.9 |
M | mqtt.c: 85 | Signed/unsigned conversion without cast. : (unsigned long and int): { [ MQTT_CPT_INVALID ] | GJB 4.6.1.9 |
M | mqtt.c: 132 | Signed/unsigned conversion without cast. : (unsigned long and int): MQTT_FN_BIT_REASON_STRING | MQTT_FN_BIT_USER_PROPERTY , [ MQTT_CPT_PINGREQ ] | GJB 4.6.1.9 |
M | mqtt.c: 132 | Signed/unsigned conversion without cast. : (unsigned long and int): MQTT_FN_BIT_REASON_STRING | MQTT_FN_BIT_USER_PROPERTY , [ MQTT_CPT_PINGREQ ] = 0 , [ MQTT_CPT_PINGRESP ] | GJB 4.6.1.9 |
M | mqtt.c: 174 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 191 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 210 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 231 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 232 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 274 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 275 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 699 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 700 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 987 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 988 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 1214 | Nested comment found. | GJB 4.10.1.1 |
M | mqtt.c: 13 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | mqtt.c: 14 | Included file has path. : <haproxy/mqtt.h> | GJB 4.1.1.20 |
M | mux_pt.c: 22 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | mux_pt.c: 25 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | mux_pt.c: 25 | Parameter list is KR. | GJB 4.8.2.8 |
M | mux_pt.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | mux_pt.c: 14 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | mux_pt.c: 15 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | mux_pt.c: 16 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | mux_pt.c: 17 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 351 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | mworker-prog.c: 351 | Parameter list is KR. | GJB 4.8.2.8 |
M | mworker-prog.c: 15 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 23 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 24 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 25 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 26 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 27 | Included file has path. : <haproxy/mworker.h> | GJB 4.1.1.20 |
M | mworker-prog.c: 28 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
O | mworker.c: 396 | Parameter list is KR. | GJB 4.8.2.8 |
M | mworker.c: 623 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | mworker.c: 623 | Parameter list is KR. | GJB 4.8.2.8 |
M | mworker.c: 623 | Parameter has same name as global variable. : mworker_kws | GJB 4.15.1.3 |
O | mworker.c: 628 | Non standard character @ in source. | GJB 4.15.2.1 |
O | mworker.c: 629 | Non standard character @ in source. | GJB 4.15.2.1 |
O | mworker.c: 630 | Non standard character @ in source. | GJB 4.15.2.1 |
M | mworker.c: 636 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | mworker.c: 636 | Parameter list is KR. | GJB 4.8.2.8 |
M | mworker.c: 636 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | mworker.c: 18 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | mworker.c: 24 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | mworker.c: 25 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | mworker.c: 26 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | mworker.c: 27 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | mworker.c: 28 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | mworker.c: 29 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | mworker.c: 30 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | mworker.c: 31 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | mworker.c: 32 | Included file has path. : <haproxy/mworker.h> | GJB 4.1.1.20 |
M | mworker.c: 33 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | mworker.c: 34 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | mworker.c: 35 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | mworker.c: 36 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | mworker.c: 37 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | mworker.c: 38 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | namespace.c: 5 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | namespace.c: 7 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | namespace.c: 9 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | namespace.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | namespace.c: 14 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | namespace.c: 15 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | namespace.c: 16 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | namespace.c: 17 | Included file has path. : <haproxy/hash.h> | GJB 4.1.1.20 |
M | namespace.c: 18 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | namespace.c: 19 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | nuster.c: 13 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | nuster.c: 14 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | nuster.c: 15 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | nuster.c: 17 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | packet-happp.c: 41 | Array has no bounds specified. | GJB 4.1.1.19 |
M | packet-happp.c: 58 | Executable code before an included file. | GJB 4.2.1.5 |
M | packet-happp.c: 117 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | packet-happp.c: 118 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | packet-happp.c: 283 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 289 | Array has no bounds specified. | GJB 4.1.1.19 |
M | packet-happp.c: 296 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 297 | Array initialisation has too many items. : hf_ids[*]; given=5, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 297 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 306 | Array initialisation has too many items. : hf_ids[*]; given=5, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 306 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 314 | Array initialisation has too many items. : hf_ids[*]; given=10, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 314 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 319 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 323 | Array initialisation has too many items. : hf_ids[*]; given=9, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 323 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 330 | Array initialisation has too many items. : hf_ids[*]; given=10, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 330 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 336 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 338 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 341 | Array initialisation has too many items. : hf_ids[*]; given=9, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 341 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 348 | Array initialisation has too many items. : hf_ids[*]; given=9, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 348 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 356 | Array initialisation has too many items. : hf_ids[*]; given=10, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 356 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 362 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 364 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 367 | Array initialisation has too many items. : hf_ids[*]; given=13, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 367 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 374 | Array initialisation has too many items. : hf_ids[*]; given=14, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 374 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 380 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 382 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 385 | Array initialisation has too many items. : hf_ids[*]; given=13, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 385 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 392 | Array initialisation has too many items. : hf_ids[*]; given=14, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 392 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 398 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 400 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 403 | Array initialisation has too many items. : hf_ids[*]; given=13, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 403 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 410 | Array initialisation has too many items. : hf_ids[*]; given=14, expected=3 | GJB 5.1.3 |
M | packet-happp.c: 410 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 416 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 418 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 421 | Array initialisation has too many items. : hf_ids[*]; given=14, expected=1 | GJB 5.1.3 |
M | packet-happp.c: 421 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 427 | Array initialisation has too many items. : hf_ids[*]; given=15, expected=3 | GJB 5.1.3 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | packet-happp.c: 427 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 434 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 436 | Struct field initialisation incorrect. : 'unsigned int' used, 'int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 440 | Array initialisation has insufficient items. : hf_ids[*]; given=2, expected=3 | GJB 5.1.20 |
M | packet-happp.c: 440 | Array initialisation has insufficient items. : hf_stkt_data_types[*]; given=17, expected=20 | GJB 5.1.20 |
M | packet-happp.c: 449 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 449 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | packet-happp.c: 450 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 450 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | packet-happp.c: 451 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 451 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | packet-happp.c: 454 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 456 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | packet-happp.c: 456 | Procedure pointer declared. | GJB 4.4.1.3 |
M | packet-happp.c: 456 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | packet-happp.c: 460 | Array has no bounds specified. | GJB 4.1.1.19 |
M | packet-happp.c: 466 | Struct field initialisation incorrect. : 'char' used, 'unsigned int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 473 | Struct field initialisation incorrect. : 'char' used, 'unsigned int' expected | GJB 4.13.1.2 |
M | packet-happp.c: 475 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | packet-happp.c: 476 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
O | packet-happp.c: 129 | User type declared but not used in code analysed. | GJB 5.21 |
O | packet-happp.c: 137 | User type declared but not used in code analysed. | GJB 5.21 |
O | packet-happp.c: 156 | User type declared but not used in code analysed. | GJB 5.21 |
M | packet-happp.c: 27 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | packet-happp.c: 31 | Included file has path. : <epan/to_str.h> | GJB 4.1.1.20 |
M | packet-happp.c: 32 | Included file has path. : <epan/packet.h> | GJB 4.1.1.20 |
M | packet-happp.c: 33 | Included file has path. : <epan/prefs.h> | GJB 4.1.1.20 |
M | packet-happp.c: 34 | Included file has path. : <epan/conversation.h> | GJB 4.1.1.20 |
M | packet-happp.c: 35 | Included file has path. : <epan/strutil.h> | GJB 4.1.1.20 |
M | packet-happp.c: 36 | Included file has path. : <epan/dissectors/packet-tcp.h> | GJB 4.1.1.20 |
M | packet-happp.c: 37 | Included file has path. : <epan/tvbuff.h> | GJB 4.1.1.20 |
M | packet-happp.c: 447 | Global not initialised at declaration. : happp_tcp_handle | GJB 5.2.1 |
O | parser.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | parser.c: 13 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | parser.c: 14 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | parser.c: 15 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | parser.c: 16 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | parser.c: 17 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | parser.c: 19 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | pattern.c: 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | pattern.c: 48 | Procedure pointer declared. | GJB 4.4.1.3 |
M | pattern.c: 48 | Array initialisation has too many items. : [*]; given=14, expected=1 | GJB 5.1.3 |
M | pattern.c: 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | pattern.c: 48 | Procedure parameter has a type but no identifier. : param 1 | GJB 4.1.1.7 |
M | pattern.c: 48 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | pattern.c: 48 | Procedure parameter has a type but no identifier. : param 3 | GJB 4.1.1.7 |
M | pattern.c: 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | pattern.c: 48 | Procedure parameter has a type but no identifier. : param 4 | GJB 4.1.1.7 |
M | pattern.c: 65 | Procedure pointer declared. | GJB 4.4.1.3 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | pattern.c: 65 | Array initialisation has too many items. : [*]; given=14, expected=1 | GJB 5.1.3 |
M | pattern.c: 65 | Procedure parameter has a type but no identifier. : param 1 | GJB 4.1.1.7 |
M | pattern.c: 65 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | pattern.c: 65 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | pattern.c: 65 | Procedure parameter has a type but no identifier. : param 3 | GJB 4.1.1.7 |
M | pattern.c: 82 | Procedure pointer declared. | GJB 4.4.1.3 |
M | pattern.c: 82 | Array initialisation has too many items. : [*]; given=14, expected=1 | GJB 5.1.3 |
M | pattern.c: 82 | Procedure parameter has a type but no identifier. : param 1 | GJB 4.1.1.7 |
M | pattern.c: 99 | Procedure pointer declared. | GJB 4.4.1.3 |
M | pattern.c: 99 | Array initialisation has too many items. : [*]; given=14, expected=1 | GJB 5.1.3 |
M | pattern.c: 99 | Procedure parameter has a type but no identifier. : param 1 | GJB 4.1.1.7 |
M | pattern.c: 99 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | pattern.c: 99 | Procedure parameter has a type but no identifier. : param 3 | GJB 4.1.1.7 |
M | pattern.c: 99 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 101 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 102 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 103 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 104 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 105 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 106 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 107 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 108 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 109 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 110 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 111 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 112 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | pattern.c: 152 | Nested comment found. | GJB 4.10.1.1 |
M | pattern.c: 153 | Comment possibly contains code. | GJB 4.10.2.1 |
O | pattern.c: 2781 | Parameter list is KR. | GJB 4.8.2.8 |
O | pattern.c: 2782 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | pattern.c: 17 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | pattern.c: 18 | Included file has path. : <import/lru.h> | GJB 4.1.1.20 |
M | pattern.c: 19 | Included file has path. : <import/xxhash.h> | GJB 4.1.1.20 |
M | pattern.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | pattern.c: 22 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | pattern.c: 23 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | pattern.c: 24 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | pattern.c: 25 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | pattern.c: 26 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | pattern.c: 27 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | pattern.c: 28 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | pattern.c: 135 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | pattern.c: 135 | Global not initialised at declaration. : static_pattern | GJB 5.2.1 |
M | pattern.c: 136 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | pattern.c: 136 | Global not initialised at declaration. : static_sample_data | GJB 5.2.1 |
M | pattern.c: 141 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | pattern.c: 141 | Global not initialised at declaration. : pat_lru_tree | GJB 5.2.1 |
M | pattern.c: 142 | Global not initialised at declaration. : pat_lru_seed | GJB 5.2.1 |
O | pattern.c: 141 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
M | payload.c: 390 | Nested comment found. | GJB 4.10.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | payload.c: 1367 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | payload.c: 1367 | Parameter list is KR. | GJB 4.8.2.8 |
M | payload.c: 1367 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | payload.c: 1383 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | payload.c: 1383 | Parameter list is KR. | GJB 4.8.2.8 |
M | payload.c: 1383 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
M | payload.c: 16 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | payload.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | payload.c: 18 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | payload.c: 19 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | payload.c: 20 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | payload.c: 21 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | payload.c: 22 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | payload.c: 23 | Included file has path. : <haproxy/pattern.h> | GJB 4.1.1.20 |
M | payload.c: 24 | Included file has path. : <haproxy/payload.h> | GJB 4.1.1.20 |
M | payload.c: 25 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | peers.c: 167 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | peers.c: 173 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | peers.c: 174 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | peers.c: 178 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | peers.c: 181 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | peers.c: 184 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | peers.c: 64 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | peers.c: 98 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | peers.c: 99 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | peers.c: 121 | Comment possibly contains code. | GJB 4.10.2.1 |
M | peers.c: 144 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | peers.c: 155 | Array initialisation has insufficient items. : peer_int_key_type[*]; given=5, expected=8 | GJB 5.1.20 |
M | peers.c: 155 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | peers.c: 155 | Value is not of appropriate type. : (int and unsigned int): { [ PEER_KT_SINT ] = SMP_T_SINT | GJB 4.6.1.8 |
M | peers.c: 155 | Value is not of appropriate type. : (int and unsigned int): { [ PEER_KT_SINT ] = SMP_T_SINT , [ PEER_KT_IPV4 ] = SMP_T_IPV4 | GJB 4.6.1.8 |
M | peers.c: 155 | Value is not of appropriate type. : (int and unsigned int): { [ PEER_KT_SINT ] = SMP_T_SINT , [ PEER_KT_IPV4 ] = SMP_T_IPV4 , [ PEER_KT_IPV6 ] = SMP_T_IPV6 | GJB 4.6.1.8 |
M | peers.c: 155 | Value is not of appropriate type. : (int and unsigned int): { [ PEER_KT_SINT ] = SMP_T_SINT , [ PEER_KT_IPV4 ] = SMP_T_IPV4 , [ PEER_KT_IPV6 ] = SMP_T_IPV6 , [ PEER_KT_STR ] = SMP_T_STR | GJB 4.6.1.8 |
M | peers.c: 161 | Value is not of appropriate type. : (int and unsigned int): PEER_KT_BIN ] = SMP_T_BIN | GJB 4.6.1.8 |
M | peers.c: 161 | Value is not of appropriate type. : (int and unsigned int): PEER_KT_BIN ] = SMP_T_BIN , | GJB 4.6.1.8 |
M | peers.c: 284 | Use of sizeof on a type. | GJB 5.1.8 |
M | peers.c: 284 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | peers.c: 289 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | peers.c: 298 | Array has no bounds specified. | GJB 4.1.1.19 |
M | peers.c: 300 | Assignment operation in expression. | GJB 4.6.1.1 |
M | peers.c: 303 | Array initialisation has too many items. : peers_trace_lockon_args[*]; given=5, expected=4 | GJB 5.1.3 |
M | peers.c: 310 | Array has no bounds specified. | GJB 4.1.1.19 |
M | peers.c: 313 | Assignment operation in expression. | GJB 4.6.1.1 |
M | peers.c: 328 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | peers.c: 329 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | peers.c: 329 | Parameter list is KR. | GJB 4.8.2.8 |
M | peers.c: 329 | Parameter has same name as global variable. : trace_peers | GJB 4.15.1.3 |
M | peers.c: 3457 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | peers.c: 3457 | Parameter list is KR. | GJB 4.8.2.8 |
M | peers.c: 3457 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
O | peers.c: 3457 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | peers.c: 19 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | peers.c: 20 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | peers.c: 21 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | peers.c: 23 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | peers.c: 24 | Included file has path. : <haproxy/applet.h> | GJB 4.1.1.20 |
M | peers.c: 25 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | peers.c: 26 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | peers.c: 27 | Included file has path. : <haproxy/dict.h> | GJB 4.1.1.20 |
M | peers.c: 28 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | peers.c: 29 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | peers.c: 30 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | peers.c: 31 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | peers.c: 32 | Included file has path. : <haproxy/obj_type-t.h> | GJB 4.1.1.20 |
M | peers.c: 33 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | peers.c: 34 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | peers.c: 35 | Included file has path. : <haproxy/session-t.h> | GJB 4.1.1.20 |
M | peers.c: 36 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | peers.c: 37 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | peers.c: 38 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | peers.c: 39 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | peers.c: 40 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | peers.c: 41 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | peers.c: 42 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | peers.c: 43 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | peers.c: 44 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | peers.c: 45 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | pipe.c: 23 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | pipe.c: 23 | Parameter list is KR. | GJB 4.8.2.8 |
O | pipe.c: 27 | Parameter list is KR. | GJB 4.8.2.8 |
M | pipe.c: 16 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | pipe.c: 17 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | pipe.c: 18 | Included file has path. : <haproxy/pipe-t.h> | GJB 4.1.1.20 |
M | pipe.c: 19 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | pipe.c: 20 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 2 | Included file has path. : <netlink/cache.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 3 | Included file has path. : <netlink/cli/utils.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 4 | Included file has path. : <netlink/cli/tc.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 5 | Included file has path. : <netlink/cli/qdisc.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 6 | Included file has path. : <netlink/cli/link.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 7 | Included file has path. : <netlink/route/qdisc/plug.h> | GJB 4.1.1.20 |
M | plug_qdisc.c: 17 | Global not initialised at declaration. : nl_sock | GJB 5.2.1 |
M | plug_qdisc.c: 18 | Global not initialised at declaration. : link_cache | GJB 5.2.1 |
M | plug_qdisc.c: 19 | Global not initialised at declaration. : qdisc | GJB 5.2.1 |
M | plug_qdisc.c: 20 | Global not initialised at declaration. : tc | GJB 5.2.1 |
O | poll.c: 1 | Use of // comment in macro definition. | GJB 4.10.2.2 |
M | poll.c: 2 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | poll.c: 3 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | poll.c: 4 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | poll.c: 5 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | poll.c: 6 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | poll.c: 35 | Global not initialised at declaration. : saddr | GJB 5.2.1 |
M | poll.c: 35 | Global not initialised at declaration. : caddr | GJB 5.2.1 |
M | poll.c: 36 | Global not initialised at declaration. : salen | GJB 5.2.1 |
M | poll.c: 36 | Global not initialised at declaration. : calen | GJB 5.2.1 |
M | poll.c: 35 | Procedure contains UR data flow anomalies. : caddr | GJB 4.13.1.4 |
O | pool.c: 592 | Parameter list is KR. | GJB 4.8.2.8 |
M | pool.c: 600 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | pool.c: 600 | Parameter list is KR. | GJB 4.8.2.8 |
M | pool.c: 600 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | pool.c: 664 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | pool.c: 664 | Parameter list is KR. | GJB 4.8.2.8 |
M | pool.c: 664 | Parameter has same name as global variable. : mem_cfg_kws | GJB 4.15.1.3 |
M | pool.c: 14 | Included file has path. : <haproxy/activity-t.h> | GJB 4.1.1.20 |
M | pool.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | pool.c: 16 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | pool.c: 17 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | pool.c: 18 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | pool.c: 19 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | pool.c: 20 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | pool.c: 21 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | pool.c: 22 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | pool.c: 23 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | pool.c: 24 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | pool.c: 25 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | pool.c: 26 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | pool.c: 27 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | proto_quic.c: 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | proto_quic.c: 90 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proto_quic.c: 90 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_quic.c: 90 | Parameter has same name as global variable. : proto_quic4 | GJB 4.15.1.3 |
M | proto_quic.c: 127 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proto_quic.c: 127 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_quic.c: 127 | Parameter has same name as global variable. : proto_quic6 | GJB 4.15.1.3 |
M | proto_quic.c: 21 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | proto_quic.c: 22 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | proto_quic.c: 23 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | proto_quic.c: 25 | Included file has path. : <netinet/udp.h> | GJB 4.1.1.20 |
M | proto_quic.c: 26 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | proto_quic.c: 28 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | proto_quic.c: 29 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | proto_quic.c: 30 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | proto_quic.c: 31 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | proto_quic.c: 32 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | proto_quic.c: 33 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | proto_quic.c: 34 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | proto_quic.c: 35 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | proto_quic.c: 36 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | proto_quic.c: 37 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | proto_quic.c: 38 | Included file has path. : <haproxy/port_range.h> | GJB 4.1.1.20 |
M | proto_quic.c: 39 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | proto_quic.c: 40 | Included file has path. : <haproxy/proto_quic.h> | GJB 4.1.1.20 |
M | proto_quic.c: 41 | Included file has path. : <haproxy/proto_udp.h> | GJB 4.1.1.20 |
M | proto_quic.c: 42 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | proto_quic.c: 43 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | proto_quic.c: 44 | Included file has path. : <haproxy/quic_sock.h> | GJB 4.1.1.20 |
M | proto_quic.c: 45 | Included file has path. : <haproxy/sock_inet.h> | GJB 4.1.1.20 |
M | proto_quic.c: 46 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 46 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | proto_sockpair.c: 51 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | proto_sockpair.c: 53 | Use of sizeof on a type. | GJB 5.1.8 |
M | proto_sockpair.c: 102 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | proto_sockpair.c: 102 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_sockpair.c: 102 | Parameter has same name as global variable. : proto_sockpair | GJB 4.15.1.3 |
M | proto_sockpair.c: 380 | Comment possibly contains code. | GJB 4.10.2.1 |
M | proto_sockpair.c: 24 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 25 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 26 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 27 | Included file has path. : <sys/un.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 29 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 30 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 31 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 32 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 33 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 34 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 35 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 36 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 37 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 38 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 39 | Included file has path. : <haproxy/proto_sockpair.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 40 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 41 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 42 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | proto_sockpair.c: 43 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 47 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | proto_tcp.c: 93 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proto_tcp.c: 93 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_tcp.c: 93 | Parameter has same name as global variable. : proto_tcpv4 | GJB 4.15.1.3 |
M | proto_tcp.c: 135 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proto_tcp.c: 135 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_tcp.c: 135 | Parameter has same name as global variable. : proto_tcpv6 | GJB 4.15.1.3 |
M | proto_tcp.c: 21 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 22 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 23 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 25 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 26 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 28 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 29 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 30 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 31 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 32 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 33 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 34 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 35 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 36 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 37 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 38 | Included file has path. : <haproxy/port_range.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 39 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 40 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 41 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 42 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 43 | Included file has path. : <haproxy/sock_inet.h> | GJB 4.1.1.20 |
M | proto_tcp.c: 44 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | proto_udp.c: 43 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | proto_udp.c: 78 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | proto_udp.c: 78 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_udp.c: 78 | Parameter has same name as global variable. : proto_udp4 | GJB 4.15.1.3 |
M | proto_udp.c: 111 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proto_udp.c: 111 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_udp.c: 111 | Parameter has same name as global variable. : proto_udp6 | GJB 4.15.1.3 |
M | proto_udp.c: 23 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | proto_udp.c: 24 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | proto_udp.c: 25 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | proto_udp.c: 27 | Included file has path. : <netinet/udp.h> | GJB 4.1.1.20 |
M | proto_udp.c: 28 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | proto_udp.c: 30 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | proto_udp.c: 31 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | proto_udp.c: 32 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | proto_udp.c: 33 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | proto_udp.c: 34 | Included file has path. : <haproxy/port_range.h> | GJB 4.1.1.20 |
M | proto_udp.c: 35 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | proto_udp.c: 36 | Included file has path. : <haproxy/proto_udp.h> | GJB 4.1.1.20 |
M | proto_udp.c: 37 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | proto_udp.c: 38 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | proto_udp.c: 39 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | proto_udp.c: 40 | Included file has path. : <haproxy/sock_inet.h> | GJB 4.1.1.20 |
M | proto_udp.c: 41 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | proto_uxst.c: 88 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proto_uxst.c: 88 | Parameter list is KR. | GJB 4.8.2.8 |
M | proto_uxst.c: 88 | Parameter has same name as global variable. : proto_uxst | GJB 4.15.1.3 |
M | proto_uxst.c: 22 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 23 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 24 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 25 | Included file has path. : <sys/un.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 27 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 28 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 29 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 30 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 31 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 32 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 33 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 34 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 35 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 36 | Included file has path. : <haproxy/proto_uxst.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 37 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 38 | Included file has path. : <haproxy/sock_unix.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 39 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 40 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | proto_uxst.c: 41 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | protocol.c: 27 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | protocol.c: 27 | Array initialisation has insufficient items. : __protocol_by_family; given=1, expected=4 | GJB 5.1.20 |
O | protocol.c: 33 | Parameter list is KR. | GJB 4.8.2.8 |
M | protocol.c: 13 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | protocol.c: 14 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | protocol.c: 16 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | protocol.c: 17 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | protocol.c: 18 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | protocol.c: 19 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | protocol.c: 20 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | protocol.c: 21 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | protocol.c: 22 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | proxy.c: 57 | Array has no bounds specified. | GJB 4.1.1.19 |
M | proxy.c: 63 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | proxy.c: 63 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | proxy.c: 65 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | proxy.c: 65 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | proxy.c: 69 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | proxy.c: 69 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | proxy.c: 83 | Array has no bounds specified. | GJB 4.1.1.19 |
M | proxy.c: 102 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | proxy.c: 102 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | proxy.c: 103 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | proxy.c: 106 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | proxy.c: 106 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
O | proxy.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | proxy.c: 1681 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proxy.c: 1681 | Parameter list is KR. | GJB 4.8.2.8 |
M | proxy.c: 1681 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | proxy.c: 2381 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | proxy.c: 2381 | Parameter list is KR. | GJB 4.8.2.8 |
M | proxy.c: 2381 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
O | proxy.c: 2387 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | proxy.c: 16 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | proxy.c: 17 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | proxy.c: 18 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | proxy.c: 20 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | proxy.c: 21 | Included file has path. : <import/ebistree.h> | GJB 4.1.1.20 |
M | proxy.c: 23 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | proxy.c: 24 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | proxy.c: 25 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | proxy.c: 26 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | proxy.c: 27 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | proxy.c: 28 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | proxy.c: 29 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | proxy.c: 30 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | proxy.c: 31 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | proxy.c: 32 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | proxy.c: 33 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | proxy.c: 34 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | proxy.c: 35 | Included file has path. : <haproxy/obj_type-t.h> | GJB 4.1.1.20 |
M | proxy.c: 36 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | proxy.c: 37 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | proxy.c: 38 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | proxy.c: 39 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | proxy.c: 40 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | proxy.c: 41 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | proxy.c: 42 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | proxy.c: 43 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | proxy.c: 44 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | proxy.c: 45 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | proxy.c: 46 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | proxy.c: 47 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | proxy.c: 50 | Global not initialised at declaration. : listeners | GJB 5.2.1 |
M | ps_lua.c: 23 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | ps_lua.c: 26 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | ps_lua.c: 27 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | ps_lua.c: 27 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | ps_lua.c: 28 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | ps_lua.c: 12 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | ps_lua.c: 24 | Global not initialised at declaration. : worker | GJB 5.2.1 |
M | ps_python.c: 20 | Nested comment found. | GJB 4.10.1.1 |
M | ps_python.c: 37 | Nested comment found. | GJB 4.10.1.1 |
M | ps_python.c: 38 | Nested comment found. | GJB 4.10.1.1 |
M | ps_python.c: 39 | Nested comment found. | GJB 4.10.1.1 |
M | ps_python.c: 49 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | ps_python.c: 50 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | ps_python.c: 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | ps_python.c: 51 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | ps_python.c: 336 | Array has no bounds specified. | GJB 4.1.1.19 |
M | ps_python.c: 26 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | ps_python.c: 42 | Global not initialised at declaration. : module_ipaddress | GJB 5.2.1 |
M | ps_python.c: 43 | Global not initialised at declaration. : ipv4_address | GJB 5.2.1 |
M | ps_python.c: 44 | Global not initialised at declaration. : ipv6_address | GJB 5.2.1 |
M | ps_python.c: 45 | Global not initialised at declaration. : spoa_error | GJB 5.2.1 |
M | ps_python.c: 46 | Global not initialised at declaration. : empty_tuple | GJB 5.2.1 |
M | ps_python.c: 47 | Global not initialised at declaration. : worker | GJB 5.2.1 |
M | purger.c: 13 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | purger.c: 14 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | purger.c: 15 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | purger.c: 16 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | purger.c: 18 | Included file has path. : <nuster/nuster.h> | GJB 4.1.1.20 |
M | qpack-tbl.c: 27 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | qpack-tbl.c: 28 | Included file has path. : <haproxy/http-hdr-t.h> | GJB 4.1.1.20 |
M | qpack-tbl.c: 29 | Included file has path. : <haproxy/qpack-tbl-t.h> | GJB 4.1.1.20 |
M | queue.c: 17 | Comment possibly contains code. | GJB 4.10.2.1 |
M | queue.c: 18 | Comment possibly contains code. | GJB 4.10.2.1 |
M | queue.c: 26 | Comment possibly contains code. | GJB 4.10.2.1 |
M | queue.c: 89 | Macro parameter not in brackets. : key | GJB 4.2.1.6 |
M | queue.c: 90 | Macro parameter not in brackets. : key | GJB 4.2.1.6 |
M | queue.c: 92 | Use of C++ keyword. : class | GJB 4.1.1.9 |
M | queue.c: 92 | Macro parameter not in brackets. : class | GJB 4.2.1.6 |
M | queue.c: 92 | Macro parameter not in brackets. : offset | GJB 4.2.1.6 |
M | queue.c: 94 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | queue.c: 94 | Parameter list is KR. | GJB 4.8.2.8 |
M | queue.c: 656 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | queue.c: 656 | Parameter list is KR. | GJB 4.8.2.8 |
M | queue.c: 656 | Parameter has same name as global variable. : tcp_cont_kws | GJB 4.15.1.3 |
M | queue.c: 664 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | queue.c: 664 | Parameter list is KR. | GJB 4.8.2.8 |
M | queue.c: 664 | Parameter has same name as global variable. : http_req_kws | GJB 4.15.1.3 |
M | queue.c: 697 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | queue.c: 697 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | queue.c: 697 | Parameter list is KR. | GJB 4.8.2.8 |
M | queue.c: 697 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | queue.c: 72 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | queue.c: 73 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | queue.c: 74 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | queue.c: 75 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | queue.c: 76 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | queue.c: 77 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | queue.c: 78 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | queue.c: 79 | Included file has path. : <haproxy/server-t.h> | GJB 4.1.1.20 |
M | queue.c: 80 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | queue.c: 81 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | queue.c: 82 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | queue.c: 83 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | queue.c: 84 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | queue.c: 85 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | quic_cc.c: 23 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | quic_cc.c: 24 | Included file has path. : <haproxy/quic_cc-t.h> | GJB 4.1.1.20 |
M | quic_cc.c: 25 | Included file has path. : <haproxy/xprt_quic-t.h> | GJB 4.1.1.20 |
M | quic_cc_newreno.c: 27 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | quic_cc_newreno.c: 136 | Procedure pointer declared. | GJB 4.4.1.3 |
M | quic_cc_newreno.c: 136 | Array has no bounds specified. | GJB 4.1.1.19 |
M | quic_cc_newreno.c: 23 | Included file has path. : <haproxy/quic_cc.h> | GJB 4.1.1.20 |
M | quic_cc_newreno.c: 24 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | quic_cc_newreno.c: 25 | Included file has path. : <haproxy/xprt_quic.h> | GJB 4.1.1.20 |
M | quic_frame.c: 15 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | quic_frame.c: 859 | Procedure pointer declared. | GJB 4.4.1.3 |
M | quic_frame.c: 864 | Array has no bounds specified. | GJB 4.1.1.19 |
M | quic_frame.c: 867 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 868 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 893 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 894 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 899 | Procedure pointer declared. | GJB 4.4.1.3 |
M | quic_frame.c: 905 | Array has no bounds specified. | GJB 4.1.1.19 |
M | quic_frame.c: 906 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 908 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 909 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 934 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 935 | Signed/unsigned conversion without cast. : (unsigned char and int): .flags | GJB 4.6.1.9 |
M | quic_frame.c: 10 | Included file has path. : <import/eb64tree.h> | GJB 4.1.1.20 |
M | quic_frame.c: 11 | Included file has path. : <haproxy/quic_frame.h> | GJB 4.1.1.20 |
M | quic_frame.c: 12 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | quic_frame.c: 13 | Included file has path. : <haproxy/xprt_quic.h> | GJB 4.1.1.20 |
M | quic_sock.c: 15 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | quic_sock.c: 16 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | quic_sock.c: 18 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | quic_sock.c: 19 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | quic_sock.c: 20 | Included file has path. : <haproxy/xprt_quic.h> | GJB 4.1.1.20 |
O | quic_tls.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | quic_tls.c: 19 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | quic_tls.c: 19 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | quic_tls.c: 132 | Nested comment found. | GJB 4.10.1.1 |
M | quic_tls.c: 135 | Nested comment found. | GJB 4.10.1.1 |
M | quic_tls.c: 148 | Comment possibly contains code. | GJB 4.10.2.1 |
M | quic_tls.c: 149 | Comment possibly contains code. | GJB 4.10.2.1 |
M | quic_tls.c: 150 | Comment possibly contains code. | GJB 4.10.2.1 |
M | quic_tls.c: 151 | Comment possibly contains code. | GJB 4.10.2.1 |
M | quic_tls.c: 297 | Nested comment found. | GJB 4.10.1.1 |
M | quic_tls.c: 3 | Included file has path. : <openssl/ssl.h> | GJB 4.1.1.20 |
M | quic_tls.c: 8 | Included file has path. : <openssl/evp.h> | GJB 4.1.1.20 |
M | quic_tls.c: 9 | Included file has path. : <openssl/kdf.h> | GJB 4.1.1.20 |
M | quic_tls.c: 12 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | quic_tls.c: 13 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | quic_tls.c: 15 | Included file has path. : <haproxy/xprt_quic.h> | GJB 4.1.1.20 |
M | raw_sock.c: 19 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | raw_sock.c: 20 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | raw_sock.c: 21 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | raw_sock.c: 22 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | raw_sock.c: 24 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | raw_sock.c: 25 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | raw_sock.c: 26 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | raw_sock.c: 27 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | raw_sock.c: 28 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | raw_sock.c: 29 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | raw_sock.c: 30 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | raw_sock.c: 31 | Included file has path. : <haproxy/pipe.h> | GJB 4.1.1.20 |
M | raw_sock.c: 32 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | raw_sock.c: 33 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | raw_sock.c: 34 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | raw_sock.c: 35 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
O | regex.c: 448 | Parameter list is KR. | GJB 4.8.2.8 |
M | regex.c: 17 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | regex.c: 18 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | regex.c: 19 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | regex.c: 20 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | regex.c: 21 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | regex.c: 24 | Global not initialised at declaration. : pmatch | GJB 5.2.1 |
M | reset.c: 5 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | reset.c: 6 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | reset.c: 7 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | reset.c: 8 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | ring.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ring.c: 23 | Included file has path. : <haproxy/applet.h> | GJB 4.1.1.20 |
M | ring.c: 24 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | ring.c: 25 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | ring.c: 26 | Included file has path. : <haproxy/ring.h> | GJB 4.1.1.20 |
M | ring.c: 27 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | ring.c: 28 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | sample.c: 47 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | sample.c: 250 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | sample.c: 275 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | sample.c: 563 | Comment possibly contains code. | GJB 4.10.2.1 |
M | sample.c: 564 | Comment possibly contains code. | GJB 4.10.2.1 |
M | sample.c: 565 | Comment possibly contains code. | GJB 4.10.2.1 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[0][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[1][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[2][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[3][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[4][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[5][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[6][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[7][*]; given=9, expected=1 | GJB 5.1.3 |
M | sample.c: 815 | Array initialisation has too many items. : sample_casts[8][*]; given=9, expected=1 | GJB 5.1.3 |
O | sample.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | sample.c: 3956 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | sample.c: 3956 | Parameter list is KR. | GJB 4.8.2.8 |
M | sample.c: 3956 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
M | sample.c: 4035 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | sample.c: 4035 | Parameter list is KR. | GJB 4.8.2.8 |
M | sample.c: 4035 | Parameter has same name as global variable. : sample_conv_kws | GJB 4.15.1.3 |
O | sample.c: 4035 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | sample.c: 16 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | sample.c: 19 | Included file has path. : <import/sha1.h> | GJB 4.1.1.20 |
M | sample.c: 20 | Included file has path. : <import/xxhash.h> | GJB 4.1.1.20 |
M | sample.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | sample.c: 23 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | sample.c: 24 | Included file has path. : <haproxy/auth.h> | GJB 4.1.1.20 |
M | sample.c: 25 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | sample.c: 26 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | sample.c: 27 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | sample.c: 28 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | sample.c: 29 | Included file has path. : <haproxy/fix.h> | GJB 4.1.1.20 |
M | sample.c: 30 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | sample.c: 31 | Included file has path. : <haproxy/hash.h> | GJB 4.1.1.20 |
M | sample.c: 32 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | sample.c: 33 | Included file has path. : <haproxy/istbuf.h> | GJB 4.1.1.20 |
M | sample.c: 34 | Included file has path. : <haproxy/mqtt.h> | GJB 4.1.1.20 |
M | sample.c: 35 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | sample.c: 36 | Included file has path. : <haproxy/protobuf.h> | GJB 4.1.1.20 |
M | sample.c: 37 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | sample.c: 38 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | sample.c: 39 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | sample.c: 40 | Included file has path. : <haproxy/sink.h> | GJB 4.1.1.20 |
M | sample.c: 41 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | sample.c: 42 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | sample.c: 43 | Included file has path. : <haproxy/uri_auth-t.h> | GJB 4.1.1.20 |
M | sample.c: 44 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | sample.c: 60 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | sample.c: 60 | Global not initialised at declaration. : temp_smp | GJB 5.2.1 |
O | sample.c: 60 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
M | server.c: 50 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | server.c: 51 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | server.c: 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | server.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | server.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | server.c: 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | server.c: 55 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | server.c: 1280 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | server.c: 1280 | Parameter list is KR. | GJB 4.8.2.8 |
M | server.c: 1280 | Parameter has same name as global variable. : srv_kws | GJB 4.15.1.3 |
M | server.c: 4719 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | server.c: 4719 | Parameter list is KR. | GJB 4.8.2.8 |
M | server.c: 4719 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | server.c: 5465 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | server.c: 5465 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | server.c: 5465 | Parameter list is KR. | GJB 4.8.2.8 |
M | server.c: 5465 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
O | server.c: 5471 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | server.c: 14 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | server.c: 15 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | server.c: 19 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | server.c: 20 | Included file has path. : <import/xxhash.h> | GJB 4.1.1.20 |
M | server.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | server.c: 23 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | server.c: 24 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | server.c: 25 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | server.c: 26 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | server.c: 27 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | server.c: 28 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | server.c: 29 | Included file has path. : <haproxy/dict-t.h> | GJB 4.1.1.20 |
M | server.c: 30 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | server.c: 31 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | server.c: 32 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | server.c: 33 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | server.c: 34 | Included file has path. : <haproxy/mailers.h> | GJB 4.1.1.20 |
M | server.c: 35 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | server.c: 36 | Included file has path. : <haproxy/port_range.h> | GJB 4.1.1.20 |
M | server.c: 37 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | server.c: 38 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | server.c: 39 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | server.c: 40 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | server.c: 41 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | server.c: 42 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | server.c: 43 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | server.c: 44 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | server.c: 45 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | server.c: 46 | Included file has path. : <haproxy/tcpcheck.h> | GJB 4.1.1.20 |
M | server.c: 47 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | session.c: 26 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | session.c: 26 | Parameter list is KR. | GJB 4.8.2.8 |
M | session.c: 27 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | session.c: 27 | Parameter list is KR. | GJB 4.8.2.8 |
M | session.c: 31 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | session.c: 13 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | session.c: 14 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | session.c: 15 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | session.c: 16 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | session.c: 17 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | session.c: 18 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | session.c: 19 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | session.c: 20 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | session.c: 21 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | session.c: 22 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | session.c: 23 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | sha1.c: 87 | Macro parameter not in brackets. : X | GJB 4.2.1.6 |
M | sha1.c: 87 | Macro parameter not in brackets. : n | GJB 4.2.1.6 |
M | sha1.c: 87 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 88 | Macro parameter not in brackets. : X | GJB 4.2.1.6 |
M | sha1.c: 88 | Macro parameter not in brackets. : n | GJB 4.2.1.6 |
M | sha1.c: 88 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 129 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 129 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | sha1.c: 130 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 130 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | sha1.c: 132 | Macro parameter not in brackets. : input | GJB 4.2.1.6 |
M | sha1.c: 132 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | sha1.c: 132 | Macro parameter not in brackets. : E | GJB 4.2.1.6 |
M | sha1.c: 132 | Macro parameter not in brackets. : A | GJB 4.2.1.6 |
M | sha1.c: 132 | Macro parameter not in brackets. : B | GJB 4.2.1.6 |
M | sha1.c: 132 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 132 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | sha1.c: 137 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | sha1.c: 137 | Macro parameter not in brackets. : C | GJB 4.2.1.6 |
M | sha1.c: 137 | Macro parameter not in brackets. : D | GJB 4.2.1.6 |
M | sha1.c: 137 | Macro parameter not in brackets. : B | GJB 4.2.1.6 |
M | sha1.c: 137 | Macro parameter not in brackets. : A | GJB 4.2.1.6 |
M | sha1.c: 137 | Macro parameter not in brackets. : E | GJB 4.2.1.6 |
M | sha1.c: 137 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 138 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | sha1.c: 138 | Macro parameter not in brackets. : C | GJB 4.2.1.6 |
M | sha1.c: 138 | Macro parameter not in brackets. : D | GJB 4.2.1.6 |
M | sha1.c: 138 | Macro parameter not in brackets. : B | GJB 4.2.1.6 |
M | sha1.c: 138 | Macro parameter not in brackets. : A | GJB 4.2.1.6 |
M | sha1.c: 138 | Macro parameter not in brackets. : E | GJB 4.2.1.6 |
M | sha1.c: 138 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 139 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | sha1.c: 139 | Macro parameter not in brackets. : B | GJB 4.2.1.6 |
M | sha1.c: 139 | Macro parameter not in brackets. : C | GJB 4.2.1.6 |
M | sha1.c: 139 | Macro parameter not in brackets. : D | GJB 4.2.1.6 |
M | sha1.c: 139 | Macro parameter not in brackets. : A | GJB 4.2.1.6 |
M | sha1.c: 139 | Macro parameter not in brackets. : E | GJB 4.2.1.6 |
M | sha1.c: 139 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 140 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | sha1.c: 140 | Macro parameter not in brackets. : B | GJB 4.2.1.6 |
M | sha1.c: 140 | Macro parameter not in brackets. : C | GJB 4.2.1.6 |
M | sha1.c: 140 | Macro parameter not in brackets. : D | GJB 4.2.1.6 |
M | sha1.c: 140 | Macro parameter not in brackets. : A | GJB 4.2.1.6 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | sha1.c: 140 | Macro parameter not in brackets. : E | GJB 4.2.1.6 |
M | sha1.c: 140 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 141 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | sha1.c: 141 | Macro parameter not in brackets. : B | GJB 4.2.1.6 |
M | sha1.c: 141 | Macro parameter not in brackets. : C | GJB 4.2.1.6 |
M | sha1.c: 141 | Macro parameter not in brackets. : D | GJB 4.2.1.6 |
M | sha1.c: 141 | Macro parameter not in brackets. : A | GJB 4.2.1.6 |
M | sha1.c: 141 | Macro parameter not in brackets. : E | GJB 4.2.1.6 |
M | sha1.c: 141 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | sha1.c: 30 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | sha1.c: 32 | Included file has path. : <import/sha1.h> | GJB 4.1.1.20 |
M | shctx.c: 14 | Included file has path. : <sys/mman.h> | GJB 4.1.1.20 |
M | shctx.c: 15 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | shctx.c: 16 | Included file has path. : <import/ebmbtree.h> | GJB 4.1.1.20 |
M | shctx.c: 17 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | shctx.c: 18 | Included file has path. : <haproxy/shctx.h> | GJB 4.1.1.20 |
M | shmem.c: 13 | Included file has path. : <sys/mman.h> | GJB 4.1.1.20 |
M | shmem.c: 15 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | shmem.c: 17 | Included file has path. : <nuster/shctx.h> | GJB 4.1.1.20 |
M | shmem.c: 18 | Included file has path. : <nuster/shmem.h> | GJB 4.1.1.20 |
M | signal.c: 33 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | signal.c: 33 | Parameter list is KR. | GJB 4.8.2.8 |
M | signal.c: 16 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | signal.c: 17 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | signal.c: 18 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | signal.c: 27 | Global not initialised at declaration. : signal_queue_len | GJB 5.2.1 |
M | signal.c: 28 | Global not initialised at declaration. : signal_queue | GJB 5.2.1 |
M | signal.c: 29 | Global not initialised at declaration. : signal_state | GJB 5.2.1 |
M | signal.c: 30 | Global not initialised at declaration. : blocked_sig | GJB 5.2.1 |
O | sink.c: 1052 | Parameter list is KR. | GJB 4.8.2.8 |
O | sink.c: 1053 | Parameter list is KR. | GJB 4.8.2.8 |
M | sink.c: 1060 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | sink.c: 1060 | Parameter list is KR. | GJB 4.8.2.8 |
M | sink.c: 1060 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | sink.c: 1063 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | sink.c: 1063 | Parameter list is KR. | GJB 4.8.2.8 |
O | sink.c: 1064 | Parameter list is KR. | GJB 4.8.2.8 |
M | sink.c: 21 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | sink.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | sink.c: 23 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | sink.c: 24 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | sink.c: 25 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | sink.c: 26 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | sink.c: 27 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | sink.c: 28 | Included file has path. : <haproxy/ring.h> | GJB 4.1.1.20 |
M | sink.c: 29 | Included file has path. : <haproxy/signal.h> | GJB 4.1.1.20 |
M | sink.c: 30 | Included file has path. : <haproxy/sink.h> | GJB 4.1.1.20 |
M | sink.c: 31 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | sink.c: 32 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | sink.c: 36 | Global not initialised at declaration. : cfg_sink | GJB 5.2.1 |
M | sock.c: 22 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | sock.c: 23 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | sock.c: 24 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | sock.c: 26 | Included file has path. : <net/if.h> | GJB 4.1.1.20 |
M | sock.c: 28 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | sock.c: 29 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | sock.c: 30 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | sock.c: 31 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | sock.c: 32 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | sock.c: 33 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | sock.c: 34 | Included file has path. : <haproxy/sock_inet.h> | GJB 4.1.1.20 |
M | sock.c: 35 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | sock_inet.c: 35 | Use of sizeof on a type. | GJB 5.1.8 |
M | sock_inet.c: 35 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | sock_inet.c: 41 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet4_addrcmp | GJB 4.6.1.9 |
M | sock_inet.c: 42 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet_bind_receiver | GJB 4.6.1.9 |
M | sock_inet.c: 42 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet_bind_receiver ,.get_src = sock_get_src | GJB 4.6.1.9 |
M | sock_inet.c: 44 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet_get_dst | GJB 4.6.1.9 |
M | sock_inet.c: 48 | Use of sizeof on a type. | GJB 5.1.8 |
M | sock_inet.c: 48 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | sock_inet.c: 54 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet6_addrcmp | GJB 4.6.1.9 |
M | sock_inet.c: 55 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet_bind_receiver | GJB 4.6.1.9 |
M | sock_inet.c: 55 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet_bind_receiver ,.get_src = sock_get_src | GJB 4.6.1.9 |
M | sock_inet.c: 55 | Signed/unsigned conversion without cast. : (unsigned char and int): sock_inet_bind_receiver ,.get_src = sock_get_src ,.get_dst = sock_get_dst | GJB 4.6.1.9 |
O | sock_inet.c: 449 | Parameter list is KR. | GJB 4.8.2.8 |
M | sock_inet.c: 18 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | sock_inet.c: 19 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | sock_inet.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | sock_inet.c: 22 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | sock_inet.c: 23 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | sock_inet.c: 25 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | sock_inet.c: 26 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | sock_inet.c: 27 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | sock_inet.c: 28 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | sock_inet.c: 29 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | sock_inet.c: 30 | Included file has path. : <haproxy/receiver-t.h> | GJB 4.1.1.20 |
M | sock_inet.c: 31 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | sock_inet.c: 32 | Included file has path. : <haproxy/sock_inet.h> | GJB 4.1.1.20 |
M | sock_inet.c: 33 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | sock_unix.c: 40 | Use of sizeof on a type. | GJB 5.1.8 |
M | sock_unix.c: 19 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | sock_unix.c: 20 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | sock_unix.c: 21 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | sock_unix.c: 23 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | sock_unix.c: 24 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | sock_unix.c: 25 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | sock_unix.c: 26 | Included file has path. : <sys/un.h> | GJB 4.1.1.20 |
M | sock_unix.c: 28 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | sock_unix.c: 29 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | sock_unix.c: 30 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | sock_unix.c: 31 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | sock_unix.c: 32 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | sock_unix.c: 33 | Included file has path. : <haproxy/receiver-t.h> | GJB 4.1.1.20 |
M | sock_unix.c: 34 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | sock_unix.c: 35 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | sock_unix.c: 36 | Included file has path. : <haproxy/sock_unix.h> | GJB 4.1.1.20 |
M | sock_unix.c: 37 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | spoa.c: 49 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | spoa.c: 66 | Incomplete initialisation of enumerator. | GJB 4.13.1.1 |
M | spoa.c: 85 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | spoa.c: 85 | Array initialisation has insufficient items. : spoe_frm_err_reasons[*]; given=11, expected=100 | GJB 5.1.20 |
M | spoa.c: 85 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | spoa.c: 89 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | spoa.c: 91 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | spoa.c: 93 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | spoa.c: 95 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | spoa.c: 104 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | spoa.c: 26 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | spoa.c: 27 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | spoa.c: 28 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | spoa.c: 29 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | spoa.c: 30 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | spoa.c: 31 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | spoa.c: 32 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | spoa.c: 100 | Global not initialised at declaration. : worker_id | GJB 5.2.1 |
M | spoa.c: 1316 | Memory not freed after last reference. : files | GJB 5.1.17 |
M | spoa.c: 100 | Procedure contains UR data flow anomalies. : worker_id | GJB 4.13.1.4 |
M | ssl_ckch.c: 42 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | ssl_ckch.c: 949 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | ssl_ckch.c: 951 | Procedure pointer declared. | GJB 4.4.1.3 |
M | ssl_ckch.c: 951 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | ssl_ckch.c: 953 | Array initialisation has too many items. : cert_exts; given=12, expected=0 | GJB 5.1.3 |
M | ssl_ckch.c: 953 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | ssl_ckch.c: 954 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | ssl_ckch.c: 955 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | ssl_ckch.c: 955 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 955 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 955 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 962 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | ssl_ckch.c: 962 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 962 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 962 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 963 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | ssl_ckch.c: 963 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 963 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | ssl_ckch.c: 1021 | Comment possibly contains code. | GJB 4.10.2.1 |
O | ssl_ckch.c: 1840 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | ssl_ckch.c: 22 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 23 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 25 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 27 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 28 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 29 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | ssl_ckch.c: 30 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 31 | Included file has path. : <haproxy/ssl_ckch.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 32 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 33 | Included file has path. : <haproxy/ssl_utils.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 34 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 35 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | ssl_ckch.c: 43 | Global not initialised at declaration. : ckchs_transaction | GJB 5.2.1 |
M | ssl_ckch.c: 1830 | Global not initialised at declaration. : cli_kws | GJB 5.2.1 |
O | ssl_ckch.c: 1830 | Named variable declared but not used in code. : cli_kws | GJB 5.2.1,5.2.2 |
O | ssl_crtlist.c: 1457 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | ssl_crtlist.c: 11 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 12 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 20 | Included file has path. : <import/ebpttree.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 21 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 23 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 24 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 25 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 26 | Included file has path. : <haproxy/ssl_ckch.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 27 | Included file has path. : <haproxy/ssl_crtlist.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 28 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 29 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | ssl_crtlist.c: 30 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 1556 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | ssl_sample.c: 1556 | Parameter list is KR. | GJB 4.8.2.8 |
M | ssl_sample.c: 1556 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
M | ssl_sample.c: 1567 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | ssl_sample.c: 1567 | Parameter list is KR. | GJB 4.8.2.8 |
M | ssl_sample.c: 1567 | Parameter has same name as global variable. : acl_kws | GJB 4.15.1.3 |
M | ssl_sample.c: 23 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 24 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 25 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 26 | Included file has path. : <haproxy/buf-t.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 27 | Included file has path. : <haproxy/obj_type.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 28 | Included file has path. : <haproxy/openssl-compat.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 29 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 30 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 31 | Included file has path. : <haproxy/ssl_utils.h> | GJB 4.1.1.20 |
M | ssl_sample.c: 32 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | ssl_utils.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | ssl_utils.c: 16 | Included file has path. : <haproxy/buf-t.h> | GJB 4.1.1.20 |
M | ssl_utils.c: 17 | Included file has path. : <haproxy/openssl-compat.h> | GJB 4.1.1.20 |
M | ssl_utils.c: 18 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | standalone.c: 44 | Name redeclared in another C name space (MR). : filter_trie_node | GJB 4.1.1.16 |
M | standalone.c: 9 | Nested comment found. | GJB 4.10.1.1 |
M | standalone.c: 34 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | standalone.c: 52 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | standalone.c: 57 | Procedure pointer declared. | GJB 4.4.1.3 |
M | standalone.c: 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | standalone.c: 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | standalone.c | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | stats.c: 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | stats.c: 319 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 320 | Nested comment found. | GJB 4.10.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | stats.c: 321 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 322 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 323 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 324 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 331 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 332 | Nested comment found. | GJB 4.10.1.1 |
M | stats.c: 1843 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | stats.c: 1843 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stats.c: 1847 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stats.c: 1850 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stats.c: 1853 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stats.c: 4508 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stats.c: 4508 | Parameter list is KR. | GJB 4.8.2.8 |
M | stats.c: 4541 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stats.c: 4541 | Parameter list is KR. | GJB 4.8.2.8 |
O | stats.c: 4557 | Parameter list is KR. | GJB 4.8.2.8 |
O | stats.c: 4585 | Parameter list is KR. | GJB 4.8.2.8 |
O | stats.c: 4600 | Parameter list is KR. | GJB 4.8.2.8 |
O | stats.c: 4614 | Parameter list is KR. | GJB 4.8.2.8 |
O | stats.c: 4622 | Parameter list is KR. | GJB 4.8.2.8 |
M | stats.c: 4633 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stats.c: 4633 | Parameter list is KR. | GJB 4.8.2.8 |
M | stats.c: 4633 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
O | stats.c: 4646 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | stats.c: 23 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | stats.c: 24 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | stats.c: 25 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | stats.c: 27 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | stats.c: 28 | Included file has path. : <haproxy/applet-t.h> | GJB 4.1.1.20 |
M | stats.c: 29 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | stats.c: 30 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | stats.c: 31 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | stats.c: 32 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | stats.c: 33 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | stats.c: 34 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | stats.c: 35 | Included file has path. : <haproxy/compression.h> | GJB 4.1.1.20 |
M | stats.c: 36 | Included file has path. : <haproxy/debug.h> | GJB 4.1.1.20 |
M | stats.c: 37 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | stats.c: 38 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | stats.c: 39 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | stats.c: 40 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | stats.c: 41 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | stats.c: 42 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | stats.c: 43 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | stats.c: 44 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | stats.c: 45 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | stats.c: 46 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | stats.c: 47 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | stats.c: 48 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | stats.c: 49 | Included file has path. : <haproxy/map-t.h> | GJB 4.1.1.20 |
M | stats.c: 50 | Included file has path. : <haproxy/pattern-t.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | stats.c: 51 | Included file has path. : <haproxy/pipe.h> | GJB 4.1.1.20 |
M | stats.c: 52 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | stats.c: 53 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | stats.c: 54 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | stats.c: 55 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | stats.c: 56 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | stats.c: 57 | Included file has path. : <haproxy/stats.h> | GJB 4.1.1.20 |
M | stats.c: 58 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | stats.c: 59 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | stats.c: 60 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | stats.c: 61 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | stats.c: 62 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | stats.c: 63 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | stats.c: 64 | Included file has path. : <haproxy/uri_auth-t.h> | GJB 4.1.1.20 |
M | stats.c: 65 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | stats.c: 257 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | stats.c: 257 | Global not initialised at declaration. : info | GJB 5.2.1 |
M | stats.c: 260 | Global not initialised at declaration. : stat_f | GJB 5.2.1 |
M | stats.c: 261 | Global not initialised at declaration. : stat_count | GJB 5.2.1 |
M | stats.c: 264 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | stats.c: 264 | Global not initialised at declaration. : stat_l | GJB 5.2.1 |
M | stats.c: 272 | Global not initialised at declaration. : trash_counters | GJB 5.2.1 |
O | stats.c: 264 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
O | stats.c: 257 | Named variable declared but not used in code. : info | GJB 5.2.1,5.2.2 |
M | stick_table.c: 49 | Procedure pointer declared. | GJB 4.4.1.3 |
M | stick_table.c: 49 | Procedure parameter has a type but no identifier. : param 1 | GJB 4.1.1.7 |
M | stick_table.c: 49 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | stick_table.c: 49 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | stick_table.c: 49 | Procedure parameter has a type but no identifier. : param 3 | GJB 4.1.1.7 |
M | stick_table.c: 49 | Procedure parameter has a type but no identifier. : param 4 | GJB 4.1.1.7 |
O | stick_table.c: 3904 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3908 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stick_table.c: 3909 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stick_table.c: 3910 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | stick_table.c: 3914 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3914 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3914 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | stick_table.c: 3923 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3923 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3923 | Parameter has same name as global variable. : tcp_conn_kws | GJB 4.15.1.3 |
M | stick_table.c: 3932 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 3932 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3932 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3932 | Parameter has same name as global variable. : tcp_sess_kws | GJB 4.15.1.3 |
M | stick_table.c: 3941 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 3941 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3941 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3941 | Parameter has same name as global variable. : tcp_req_kws | GJB 4.15.1.3 |
M | stick_table.c: 3950 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 3950 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3950 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3950 | Parameter has same name as global variable. : tcp_res_kws | GJB 4.15.1.3 |
M | stick_table.c: 3959 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 3959 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3959 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3959 | Parameter has same name as global variable. : http_req_kws | GJB 4.15.1.3 |
M | stick_table.c: 3968 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 3968 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 3968 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 3968 | Parameter has same name as global variable. : http_res_kws | GJB 4.15.1.3 |
O | stick_table.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | stick_table.c: 3976 | Nested comment found. | GJB 4.10.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | stick_table.c: 3976 | Comment possibly contains code. | GJB 4.10.2.1 |
M | stick_table.c: 3977 | Comment possibly contains code. | GJB 4.10.2.1 |
M | stick_table.c: 4106 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 4106 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 4106 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 4106 | Parameter has same name as global variable. : smp_fetch_keywords | GJB 4.15.1.3 |
M | stick_table.c: 4134 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stick_table.c: 4134 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stick_table.c: 4134 | Parameter list is KR. | GJB 4.8.2.8 |
M | stick_table.c: 4134 | Parameter has same name as global variable. : sample_conv_kws | GJB 4.15.1.3 |
O | stick_table.c: 4134 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | stick_table.c: 17 | Included file has path. : <import/ebmbtree.h> | GJB 4.1.1.20 |
M | stick_table.c: 18 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
M | stick_table.c: 19 | Included file has path. : <import/ebistree.h> | GJB 4.1.1.20 |
M | stick_table.c: 21 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | stick_table.c: 22 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | stick_table.c: 23 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | stick_table.c: 24 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | stick_table.c: 25 | Included file has path. : <haproxy/dict.h> | GJB 4.1.1.20 |
M | stick_table.c: 26 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | stick_table.c: 27 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | stick_table.c: 28 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | stick_table.c: 29 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | stick_table.c: 30 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | stick_table.c: 31 | Included file has path. : <haproxy/net_helper.h> | GJB 4.1.1.20 |
M | stick_table.c: 32 | Included file has path. : <haproxy/peers.h> | GJB 4.1.1.20 |
M | stick_table.c: 33 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | stick_table.c: 34 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | stick_table.c: 35 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | stick_table.c: 36 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | stick_table.c: 37 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | stick_table.c: 38 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | stick_table.c: 39 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | stick_table.c: 40 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | stick_table.c: 41 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | stick_table.c: 42 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | stick_table.c: 43 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | stick_table.c: 44 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | stick_table.c: 48 | Global not initialised at declaration. : THREAD_LOCAL | GJB 5.2.1 |
M | stick_table.c: 48 | Global not initialised at declaration. : static_table_key | GJB 5.2.1 |
M | stick_table.c: 51 | Global not initialised at declaration. : stktables_list | GJB 5.2.1 |
O | stick_table.c: 48 | Named variable declared but not used in code. : THREAD_LOCAL | GJB 5.2.1,5.2.2 |
M | stream.c: 64 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 64 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 65 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 65 | Parameter list is KR. | GJB 4.8.2.8 |
O | stream.c: 68 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 88 | Array has no bounds specified. | GJB 4.1.1.19 |
M | stream.c: 112 | Array has no bounds specified. | GJB 4.1.1.19 |
M | stream.c: 114 | Assignment operation in expression. | GJB 4.6.1.1 |
M | stream.c: 116 | Assignment operation in expression. | GJB 4.6.1.1 |
M | stream.c: 118 | Assignment operation in expression. | GJB 4.6.1.1 |
M | stream.c: 120 | Assignment operation in expression. | GJB 4.6.1.1 |
M | stream.c: 123 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | stream.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | stream.c: 137 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | stream.c: 138 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 138 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 138 | Parameter has same name as global variable. : trace_strm | GJB 4.15.1.3 |
M | stream.c: 1442 | Macro parameter not in brackets. : back | GJB 4.2.1.6 |
M | stream.c: 1442 | Macro parameter not in brackets. : real | GJB 4.2.1.6 |
M | stream.c: 1442 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | stream.c: 1442 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | stream.c: 1456 | Macro parameter not in brackets. : fun | GJB 4.2.1.6 |
O | stream.c: 1456 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | stream.c: 1456 | More than one of # or ## in a macro. | GJB 4.1.1.11 |
M | stream.c: 1456 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | stream.c: 1456 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | stream.c: 1476 | Macro parameter not in brackets. : fun | GJB 4.2.1.6 |
O | stream.c: 1476 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | stream.c: 1476 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | stream.c: 1476 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | stream.c: 3462 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 3462 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 3462 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | stream.c: 3470 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stream.c: 3470 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 3470 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 3470 | Parameter has same name as global variable. : stream_tcp_keywords | GJB 4.15.1.3 |
M | stream.c: 3477 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stream.c: 3477 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 3477 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 3477 | Parameter has same name as global variable. : stream_http_keywords | GJB 4.15.1.3 |
M | stream.c: 3510 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | stream.c: 3510 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | stream.c: 3510 | Parameter list is KR. | GJB 4.8.2.8 |
M | stream.c: 3510 | Parameter has same name as global variable. : smp_kws | GJB 4.15.1.3 |
O | stream.c: 3516 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | stream.c: 17 | Included file has path. : <import/ebistree.h> | GJB 4.1.1.20 |
M | stream.c: 19 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | stream.c: 20 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | stream.c: 21 | Included file has path. : <haproxy/activity.h> | GJB 4.1.1.20 |
M | stream.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | stream.c: 23 | Included file has path. : <haproxy/applet.h> | GJB 4.1.1.20 |
M | stream.c: 24 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | stream.c: 25 | Included file has path. : <haproxy/backend.h> | GJB 4.1.1.20 |
M | stream.c: 26 | Included file has path. : <haproxy/capture.h> | GJB 4.1.1.20 |
M | stream.c: 27 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | stream.c: 28 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | stream.c: 29 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | stream.c: 30 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | stream.c: 31 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | stream.c: 32 | Included file has path. : <haproxy/dict.h> | GJB 4.1.1.20 |
M | stream.c: 33 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | stream.c: 34 | Included file has path. : <haproxy/dynbuf.h> | GJB 4.1.1.20 |
M | stream.c: 35 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | stream.c: 36 | Included file has path. : <haproxy/filters.h> | GJB 4.1.1.20 |
M | stream.c: 37 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | stream.c: 38 | Included file has path. : <haproxy/frontend.h> | GJB 4.1.1.20 |
M | stream.c: 39 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | stream.c: 40 | Included file has path. : <haproxy/hlua.h> | GJB 4.1.1.20 |
M | stream.c: 41 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | stream.c: 42 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | stream.c: 43 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | stream.c: 44 | Included file has path. : <haproxy/istbuf.h> | GJB 4.1.1.20 |
M | stream.c: 45 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | stream.c: 46 | Included file has path. : <haproxy/pipe.h> | GJB 4.1.1.20 |
M | stream.c: 47 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | stream.c: 48 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | stream.c: 49 | Included file has path. : <haproxy/queue.h> | GJB 4.1.1.20 |
M | stream.c: 50 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | stream.c: 51 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | stream.c: 52 | Included file has path. : <haproxy/session.h> | GJB 4.1.1.20 |
M | stream.c: 53 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | stream.c: 54 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | stream.c: 55 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | stream.c: 56 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | stream.c: 57 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | stream.c: 58 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | stream.c: 59 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | stream.c: 60 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | stream.c: 61 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
O | stream_interface.c: 1724 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | stream_interface.c: 18 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | stream_interface.c: 19 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | stream_interface.c: 20 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | stream_interface.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | stream_interface.c: 23 | Included file has path. : <haproxy/applet.h> | GJB 4.1.1.20 |
M | stream_interface.c: 24 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | stream_interface.c: 25 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | stream_interface.c: 26 | Included file has path. : <haproxy/dynbuf.h> | GJB 4.1.1.20 |
M | stream_interface.c: 27 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | stream_interface.c: 28 | Included file has path. : <haproxy/pipe-t.h> | GJB 4.1.1.20 |
M | stream_interface.c: 29 | Included file has path. : <haproxy/pipe.h> | GJB 4.1.1.20 |
M | stream_interface.c: 30 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | stream_interface.c: 31 | Included file has path. : <haproxy/stream-t.h> | GJB 4.1.1.20 |
M | stream_interface.c: 32 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | stream_interface.c: 33 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | stream_interface.c: 34 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | stream_interface.c: 35 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | stream_interface.c: 36 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | task.c: 30 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | task.c: 30 | Parameter list is KR. | GJB 4.8.2.8 |
M | task.c: 31 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | task.c: 31 | Parameter list is KR. | GJB 4.8.2.8 |
M | task.c: 36 | Function declared more than once. : DECLARE_POOL | GJB 5.1.23 |
M | task.c: 36 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | task.c: 36 | Parameter list is KR. | GJB 4.8.2.8 |
O | task.c: 47 | Parameter list is KR. | GJB 4.8.2.8 |
O | task.c: 48 | Parameter list is KR. | GJB 4.8.2.8 |
M | task.c: 842 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | task.c: 842 | Parameter list is KR. | GJB 4.8.2.8 |
M | task.c: 842 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
O | task.c: 843 | Parameter list is KR. | GJB 4.8.2.8 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | task.c: 15 | Included file has path. : <import/eb32sctree.h> | GJB 4.1.1.20 |
M | task.c: 16 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | task.c: 18 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | task.c: 19 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | task.c: 20 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | task.c: 21 | Included file has path. : <haproxy/freq_ctr.h> | GJB 4.1.1.20 |
M | task.c: 22 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | task.c: 23 | Included file has path. : <haproxy/pool.h> | GJB 4.1.1.20 |
M | task.c: 24 | Included file has path. : <haproxy/stream.h> | GJB 4.1.1.20 |
M | task.c: 25 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | task.c: 26 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | task.c: 27 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | task.c: 55 | Global not initialised at declaration. : rqueue_ticks | GJB 5.2.1 |
M | task.c: 57 | Global not initialised at declaration. : task_per_thread | GJB 5.2.1 |
M | tcp_act.c: 301 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_act.c: 301 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_act.c: 301 | Parameter has same name as global variable. : tcp_req_conn_actions | GJB 4.15.1.3 |
M | tcp_act.c: 312 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_act.c: 312 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_act.c: 312 | Parameter has same name as global variable. : tcp_req_sess_actions | GJB 4.15.1.3 |
M | tcp_act.c: 321 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | tcp_act.c: 321 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_act.c: 321 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_act.c: 321 | Parameter has same name as global variable. : tcp_req_cont_actions | GJB 4.15.1.3 |
M | tcp_act.c: 328 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | tcp_act.c: 328 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_act.c: 328 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_act.c: 328 | Parameter has same name as global variable. : tcp_res_cont_actions | GJB 4.15.1.3 |
M | tcp_act.c: 339 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | tcp_act.c: 339 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_act.c: 339 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_act.c: 339 | Parameter has same name as global variable. : http_req_actions | GJB 4.15.1.3 |
M | tcp_act.c: 346 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | tcp_act.c: 346 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_act.c: 346 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_act.c: 346 | Parameter has same name as global variable. : http_res_actions | GJB 4.15.1.3 |
M | tcp_act.c: 21 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | tcp_act.c: 22 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | tcp_act.c: 23 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | tcp_act.c: 25 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | tcp_act.c: 26 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | tcp_act.c: 28 | Included file has path. : <haproxy/action-t.h> | GJB 4.1.1.20 |
M | tcp_act.c: 29 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | tcp_act.c: 30 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | tcp_act.c: 31 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | tcp_act.c: 32 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | tcp_act.c: 33 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | tcp_act.c: 34 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | tcp_act.c: 35 | Included file has path. : <haproxy/proto_tcp.h> | GJB 4.1.1.20 |
M | tcp_act.c: 36 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | tcp_act.c: 37 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | tcp_act.c: 38 | Included file has path. : <haproxy/stream-t.h> | GJB 4.1.1.20 |
M | tcp_act.c: 39 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | tcp_act.c: 40 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 35 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | tcp_rules.c: 1311 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_rules.c: 1311 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_rules.c: 1311 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | tcp_rules.c: 12 | Included file has path. : <haproxy/acl.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 13 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 14 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | tcp_rules.c: 15 | Included file has path. : <haproxy/arg-t.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 16 | Included file has path. : <haproxy/capture-t.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 17 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 18 | Included file has path. : <haproxy/channel.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 19 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 20 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 21 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 22 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 23 | Included file has path. : <haproxy/proxy.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 24 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 25 | Included file has path. : <haproxy/stick_table.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 26 | Included file has path. : <haproxy/stream-t.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 27 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 28 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 29 | Included file has path. : <haproxy/ticks.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 30 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 31 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | tcp_rules.c: 32 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
O | tcp_sample.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | tcp_sample.c: 407 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcp_sample.c: 407 | Parameter list is KR. | GJB 4.8.2.8 |
M | tcp_sample.c: 407 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
M | tcp_sample.c: 26 | Included file has path. : <sys/param.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 27 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 28 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 30 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 31 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 33 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 34 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 35 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 36 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 37 | Included file has path. : <haproxy/listener-t.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 38 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 39 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 40 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | tcp_sample.c: 41 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 68 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | tcpcheck.c: 68 | Parameter list is KR. | GJB 4.8.2.8 |
O | tcpcheck.c: 4988 | Parameter list is KR. | GJB 4.8.2.8 |
O | tcpcheck.c: 4989 | Parameter list is KR. | GJB 4.8.2.8 |
O | tcpcheck.c: 4990 | Parameter list is KR. | GJB 4.8.2.8 |
O | tcpcheck.c: 4991 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | tcpcheck.c: 17 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 18 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 19 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 20 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 21 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 22 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 23 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 36 | Included file has path. : <haproxy/action.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 37 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | tcpcheck.c: 38 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 39 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 40 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 41 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 42 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 43 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 44 | Included file has path. : <haproxy/h1.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 45 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 46 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 47 | Included file has path. : <haproxy/htx.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 48 | Included file has path. : <haproxy/istbuf.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 49 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 50 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 51 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 52 | Included file has path. : <haproxy/proxy-t.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 53 | Included file has path. : <haproxy/regex.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 54 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 55 | Included file has path. : <haproxy/server.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 56 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 57 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 58 | Included file has path. : <haproxy/tcpcheck.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 59 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 60 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | tcpcheck.c: 61 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | tcploop.c: 54 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | tcploop.c: 64 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tcploop.c: 72 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tcploop.c: 27 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
M | tcploop.c: 28 | Included file has path. : <sys/select.h> | GJB 4.1.1.20 |
M | tcploop.c: 29 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | tcploop.c: 30 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | tcploop.c: 31 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | tcploop.c: 32 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | tcploop.c: 33 | Included file has path. : <sys/ioctl.h> | GJB 4.1.1.20 |
M | tcploop.c: 34 | Included file has path. : <sys/wait.h> | GJB 4.1.1.20 |
M | tcploop.c: 35 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | tcploop.c: 36 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | tcploop.c: 37 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | tcploop.c: 72 | Global not initialised at declaration. : trash | GJB 5.2.1 |
M | tcploop.c: 75 | Global not initialised at declaration. : start_time | GJB 5.2.1 |
M | tcploop.c: 76 | Global not initialised at declaration. : showtime | GJB 5.2.1 |
M | tcploop.c: 77 | Global not initialised at declaration. : verbose | GJB 5.2.1 |
M | tcploop.c: 78 | Global not initialised at declaration. : pid | GJB 5.2.1 |
M | tcploop.c: 76 | Procedure contains UR data flow anomalies. : showtime | GJB 4.13.1.4 |
M | tcploop.c: 72 | Procedure contains UR data flow anomalies. : trash | GJB 4.13.1.4 |
M | tcploop.c: 77 | Procedure contains UR data flow anomalies. : verbose | GJB 4.13.1.4 |
M | test-arg.c: 4 | Included file has path. : "proto/arg.h" | GJB 4.1.1.20 |
M | test-list.c: 5 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | test-list.c: 17 | Global not initialised at declaration. : tid | GJB 5.2.1 |
O | test_hashes.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | test_hashes.c: 49 | Nested comment found. | GJB 4.10.1.1 |
M | test_hashes.c: 63 | Executable code before an included file. | GJB 4.2.1.5 |
M | test_hashes.c: 148 | Nested comment found. | GJB 4.10.1.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | test_hashes.c: 150 | #undef used. | GJB 4.1.2.6 |
M | test_hashes.c: 338 | Nested comment found. | GJB 4.10.1.1 |
M | test_hashes.c: 354 | Macro parameter not in brackets. : a | GJB 4.2.1.6 |
M | test_hashes.c: 354 | Macro parameter not in brackets. : c | GJB 4.2.1.6 |
M | test_hashes.c: 354 | Macro parameter not in brackets. : b | GJB 4.2.1.6 |
M | test_hashes.c: 354 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | test_hashes.c: 354 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_hashes.c: 389 | Macro parameter not in brackets. : c | GJB 4.2.1.6 |
M | test_hashes.c: 389 | Macro parameter not in brackets. : b | GJB 4.2.1.6 |
M | test_hashes.c: 389 | Macro parameter not in brackets. : a | GJB 4.2.1.6 |
M | test_hashes.c: 389 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | test_hashes.c: 389 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | test_hashes.c: 510 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | test_hashes.c: 510 | Macro parameter not in brackets. : fct | GJB 4.2.1.6 |
M | test_hashes.c: 510 | Macro parameter not in brackets. : args | GJB 4.2.1.6 |
M | test_hashes.c: 510 | More than one of # or ## in a macro. | GJB 4.1.1.11 |
M | test_hashes.c: 510 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | test_hashes.c: 510 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_hashes.c: 8 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | test_hashes.c: 63 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | test_pools.c: 31 | Macro parameter not in brackets. : test | GJB 4.2.1.6 |
O | test_pools.c: 31 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | test_pools.c: 31 | Macro parameter not in brackets. : expr | GJB 4.2.1.6 |
M | test_pools.c: 31 | Macro parameter not in brackets. : str | GJB 4.2.1.6 |
M | test_pools.c: 31 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | test_pools.c: 31 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_pools.c: 37 | Macro parameter not in brackets. : arg1 | GJB 4.2.1.6 |
M | test_pools.c: 37 | Macro parameter not in brackets. : arg2 | GJB 4.2.1.6 |
M | test_pools.c: 37 | Macro parameter not in brackets. : test | GJB 4.2.1.6 |
M | test_pools.c: 37 | Macro parameter not in brackets. : desc | GJB 4.2.1.6 |
M | test_pools.c: 37 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | test_pools.c: 37 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_pools.c: 45 | Executable code before an included file. | GJB 4.2.1.5 |
M | test_pools.c: 52 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | test_pools.c: 52 | Type conversion without cast. : (bool and unsigned int): #define pool_alloc_from( __pool , __len ) ( { void * __p ; if ( ( __p = ( __pool ) ) == NULL ) __p = malloc ( ( ( __len ) >= sizeof | GJB 4.6.1.9 |
M | test_pools.c: 52 | Macro parameter not in brackets. : __pool | GJB 4.2.1.6 |
M | test_pools.c: 52 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_pools.c: 72 | Macro parameter not in brackets. : __pool | GJB 4.2.1.6 |
M | test_pools.c: 72 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | test_pools.c: 84 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | test_pools.c: 84 | Macro parameter not in brackets. : type | GJB 4.2.1.6 |
M | test_pools.c: 84 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | test_pools.c: 84 | More than one of # or ## in a macro. | GJB 4.1.1.11 |
M | test_pools.c: 84 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_pools.c: 103 | Macro parameter not in brackets. : ptr | GJB 4.2.1.6 |
O | test_pools.c: 103 | Use of ## or # in a macro. | GJB 4.15.2.2 |
M | test_pools.c: 103 | Macro parameter not in brackets. : type | GJB 4.2.1.6 |
M | test_pools.c: 103 | More than one of # or ## in a macro. | GJB 4.1.1.11 |
M | test_pools.c: 103 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | test_pools.c: 10 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | testinet.c: 6 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | testinet.c: 7 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | testinet.c: 8 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | testinet.c: 9 | Included file has path. : <netinet/tcp.h> | GJB 4.1.1.20 |
M | testinet.c: 10 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | testinet.c: 11 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | testinet.c: 17 | Included file has path. : <sys/resource.h> | GJB 4.1.1.20 |
O | thread.c: 240 | Parameter list is KR. | GJB 4.8.2.8 |
O | thread.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | thread.c: 26 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | thread.c: 27 | Included file has path. : <haproxy/fd.h> | GJB 4.1.1.20 |
M | thread.c: 28 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | thread.c: 29 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | thread.c: 30 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
O | threading.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
O | threading.c: 4 | User type declared but not used in code analysed. : dummyFiftyoneDegreesThreading | GJB 5.21 |
M | time.c: 34 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | time.c: 14 | Included file has path. : <sys/time.h> | GJB 4.1.1.20 |
M | time.c: 16 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | time.c: 17 | Included file has path. : <haproxy/time.h> | GJB 4.1.1.20 |
M | time.c: 18 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | time.c: 20 | Global not initialised at declaration. : ms_left_scaled | GJB 5.2.1 |
M | time.c: 21 | Global not initialised at declaration. : now_ms | GJB 5.2.1 |
M | time.c: 22 | Global not initialised at declaration. : samp_time | GJB 5.2.1 |
M | time.c: 23 | Global not initialised at declaration. : idle_time | GJB 5.2.1 |
M | time.c: 24 | Global not initialised at declaration. : now | GJB 5.2.1 |
M | time.c: 25 | Global not initialised at declaration. : date | GJB 5.2.1 |
M | time.c: 26 | Global not initialised at declaration. : start_date | GJB 5.2.1 |
M | time.c: 27 | Global not initialised at declaration. : before_poll | GJB 5.2.1 |
M | time.c: 28 | Global not initialised at declaration. : after_poll | GJB 5.2.1 |
M | time.c: 30 | Global not initialised at declaration. : tv_offset | GJB 5.2.1 |
M | time.c: 31 | Global not initialised at declaration. : global_now | GJB 5.2.1 |
M | time.c: 33 | Global not initialised at declaration. : iso_time_sec | GJB 5.2.1 |
M | time.c: 34 | Global not initialised at declaration. : iso_time_str | GJB 5.2.1 |
M | tools.c: 61 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | tools.c: 61 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | tools.c: 71 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tools.c: 71 | Array subscript is not integral. | GJB 4.6.1.10 |
M | tools.c: 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tools.c: 77 | Array subscript is not integral. | GJB 4.6.1.10 |
M | tools.c: 1489 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 1773 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tools.c: 1773 | Array initialisation has too many items. : hextab[*]; given=17, expected=16 | GJB 5.1.3 |
M | tools.c: 1899 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 2938 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 3053 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tools.c: 3053 | Array has no bounds specified. | GJB 4.1.1.19 |
M | tools.c: 3053 | Value is not of appropriate type. : (char and unsigned char): { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0xFF | GJB 4.6.1.8 |
M | tools.c: 3053 | Value is not of appropriate type. : (char and unsigned char): { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0xFF , 0xFF | GJB 4.6.1.8 |
M | tools.c: 3178 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | tools.c: 3186 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3656 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 3703 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 3760 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 3796 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 3828 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3830 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3832 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3841 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3842 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3843 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3844 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3845 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3917 | Comment possibly contains code. | GJB 4.10.2.1 |
M | tools.c: 3918 | Comment possibly contains code. | GJB 4.10.2.1 |
O | tools.c: 4806 | Parameter list is KR. | GJB 4.8.2.8 |
M | tools.c: 4806 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | tools.c: 4809 | Nested comment found. | GJB 4.10.1.1 |
M | tools.c: 4945 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | tools.c: 4951 | Bit operator with boolean operand. : |= used with bool: PARSE_ERR_TOOLARGE | GJB 4.6.1.17,4.6.1.18 |
M | tools.c: 4945 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | tools.c: 4945 | Macro contains unacceptable items. | GJB 4.1.1.13 |
O | tools.c: 5242 | #undef used. | GJB 4.1.2.6 |
O | tools.c: 5293 | More than 2000 executable reformatted lines in file. | GJB 4.2.2.1 |
M | tools.c: 28 | Included file has path. : <sys/socket.h> | GJB 4.1.1.20 |
M | tools.c: 29 | Included file has path. : <sys/stat.h> | GJB 4.1.1.20 |
M | tools.c: 30 | Included file has path. : <sys/types.h> | GJB 4.1.1.20 |
M | tools.c: 31 | Included file has path. : <sys/un.h> | GJB 4.1.1.20 |
M | tools.c: 32 | Included file has path. : <netinet/in.h> | GJB 4.1.1.20 |
M | tools.c: 33 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | tools.c: 36 | Included file has path. : <sys/auxv.h> | GJB 4.1.1.20 |
M | tools.c: 39 | Included file has path. : <import/eb32sctree.h> | GJB 4.1.1.20 |
M | tools.c: 40 | Included file has path. : <import/eb32tree.h> | GJB 4.1.1.20 |
M | tools.c: 42 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | tools.c: 43 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | tools.c: 44 | Included file has path. : <haproxy/dgram.h> | GJB 4.1.1.20 |
M | tools.c: 45 | Included file has path. : <haproxy/dns.h> | GJB 4.1.1.20 |
M | tools.c: 46 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | tools.c: 47 | Included file has path. : <haproxy/hlua.h> | GJB 4.1.1.20 |
M | tools.c: 48 | Included file has path. : <haproxy/listener.h> | GJB 4.1.1.20 |
M | tools.c: 49 | Included file has path. : <haproxy/namespace.h> | GJB 4.1.1.20 |
M | tools.c: 50 | Included file has path. : <haproxy/protocol.h> | GJB 4.1.1.20 |
M | tools.c: 51 | Included file has path. : <haproxy/sock.h> | GJB 4.1.1.20 |
M | tools.c: 52 | Included file has path. : <haproxy/ssl_sock.h> | GJB 4.1.1.20 |
M | tools.c: 53 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
M | tools.c: 54 | Included file has path. : <haproxy/task.h> | GJB 4.1.1.20 |
M | tools.c: 55 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | tools.c: 71 | Global not initialised at declaration. : itoa_str | GJB 5.2.1 |
M | tools.c: 77 | Global not initialised at declaration. : quoted_str | GJB 5.2.1 |
M | tools.c: 4806 | Global not initialised at declaration. : ha_random_state | GJB 5.2.1 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | trace.c: 49 | Parameter list is KR. | GJB 4.8.2.8 |
O | trace.c: 50 | Parameter list is KR. | GJB 4.8.2.8 |
M | trace.c: 664 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | trace.c: 664 | Parameter list is KR. | GJB 4.8.2.8 |
M | trace.c: 664 | Parameter has same name as global variable. : cli_kws | GJB 4.15.1.3 |
M | trace.c: 21 | Included file has path. : <import/ist.h> | GJB 4.1.1.20 |
M | trace.c: 22 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | trace.c: 23 | Included file has path. : <haproxy/buf.h> | GJB 4.1.1.20 |
M | trace.c: 24 | Included file has path. : <haproxy/cli.h> | GJB 4.1.1.20 |
M | trace.c: 25 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | trace.c: 26 | Included file has path. : <haproxy/istbuf.h> | GJB 4.1.1.20 |
M | trace.c: 27 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | trace.c: 28 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | trace.c: 29 | Included file has path. : <haproxy/sink.h> | GJB 4.1.1.20 |
M | trace.c: 30 | Included file has path. : <haproxy/trace.h> | GJB 4.1.1.20 |
M | uri_auth.c: 16 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | uri_auth.c: 17 | Included file has path. : <haproxy/base64.h> | GJB 4.1.1.20 |
M | uri_auth.c: 18 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | uri_auth.c: 19 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | uri_auth.c: 20 | Included file has path. : <haproxy/stats-t.h> | GJB 4.1.1.20 |
M | uri_auth.c: 21 | Included file has path. : <haproxy/uri_auth.h> | GJB 4.1.1.20 |
M | uri_hash.c: 8 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | uri_hash.c: 177 | Comment possibly contains code. | GJB 4.10.2.1 |
O | uri_hash.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | uri_hash.c: 178 | Comment possibly contains code. | GJB 4.10.2.1 |
M | uri_hash.c: 179 | Comment possibly contains code. | GJB 4.10.2.1 |
M | uri_hash.c: 182 | Nested comment found. | GJB 4.10.1.1 |
O | uri_hash.c: 184 | #undef used. | GJB 4.1.2.6 |
M | uri_hash.c: 3 | Included file has path. : <arpa/inet.h> | GJB 4.1.1.20 |
M | uri_hash.c: 8 | Global not initialised at declaration. : line | GJB 5.2.1 |
M | uri_hash.c: 10 | Global not initialised at declaration. : counts_gd1 | GJB 5.2.1 |
M | uri_hash.c: 22 | Global not initialised at declaration. : counts_gd2 | GJB 5.2.1 |
M | uri_hash.c: 38 | Global not initialised at declaration. : counts_gd3 | GJB 5.2.1 |
M | uri_hash.c: 54 | Global not initialised at declaration. : counts_gd4 | GJB 5.2.1 |
M | uri_hash.c: 70 | Global not initialised at declaration. : counts_gd5 | GJB 5.2.1 |
M | uri_hash.c: 86 | Global not initialised at declaration. : counts_gd6 | GJB 5.2.1 |
M | uri_hash.c: 102 | Global not initialised at declaration. : counts_wt1 | GJB 5.2.1 |
M | uri_hash.c: 131 | Global not initialised at declaration. : counts_wt2 | GJB 5.2.1 |
M | uri_hash.c: 199 | Global not initialised at declaration. : counts_SuperFastHash | GJB 5.2.1 |
M | uri_hash.c: 249 | Global not initialised at declaration. : counts_SuperFastHash2 | GJB 5.2.1 |
M | uri_hash.c: 298 | Global not initialised at declaration. : counts_srv | GJB 5.2.1 |
M | vars.c: 20 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 20 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 27 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | vars.c: 39 | Parameter list is KR. | GJB 4.8.2.8 |
O | vars.c: 867 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 875 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 875 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 875 | Parameter has same name as global variable. : sample_fetch_keywords | GJB 4.15.1.3 |
M | vars.c: 883 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 883 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 883 | Parameter has same name as global variable. : sample_conv_kws | GJB 4.15.1.3 |
M | vars.c: 891 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 891 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | vars.c: 891 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 891 | Parameter has same name as global variable. : tcp_req_sess_kws | GJB 4.15.1.3 |
M | vars.c: 899 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 899 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 899 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 899 | Parameter has same name as global variable. : tcp_req_cont_kws | GJB 4.15.1.3 |
M | vars.c: 907 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 907 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 907 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 907 | Parameter has same name as global variable. : tcp_res_kws | GJB 4.15.1.3 |
M | vars.c: 915 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 915 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 915 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 915 | Parameter has same name as global variable. : tcp_check_kws | GJB 4.15.1.3 |
M | vars.c: 923 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 923 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 923 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 923 | Parameter has same name as global variable. : http_req_kws | GJB 4.15.1.3 |
M | vars.c: 931 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 931 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 931 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 931 | Parameter has same name as global variable. : http_res_kws | GJB 4.15.1.3 |
M | vars.c: 939 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 939 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 939 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 939 | Parameter has same name as global variable. : http_after_res_kws | GJB 4.15.1.3 |
M | vars.c: 951 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | vars.c: 951 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | vars.c: 951 | Parameter list is KR. | GJB 4.8.2.8 |
M | vars.c: 951 | Parameter has same name as global variable. : cfg_kws | GJB 4.15.1.3 |
M | vars.c: 3 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | vars.c: 4 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | vars.c: 5 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | vars.c: 6 | Included file has path. : <haproxy/check.h> | GJB 4.1.1.20 |
M | vars.c: 7 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | vars.c: 8 | Included file has path. : <haproxy/http.h> | GJB 4.1.1.20 |
M | vars.c: 9 | Included file has path. : <haproxy/http_rules.h> | GJB 4.1.1.20 |
M | vars.c: 10 | Included file has path. : <haproxy/list.h> | GJB 4.1.1.20 |
M | vars.c: 11 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | vars.c: 12 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | vars.c: 13 | Included file has path. : <haproxy/stream-t.h> | GJB 4.1.1.20 |
M | vars.c: 14 | Included file has path. : <haproxy/tcp_rules.h> | GJB 4.1.1.20 |
M | vars.c: 15 | Included file has path. : <haproxy/tcpcheck.h> | GJB 4.1.1.20 |
M | vars.c: 16 | Included file has path. : <haproxy/vars.h> | GJB 4.1.1.20 |
M | version.c: 13 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | version.c: 13 | Array has no bounds specified. | GJB 4.1.1.19 |
M | version.c: 14 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | version.c: 14 | Array has no bounds specified. | GJB 4.1.1.19 |
M | version.c: 15 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | version.c: 15 | Array has no bounds specified. | GJB 4.1.1.19 |
M | version.c: 16 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | version.c: 16 | Array has no bounds specified. | GJB 4.1.1.19 |
M | version.c: 7 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | version.c: 8 | Included file has path. : <haproxy/version.h> | GJB 4.1.1.20 |
M | wdt.c: 15 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | wdt.c: 16 | Included file has path. : <haproxy/debug.h> | GJB 4.1.1.20 |
M | wdt.c: 17 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | wdt.c: 18 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | wdt.c: 19 | Included file has path. : <haproxy/thread.h> | GJB 4.1.1.20 |
M | wdt.c: 20 | Included file has path. : <haproxy/tools.h> | GJB 4.1.1.20 |
M | wurfl.c: 114 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | wurfl.c: 119 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | wurfl.c: 22 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 23 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 25 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 34 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
M | wurfl.c: 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | wurfl.c: 73 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 74 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 75 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 77 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 78 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 79 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 80 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 83 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 85 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 86 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 87 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 88 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 89 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 91 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 92 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 93 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 93 | char type not signed or unsigned. | GJB 4.1.1.15 |
O | wurfl.c | Use of single line comment(s) //. | GJB 4.10.2.2 |
M | wurfl.c: 97 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 98 | Procedure pointer declared. | GJB 4.4.1.3 |
M | wurfl.c: 99 | Array has no bounds specified. | GJB 4.1.1.19 |
M | wurfl.c: 120 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 125 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | wurfl.c: 621 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | wurfl.c: 621 | Parameter list is KR. | GJB 4.8.2.8 |
M | wurfl.c: 621 | Parameter has same name as global variable. : wurflcfg_kws | GJB 4.15.1.3 |
M | wurfl.c: 631 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | wurfl.c: 631 | Parameter list is KR. | GJB 4.8.2.8 |
M | wurfl.c: 631 | Parameter has same name as global variable. : fetch_kws | GJB 4.15.1.3 |
M | wurfl.c: 639 | Function declared more than once. : INITCALL1 | GJB 5.1.23 |
M | wurfl.c: 639 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | wurfl.c: 639 | Parameter list is KR. | GJB 4.8.2.8 |
M | wurfl.c: 639 | Parameter has same name as global variable. : conv_kws | GJB 4.15.1.3 |
O | wurfl.c: 778 | Parameter list is KR. | GJB 4.8.2.8 |
O | wurfl.c: 779 | Parameter list is KR. | GJB 4.8.2.8 |
M | wurfl.c: 4 | Included file has path. : <haproxy/api.h> | GJB 4.1.1.20 |
M | wurfl.c: 5 | Included file has path. : <haproxy/arg.h> | GJB 4.1.1.20 |
M | wurfl.c: 6 | Included file has path. : <haproxy/buf-t.h> | GJB 4.1.1.20 |
M | wurfl.c: 7 | Included file has path. : <haproxy/cfgparse.h> | GJB 4.1.1.20 |
M | wurfl.c: 8 | Included file has path. : <haproxy/chunk.h> | GJB 4.1.1.20 |
M | wurfl.c: 9 | Included file has path. : <haproxy/errors.h> | GJB 4.1.1.20 |
M | wurfl.c: 10 | Included file has path. : <haproxy/global.h> | GJB 4.1.1.20 |
M | wurfl.c: 11 | Included file has path. : <haproxy/http_ana.h> | GJB 4.1.1.20 |
M | wurfl.c: 12 | Included file has path. : <haproxy/http_fetch.h> | GJB 4.1.1.20 |
M | wurfl.c: 13 | Included file has path. : <haproxy/http_htx.h> | GJB 4.1.1.20 |
M | wurfl.c: 14 | Included file has path. : <haproxy/log.h> | GJB 4.1.1.20 |
M | wurfl.c: 15 | Included file has path. : <haproxy/sample.h> | GJB 4.1.1.20 |
M | wurfl.c: 16 | Included file has path. : <import/ebmbtree.h> | GJB 4.1.1.20 |
M | wurfl.c: 17 | Included file has path. : <import/ebsttree.h> | GJB 4.1.1.20 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
M | wurfl.c: 19 | Included file has path. : <wurfl/wurfl.h> | GJB 4.1.1.20 |
M | xprt_handshake.c: 19 | Name redeclared in another C name space (MR). | GJB 4.1.1.16 |
M | xprt_handshake.c: 24 | Parameter list declarations are inconsistent. | GJB 4.1.1.22 |
O | xprt_handshake.c: 24 | Parameter list is KR. | GJB 4.8.2.8 |
M | xprt_handshake.c: 13 | Included file has path. : <haproxy/connection.h> | GJB 4.1.1.20 |
M | xprt_handshake.c: 14 | Included file has path. : <haproxy/stream_interface.h> | GJB 4.1.1.20 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fiftyoneDegreesGetDeviceOffset (23 to 27 51Degrees.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 25 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fiftyoneDegreesGetRequiredPropertiesNames (29 to 32 51Degrees.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fiftyoneDegreesGetValueFromOffsets (39 to 46 51Degrees.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 43 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fiftyoneDegreesGetHttpHeaderNamePointer (73 to 77 51Degrees.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 73 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fiftyoneDegreesInitWithPropertyArray (79 to 85 51Degrees.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 80 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat2acl (38 to 44 acl.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_acl_by_name (67 to 75 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 69 | Procedure contains UR data flow anomalies. : acl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_acl_kw (81 to 99 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 81 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 89 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 93 | Value is not of appropriate type. : (unsigned int and int): strncmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 95 | Value is not of appropriate type. : (unsigned int and int): & kwl -> kw [ index | GJB 4.6.1.8 |
M | 85 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prune_acl_expr (101 to 121 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 111 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_acl_expr (131 to 647 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 639 | Name redeclared in another C name space (MR). : out_free_expr | GJB 4.1.1.16 |
M | 645 | Name redeclared in another C name space (MR). : out_return | GJB 4.1.1.16 |
M | 480 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 186 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 632 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 287 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 644 | Pointer not checked for null before use. : smp | GJB 5.1.15 |
M | 256 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 264 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 289 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 303 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 582 | Pointer not checked for null before use. : dot | GJB 5.1.15 |
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 138 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 141 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 142 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 143 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 147 | Use of C++ keyword. : operator | GJB 4.1.1.9 |
M | 150 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 168 | Type conversion without cast. : (int and char): al -> kw = *args | GJB 4.6.1.9 |
M | 176 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 179 | goto detected. | GJB 4.5.1.2 |
M | 187 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 198 | goto detected. | GJB 4.5.1.2 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 209 | goto detected. | GJB 4.5.1.2 |
M | 210 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 232 | goto detected. | GJB 4.5.1.2 |
M | 238 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 248 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 248 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 250 | free used on string. | GJB 5.1.19 |
M | 258 | goto detected. | GJB 4.5.1.2 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 266 | goto detected. | GJB 4.5.1.2 |
M | 270 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ cur_type | GJB 4.6.1.8 |
M | 270 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ cur_type ] [ conv -> in_type | GJB 4.6.1.8 |
M | 273 | goto detected. | GJB 4.5.1.2 |
M | 277 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 291 | goto detected. | GJB 4.5.1.2 |
M | 294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | goto detected. | GJB 4.5.1.2 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 305 | goto detected. | GJB 4.5.1.2 |
M | 308 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 308 | free used on string. | GJB 5.1.19 |
M | 317 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 317 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 320 | goto detected. | GJB 4.5.1.2 |
M | 325 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 328 | goto detected. | GJB 4.5.1.2 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Value is not of appropriate type. : (unsigned int and int): pat_parse_fcts [ aclkw -> match_type | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 341 | Value is not of appropriate type. : (unsigned int and int): pat_index_fcts [ aclkw -> match_type | GJB 4.6.1.8 |
M | 342 | Value is not of appropriate type. : (unsigned int and int): pat_match_fcts [ aclkw -> match_type | GJB 4.6.1.8 |
M | 343 | Value is not of appropriate type. : (unsigned int and int): pat_prune_fcts [ aclkw -> match_type | GJB 4.6.1.8 |
M | 367 | Null case in switch statement. | GJB 4.3.1.8 |
M | 351 | No default case in switch statement. | GJB 4.3.1.4 |
M | 386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 419 | goto detected. | GJB 4.5.1.2 |
M | 425 | goto detected. | GJB 4.5.1.2 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 437 | goto detected. | GJB 4.5.1.2 |
M | 442 | Name reused in inner scope. : idx | GJB 4.15.1.2,4.15.1.5 |
M | 446 | goto detected. | GJB 4.5.1.2 |
M | 452 | goto detected. | GJB 4.5.1.2 |
M | 456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 456 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ cur_type | GJB 4.6.1.8 |
M | 456 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ cur_type ] [ pat_match_types [ idx | GJB 4.6.1.8 |
M | 458 | goto detected. | GJB 4.5.1.2 |
M | 460 | Value is not of appropriate type. : (unsigned int and int): expr -> pat.parse = pat_parse_fcts [ idx | GJB 4.6.1.8 |
M | 461 | Value is not of appropriate type. : (unsigned int and int): expr -> pat.index = pat_index_fcts [ idx | GJB 4.6.1.8 |
M | 462 | Value is not of appropriate type. : (unsigned int and int): expr -> pat.match = pat_match_fcts [ idx | GJB 4.6.1.8 |
M | 463 | Value is not of appropriate type. : (unsigned int and int): expr -> pat.prune = pat_prune_fcts [ idx | GJB 4.6.1.8 |
M | 464 | Value is not of appropriate type. : (unsigned int and int): expr -> pat.expect_type = pat_match_types [ idx | GJB 4.6.1.8 |
M | 477 | goto detected. | GJB 4.5.1.2 |
M | 485 | goto detected. | GJB 4.5.1.2 |
M | 491 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.size - 1 | GJB 4.6.1.8 |
M | 491 | Type conversion without cast. : (int and char): trash.area [ trash.size - 1 ] = '\0' | GJB 4.6.1.9 |
M | 497 | goto detected. | GJB 4.5.1.2 |
M | 503 | goto detected. | GJB 4.5.1.2 |
M | 537 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 538 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 544 | Use of C++ keyword. : operator | GJB 4.1.1.9 |
M | 550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 556 | Use of C++ keyword. : operator | GJB 4.1.1.9 |
M | 556 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 568 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 569 | Value is not of appropriate type. : (signed char and char): strlen ( dot + 1 | GJB 4.6.1.8 |
M | 571 | goto detected. | GJB 4.5.1.2 |
M | 575 | goto detected. | GJB 4.5.1.2 |
M | 584 | goto detected. | GJB 4.5.1.2 |
M | 589 | goto detected. | GJB 4.5.1.2 |
M | 591 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 594 | Use of C++ keyword. : operator | GJB 4.1.1.9 |
M | 598 | goto detected. | GJB 4.5.1.2 |
M | 598 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 604 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 608 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 617 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 621 | Use of shift operator on signed type. | GJB 4.6.1.3 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 594 | No default case in switch statement. | GJB 4.3.1.4 |
M | 633 | goto detected. | GJB 4.5.1.2 |
M | 637 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 641 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 642 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 643 | free used on string. | GJB 5.1.19 |
M | 644 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 647 | Memory not freed after last reference. : smp | GJB 5.1.17 |
M | 647 | Memory not freed after last reference. : ckw | GJB 5.1.17 |
M | 307 | Memory not freed after last reference. : conv_expr | GJB 5.1.17 |
M | 144 | Procedure contains UR data flow anomalies. : endt | GJB 4.13.1.4 |
M | 222 | Procedure contains UR data flow anomalies. : err_arg | GJB 4.13.1.4 |
M | 151 | Procedure contains UR data flow anomalies. : minor | GJB 4.13.1.4 |
M | 151 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 639 | Identifier reuse: label vs variable (MR). : out_free_expr | GJB 4.1.1.2 |
M | 645 | Identifier reuse: label vs variable (MR). : out_return |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prune_acl (650 to 663 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 654 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 659 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 662 | Attempt to read from freed memory. : acl | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_acl (675 to 745 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 699 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 733 | Pointer not checked for null before use. : cur_acl | GJB 5.1.15 |
M | 733 | Pointer not checked for null before use. : acl_expr | GJB 5.1.15 |
M | 675 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 675 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 676 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 681 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 684 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 684 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 686 | goto detected. | GJB 4.5.1.2 |
M | 692 | goto detected. | GJB 4.5.1.2 |
M | 699 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 699 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 716 | goto detected. | GJB 4.5.1.2 |
M | 718 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 721 | goto detected. | GJB 4.5.1.2 |
M | 736 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 738 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 739 | free used on string. | GJB 5.1.19 |
M | 742 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 741 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 745 | Memory not freed after last reference. : name | GJB 5.1.17 |
M | 682 | Procedure contains UR data flow anomalies. : pos | GJB 4.13.1.4 |
M | 738 | Identifier reuse: label vs variable (MR). : out_free_name | GJB 4.1.1.2 |
M | 740 | Identifier reuse: label vs variable (MR). : out_free_acl_expr |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_acl_default (785 to 840 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 792 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 824 | Pointer not checked for null before use. : acl_expr | GJB 5.1.15 |
M | 785 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 786 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 787 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 792 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 795 | Value is not of appropriate type. : (unsigned int and int): default_acl_list [ index | GJB 4.6.1.8 |
M | 796 | Value is not of appropriate type. : (unsigned int and int): strcmp ( acl_name , default_acl_list [ index | GJB 4.6.1.8 |
M | 800 | Value is not of appropriate type. : (unsigned int and int): default_acl_list [ index | GJB 4.6.1.8 |
M | 805 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 805 | Value is not of appropriate type. : (unsigned int and int): ( const char ** ) default_acl_list [ index | GJB 4.6.1.8 |
M | 808 | goto detected. | GJB 4.5.1.2 |
M | 814 | goto detected. | GJB 4.5.1.2 |
M | 817 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 820 | goto detected. | GJB 4.5.1.2 |
M | 831 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 833 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 834 | free used on string. | GJB 5.1.19 |
M | 837 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 836 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 840 | Memory not freed after last reference. : name |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prune_acl_cond (843 to 855 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 850 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 852 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_acl_cond (865 to 1009 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 938 | Pointer not checked for null before use. : args_new | GJB 5.1.15 |
M | 865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 866 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 867 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 870 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 871 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 878 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 881 | goto detected. | GJB 4.5.1.2 |
M | 892 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 893 | Value is not of appropriate type. : (unsigned int and int): word = args [ arg | GJB 4.6.1.8 |
M | 907 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 907 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 909 | Signed/unsigned conversion without cast. : (int and unsigned int): cond -> val |= suite_val | GJB 4.6.1.9 |
M | 921 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 923 | Value is not of appropriate type. : (unsigned int and int): * args [ arg_end | GJB 4.6.1.8 |
M | 923 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 923 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 923 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg_end | GJB 4.6.1.8 |
M | 924 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 926 | Value is not of appropriate type. : (unsigned int and int): ! * args [ arg_end | GJB 4.6.1.8 |
M | 928 | goto detected. | GJB 4.5.1.2 |
M | 931 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 931 | Expression needs brackets. | GJB 5.1.2 |
M | 934 | goto detected. | GJB 4.5.1.2 |
M | 937 | Modification of string literal. : args_new | GJB 5.1.19 |
M | 939 | Modification of string literal. : args_new | GJB 5.1.19 |
M | 939 | Value is not of appropriate type. : (unsigned int and int): args_new [ arg_end - arg | GJB 4.6.1.8 |
M | 941 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 945 | goto detected. | GJB 4.5.1.2 |
M | 960 | goto detected. | GJB 4.5.1.2 |
M | 965 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 968 | goto detected. | GJB 4.5.1.2 |
M | 987 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 990 | goto detected. | GJB 4.5.1.2 |
M | 999 | Signed/unsigned conversion without cast. : (int and unsigned int): cond -> val |= suite_val | GJB 4.6.1.9 |
M | 1000 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1002 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1006 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1009 | Memory not freed after last reference. : cur_suite | GJB 5.1.17 |
M | 1009 | Memory not freed after last reference. : cur_term | GJB 5.1.17 |
M | 1002 | Identifier reuse: label vs variable (MR). : out_free_term | GJB 4.1.1.2 |
M | 1004 | Identifier reuse: label vs variable (MR). : out_free_suite |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
build_acl_cond (1020 to 1052 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1020 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1021 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1021 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1051 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
acl_exec_cond (1067 to 1165 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1072 | Name redeclared in another C name space (MR). : expr | GJB 4.1.1.16 |
M | 1113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1135 | goto detected. | GJB 4.5.1.2 |
M | 1141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1072 | Procedure contains UR data flow anomalies. : expr | GJB 4.13.1.4 |
M | 1071 | Procedure contains UR data flow anomalies. : term | GJB 4.13.1.4 |
M | 1110 | Identifier reuse: label vs variable (MR). : fetch_next |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
acl_cond_conflicts (1172 to 1186 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1181 | Pointer not checked for null before use. : acl | GJB 5.1.15 |
M | 1175 | Procedure contains UR data flow anomalies. : term |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
acl_cond_kw_conflicts (1194 to 1214 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1198 | Name redeclared in another C name space (MR). : expr | GJB 4.1.1.16 |
M | 1194 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1198 | Procedure contains UR data flow anomalies. : expr | GJB 4.13.1.4 |
M | 1197 | Procedure contains UR data flow anomalies. : term |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
acl_find_targets (1221 to 1274 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1225 | Name redeclared in another C name space (MR). : expr | GJB 4.1.1.16 |
M | 1221 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1224 | Procedure contains UR data flow anomalies. : acl | GJB 4.13.1.4 |
M | 1225 | Procedure contains UR data flow anomalies. : expr | GJB 4.13.1.4 |
M | 1226 | Procedure contains UR data flow anomalies. : pattern | GJB 4.13.1.4 |
M | 1228 | Procedure contains UR data flow anomalies. : pexp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_acl (1279 to 1304 acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1283 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 1293 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1279 | Empty parameter list to procedure/function. : init_acl | GJB 4.1.1.10 |
M | 1283 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1288 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1289 | Value is not of appropriate type. : (unsigned int and int): name = kwl -> kw [ index | GJB 4.6.1.8 |
M | 1291 | Value is not of appropriate type. : (unsigned int and int): name = kwl -> kw [ index | GJB 4.6.1.8 |
M | 1295 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "Critical internal error: ACL keyword '%s' relies on sample fetch '%s' which was not registered!\n" , kwl -> kw [ index | GJB 4.6.1.8 |
M | 1300 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1284 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_trk_action (31 to 98 action.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 63 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 72 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 87 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 88 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_capture (106 to 118 action.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
act_resolution_cb (120 to 134 action.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
act_resolution_error_cb (136 to 150 action.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_rule_set_timeout (160 to 208 action.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 165 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 166 | Value is not of appropriate type. : (unsigned int and int): args [ idx ++ | GJB 4.6.1.8 |
M | 181 | Value is not of appropriate type. : (unsigned int and int): res = parse_time_err ( args [ idx | GJB 4.6.1.8 |
M | 181 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 183 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "timer overflow in argument '%s' to rule 'set-timeout %s' (maximum value is 2147483647 ms or ~24.8 days)" , args [ idx | GJB 4.6.1.8 |
M | 188 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "timer underflow in argument '%s' to rule 'set-timeout %s' (minimum value is 1 ms)" , args [ idx | GJB 4.6.1.8 |
M | 194 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 194 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 205 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_prof_tasks (42 to 60 activity.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 42 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 43 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | Static procedure is not explicitly called in code analysed. : cfg_parse_prof_tasks | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_profiling (63 to 90 activity.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 63 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 63 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 63 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 74 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 79 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 84 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 63 | Static procedure is not explicitly called in code analysed. : cli_parse_set_profiling | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_profiling (95 to 121 activity.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 95 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_profiling | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
appctx_buf_available (35 to 58 applet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 47 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 47 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 56 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
task_run_applet (61 to 104 applet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 61 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 92 | Signed/unsigned conversion without cast. : (unsigned int and int): rate | GJB 4.6.1.9 |
M | 92 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 92 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 95 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 95 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 95 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 95 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 96 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 96 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 96 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 97 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
arg_list_clone (52 to 67 arg.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 54 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 56 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 56 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 56 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 56 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 56 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 60 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 61 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 62 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 63 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 64 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 66 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 66 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
arg_list_add (73 to 84 arg.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 75 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 77 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 78 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 79 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 80 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 81 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 83 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 83 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_arg_list (108 to 438 arg.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | Pointer not checked for null before use. : beg | GJB 5.1.15 |
M | 203 | Pointer not checked for null before use. : in | GJB 5.1.15 |
M | 342 | Pointer not checked for null before use. : in | GJB 5.1.15 |
M | 222 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 214 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 211 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 362 | Pointer not checked for null before use. : word | GJB 5.1.15 |
M | 108 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 116 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 134 | Signed/unsigned conversion without cast. : (int and unsigned long): min_arg = mask | GJB 4.6.1.9 |
M | 139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 139 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 142 | goto detected. | GJB 4.5.1.2 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | goto detected. | GJB 4.5.1.2 |
M | 150 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 150 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Expression needs brackets. | GJB 5.1.2 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | Value is not of appropriate type. : (char and signed char): in [ 1 ] == 0 | GJB 4.6.1.8 |
M | 181 | goto detected. | GJB 4.5.1.2 |
M | 183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 189 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 193 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 197 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 201 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 211 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | goto detected. | GJB 4.5.1.2 |
M | 222 | Signed/unsigned conversion without cast. : (int and unsigned long): arg -> type = ( mask >> ( pos * ARGT_BITS ) | GJB 4.6.1.9 |
M | 225 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 227 | goto detected. | GJB 4.5.1.2 |
M | 230 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 231 | goto detected. | GJB 4.5.1.2 |
M | 232 | Signed/unsigned conversion without cast. : (int and unsigned int): arg -> type = ARGT_SINT | GJB 4.6.1.9 |
M | 235 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 236 | Null case in switch statement. | GJB 4.3.1.8 |
M | 236 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 237 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 238 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 239 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 240 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 248 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 248 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 258 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 260 | goto detected. | GJB 4.5.1.2 |
M | 263 | goto detected. | GJB 4.5.1.2 |
M | 266 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 268 | goto detected. | GJB 4.5.1.2 |
M | 271 | goto detected. | GJB 4.5.1.2 |
M | 273 | Signed/unsigned conversion without cast. : (int and unsigned int): arg -> type = ARGT_IPV4 | GJB 4.6.1.9 |
M | 276 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 278 | goto detected. | GJB 4.5.1.2 |
M | 281 | goto detected. | GJB 4.5.1.2 |
M | 284 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 286 | goto detected. | GJB 4.5.1.2 |
M | 289 | goto detected. | GJB 4.5.1.2 |
M | 291 | Signed/unsigned conversion without cast. : (int and unsigned int): arg -> type = ARGT_IPV6 | GJB 4.6.1.9 |
M | 294 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 296 | goto detected. | GJB 4.5.1.2 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | goto detected. | GJB 4.5.1.2 |
M | 305 | Signed/unsigned conversion without cast. : (int and unsigned int): arg -> type = ARGT_SINT | GJB 4.6.1.9 |
M | 308 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 310 | goto detected. | GJB 4.5.1.2 |
M | 314 | goto detected. | GJB 4.5.1.2 |
M | 317 | Signed/unsigned conversion without cast. : (int and unsigned int): arg -> type = ARGT_SINT | GJB 4.6.1.9 |
M | 320 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 322 | goto detected. | GJB 4.5.1.2 |
M | 325 | goto detected. | GJB 4.5.1.2 |
M | 331 | goto detected. | GJB 4.5.1.2 |
M | 332 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 351 | goto detected. | GJB 4.5.1.2 |
M | 361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 361 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 363 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 364 | free used on string. | GJB 5.1.19 |
M | 371 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 388 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 402 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 407 | goto detected. | GJB 4.5.1.2 |
M | 411 | goto detected. | GJB 4.5.1.2 |
M | 417 | goto detected. | GJB 4.5.1.2 |
M | 422 | goto detected. | GJB 4.5.1.2 |
M | 427 | goto detected. | GJB 4.5.1.2 |
M | 436 | goto detected. | GJB 4.5.1.2 |
M | 108 | Function has no return statement. : make_arg_list | GJB 4.9.1.1 |
M | 245 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 154 | Procedure contains UR data flow anomalies. : uint |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
auth_find_userlist (55 to 68 auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 56 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 64 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 65 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_group (70 to 78 auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 70 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 75 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
userlist_free (80 to 121 auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 97 | Pointer not checked for null before use. : tagl | GJB 5.1.15 |
M | 102 | Pointer not checked for null before use. : tau | GJB 5.1.15 |
M | 102 | Pointer not checked for null before use. : au | GJB 5.1.15 |
M | 103 | Pointer not checked for null before use. : (au)->user | GJB 5.1.15 |
M | 112 | Pointer not checked for null before use. : tag | GJB 5.1.15 |
M | 112 | Pointer not checked for null before use. : ag | GJB 5.1.15 |
M | 118 | Pointer not checked for null before use. : tul | GJB 5.1.15 |
M | 118 | Pointer not checked for null before use. : ul | GJB 5.1.15 |
M | 97 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 102 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 103 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 104 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 112 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 113 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 118 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 119 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 121 | Memory not freed after last reference. : (au)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
userlist_postinit (123 to 223 auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | Pointer not checked for null before use. : userlist | GJB 5.1.15 |
M | 149 | Pointer not checked for null before use. : groups | GJB 5.1.15 |
M | 123 | Empty parameter list to procedure/function. : userlist_postinit | GJB 4.1.1.10 |
M | 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 140 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 149 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 154 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 158 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 167 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 177 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 190 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 202 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 220 | Memory not freed after last reference. : curuser | GJB 5.1.17 |
M | 169 | Memory not freed after last reference. : groups | GJB 5.1.17 |
M | 220 | Memory not freed after last reference. : grl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_user (228 to 280 auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 229 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 236 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 244 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_auth (282 to 314 auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 286 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
be_lastsession (61 to 67 backend.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
gen_hash (70 to 92 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 70 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 86 | Null case in switch statement. | GJB 4.3.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
recount_servers (107 to 131 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 111 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 112 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
update_backend_weight (141 to 156 backend.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_sh (165 to 189 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 165 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 167 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 167 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 172 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 172 | Signed/unsigned conversion without cast. : (unsigned int and int): l = h | GJB 4.6.1.9 |
M | 176 | goto detected. | GJB 4.5.1.2 |
M | 178 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 178 | Use of sizeof on a type. | GJB 5.1.8 |
M | 178 | Signed/unsigned conversion without cast. : (unsigned int and int): ( l + sizeof ( int ) ) <= len | GJB 4.6.1.9 |
M | 179 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_uh (205 to 244 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 235 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 235 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 208 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 210 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 217 | goto detected. | GJB 4.5.1.2 |
M | 222 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 224 | Type conversion without cast. : (int and char): c = *end | GJB 4.6.1.9 |
M | 225 | Type conversion without cast. : (int and char): c == '/' | GJB 4.6.1.9 |
M | 230 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 235 | Actual and formal parameters inconsistent (MR). : (char and unsigned long): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_ph (255 to 312 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 272 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 308 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 292 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 292 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 255 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 258 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 259 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 259 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 260 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 267 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 267 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 278 | Value is not of appropriate type. : (unsigned int and int): params [ plen | GJB 4.6.1.8 |
M | 285 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 288 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 292 | Actual and formal parameters inconsistent (MR). : (char and unsigned long): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_ph_post (317 to 392 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 388 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 333 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 353 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 372 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 372 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 317 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 326 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 326 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 331 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 332 | Signed/unsigned conversion without cast. : (unsigned long and int): len | GJB 4.6.1.9 |
M | 340 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 353 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 354 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 355 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 357 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 388 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 372 | Actual and formal parameters inconsistent (MR). : (char and unsigned long): param 3 | GJB 4.7.1.9 |
M | 331 | Procedure contains UR data flow anomalies. : params |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_hh (405 to 476 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 467 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 437 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 440 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 467 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 424 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 405 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 411 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 411 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 412 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 414 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 422 | goto detected. | GJB 4.5.1.2 |
M | 427 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 453 | Expression needs brackets. | GJB 5.1.2 |
M | 453 | Type conversion without cast. : (signed char and char): * ( p - 1 ) == '.' | GJB 4.6.1.9 |
M | 462 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 467 | Actual and formal parameters inconsistent (MR). : (char and unsigned long): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_rch (479 to 521 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 479 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 502 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 502 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 502 | Signed/unsigned conversion without cast. : (unsigned long and int): len | GJB 4.6.1.9 |
M | 507 | goto detected. | GJB 4.5.1.2 |
M | 512 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_server_rnd (524 to 559 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 555 | Pointer not checked for null before use. : prev | GJB 5.1.15 |
M | 524 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 547 | Expression needs brackets. | GJB 5.1.2 |
M | 549 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 549 | Expression needs brackets. | GJB 5.1.2 |
M | 555 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 555 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 555 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 558 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
assign_server (586 to 828 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 632 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 668 | Pointer not checked for null before use. : prev_srv | GJB 5.1.15 |
M | 586 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 596 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 596 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 597 | goto detected. | GJB 4.5.1.2 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 626 | Expression needs brackets. | GJB 5.1.2 |
M | 628 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 637 | goto detected. | GJB 4.5.1.2 |
M | 648 | goto detected. | GJB 4.5.1.2 |
M | 654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 659 | goto detected. | GJB 4.5.1.2 |
M | 680 | Null case in switch statement. | GJB 4.3.1.8 |
M | 693 | goto detected. | GJB 4.5.1.2 |
M | 694 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 699 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 699 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 699 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 700 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 712 | goto detected. | GJB 4.5.1.2 |
M | 718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 733 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 733 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 739 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 758 | goto detected. | GJB 4.5.1.2 |
M | 759 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 777 | goto detected. | GJB 4.5.1.2 |
M | 778 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 782 | goto detected. | GJB 4.5.1.2 |
M | 787 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 791 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 798 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 801 | goto detected. | GJB 4.5.1.2 |
M | 806 | goto detected. | GJB 4.5.1.2 |
M | 700 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 705 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 727 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 737 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 619 | Procedure contains UR data flow anomalies. : srv_list |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
assign_server_address (842 to 910 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 842 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 859 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 871 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 896 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 896 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
assign_server_and_queue (931 to 1032 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 931 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 956 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 999 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 999 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1001 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1001 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1013 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1023 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1024 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1027 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1031 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
assign_tproxy_address (1039 to 1097 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1039 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_backend_get (1103 to 1217 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1103 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1107 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1116 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_LOCK ( OTHER_LOCK , & idle_conns [ tid | GJB 4.6.1.8 |
M | 1117 | Value is not of appropriate type. : (unsigned int and int): conn = MT_LIST_POP ( & mt_list [ tid | GJB 4.6.1.8 |
M | 1122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1123 | Value is not of appropriate type. : (unsigned int and int): conn = MT_LIST_POP ( & srv -> safe_conns [ tid | GJB 4.6.1.8 |
M | 1129 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_UNLOCK ( OTHER_LOCK , & idle_conns [ tid | GJB 4.6.1.8 |
M | 1135 | goto detected. | GJB 4.5.1.2 |
M | 1139 | goto detected. | GJB 4.5.1.2 |
M | 1146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1148 | goto detected. | GJB 4.5.1.2 |
M | 1161 | Value is not of appropriate type. : (unsigned int and int): ! srv -> curr_idle_thr [ i | GJB 4.6.1.8 |
M | 1161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1164 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_LOCK ( OTHER_LOCK , & idle_conns [ i | GJB 4.6.1.8 |
M | 1165 | Value is not of appropriate type. : (unsigned int and int): mt_list_for_each_entry_safe ( conn , & mt_list [ i | GJB 4.6.1.8 |
M | 1166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1168 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_ADD ( & activity [ tid | GJB 4.6.1.8 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1176 | Value is not of appropriate type. : (unsigned int and int): mt_list_for_each_entry_safe ( conn , & srv -> safe_conns [ i | GJB 4.6.1.8 |
M | 1177 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1177 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1179 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_ADD ( & activity [ tid | GJB 4.6.1.8 |
M | 1188 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_UNLOCK ( OTHER_LOCK , & idle_conns [ i | GJB 4.6.1.8 |
M | 1189 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1189 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1189 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1189 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1189 | Expression needs brackets. | GJB 5.1.2 |
M | 1195 | Expression needs brackets. | GJB 5.1.2 |
M | 1201 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_SUB ( & srv -> curr_idle_thr [ i | GJB 4.6.1.8 |
M | 1205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1213 | Value is not of appropriate type. : (unsigned int and int): LIST_ADDQ ( & srv -> available_conns [ tid | GJB 4.6.1.8 |
M | 1216 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1159 | Procedure contains UR data flow anomalies. : elt1 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
connect_server (1234 to 1646 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1366 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1432 | Pointer not checked for null before use. : cli_conn | GJB 5.1.15 |
M | 1379 | Pointer not checked for null before use. : srv_conn | GJB 5.1.15 |
M | 1234 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1257 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1287 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1287 | Expression needs brackets. | GJB 5.1.2 |
M | 1294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1303 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1312 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1332 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1348 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1350 | Signed/unsigned conversion without cast. : (int and unsigned int): i = tid | GJB 4.6.1.9 |
M | 1350 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1350 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1350 | Expression needs brackets. | GJB 5.1.2 |
M | 1350 | Signed/unsigned conversion without cast. : (int and unsigned int): ) ) != tid | GJB 4.6.1.9 |
M | 1358 | Value is not of appropriate type. : (unsigned int and int): tokill_conn = MT_LIST_POP ( & srv -> idle_conns [ i | GJB 4.6.1.8 |
M | 1361 | Value is not of appropriate type. : (unsigned int and int): tokill_conn = MT_LIST_POP ( & srv -> safe_conns [ i | GJB 4.6.1.8 |
M | 1366 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_ADDQ ( & idle_conns [ i | GJB 4.6.1.8 |
M | 1368 | Value is not of appropriate type. : (unsigned int and int): task_wakeup ( idle_conns [ i | GJB 4.6.1.8 |
M | 1414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1434 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1434 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1560 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1560 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1567 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1619 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1620 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1638 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_redispatch_connect (1657 to 1734 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1692 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1727 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1657 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1685 | goto detected. | GJB 4.5.1.2 |
M | 1694 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1703 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1709 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1712 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1729 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_may_abort_req (1737 to 1742 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1737 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1741 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_try_conn_req (1750 to 1933 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1750 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1768 | goto detected. | GJB 4.5.1.2 |
M | 1781 | goto detected. | GJB 4.5.1.2 |
M | 1820 | goto detected. | GJB 4.5.1.2 |
M | 1850 | goto detected. | GJB 4.5.1.2 |
M | 1875 | goto detected. | GJB 4.5.1.2 |
M | 1887 | goto detected. | GJB 4.5.1.2 |
M | 1897 | goto detected. | GJB 4.5.1.2 |
M | 1916 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1918 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_handle_st_req (1941 to 2018 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1941 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1972 | goto detected. | GJB 4.5.1.2 |
M | 1984 | goto detected. | GJB 4.5.1.2 |
M | 1994 | goto detected. | GJB 4.5.1.2 |
M | 2007 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_handle_st_con (2027 to 2065 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2027 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2038 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2046 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_handle_st_cer (2076 to 2178 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2080 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 2076 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2097 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2143 | goto detected. | GJB 4.5.1.2 |
M | 2159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_handle_st_rdy (2187 to 2246 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2187 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2224 | goto detected. | GJB 4.5.1.2 |
M | 2233 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_backend_down (2251 to 2260 backend.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_persist_rdp_cookie (2268 to 2323 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2299 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 2268 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2276 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2276 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2281 | goto detected. | GJB 4.5.1.2 |
M | 2286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2287 | goto detected. | GJB 4.5.1.2 |
M | 2296 | goto detected. | GJB 4.5.1.2 |
M | 2301 | goto detected. | GJB 4.5.1.2 |
M | 2305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2306 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
be_downtime (2325 to 2330 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2329 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
backend_lb_algo_str (2337 to 2361 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2337 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
backend_parse_balance (2370 to 2547 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2535 | Pointer not checked for null before use. : (curproxy)->lbprm.arg_str | GJB 5.1.15 |
M | 2370 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2370 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2400 | Value is not of appropriate type. : (char and signed char): * ( args [ 0 ] | GJB 4.6.1.8 |
M | 2400 | Expression needs brackets. | GJB 5.1.2 |
M | 2400 | Type conversion without cast. : (signed char and char): * ( args [ 0 ] + 6 ) == '(' | GJB 4.6.1.9 |
M | 2400 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2400 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2400 | Value is not of appropriate type. : (char and signed char): * ( args [ 0 ] | GJB 4.6.1.8 |
M | 2400 | Type conversion without cast. : (signed char and char): * ( args [ 0 ] + 7 ) != ')' | GJB 4.6.1.9 |
M | 2401 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2402 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2404 | Value is not of appropriate type. : (char and signed char): beg = args [ 0 ] | GJB 4.6.1.8 |
M | 2434 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 2435 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 2436 | Value is not of appropriate type. : (unsigned int and int): ! * args [ arg + 1 | GJB 4.6.1.8 |
M | 2436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2436 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 2436 | Value is not of appropriate type. : (unsigned int and int): atoi ( args [ arg + 1 | GJB 4.6.1.8 |
M | 2437 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s : '%s' expects a positive integer (got '%s')." , args [ 0 ] , args [ arg | GJB 4.6.1.8 |
M | 2437 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s : '%s' expects a positive integer (got '%s')." , args [ 0 ] , args [ arg ] , args [ arg + 1 | GJB 4.6.1.8 |
M | 2440 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 2440 | Value is not of appropriate type. : (unsigned int and int): curproxy -> lbprm.arg_opt2 = atoi ( args [ arg + 1 | GJB 4.6.1.8 |
M | 2443 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 2444 | Value is not of appropriate type. : (unsigned int and int): ! * args [ arg + 1 | GJB 4.6.1.8 |
M | 2444 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2444 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 2444 | Value is not of appropriate type. : (unsigned int and int): atoi ( args [ arg + 1 | GJB 4.6.1.8 |
M | 2445 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s : '%s' expects a positive integer (got '%s')." , args [ 0 ] , args [ arg | GJB 4.6.1.8 |
M | 2445 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s : '%s' expects a positive integer (got '%s')." , args [ 0 ] , args [ arg ] , args [ arg + 1 | GJB 4.6.1.8 |
M | 2451 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 2451 | Value is not of appropriate type. : (unsigned int and int): curproxy -> lbprm.arg_opt3 = atoi ( args [ arg + 1 | GJB 4.6.1.8 |
M | 2454 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 2458 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 2463 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s only accepts parameters 'len', 'depth', 'path-only', and 'whole' (got '%s')." , args [ 0 ] , args [ arg | GJB 4.6.1.8 |
M | 2476 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2487 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2489 | Value is not of appropriate type. : (char and signed char): beg = args [ 0 ] | GJB 4.6.1.8 |
M | 2492 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2500 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2517 | Value is not of appropriate type. : (char and signed char): * ( args [ 0 ] | GJB 4.6.1.8 |
M | 2517 | Expression needs brackets. | GJB 5.1.2 |
M | 2517 | Type conversion without cast. : (signed char and char): * ( args [ 0 ] + 10 ) == '(' | GJB 4.6.1.9 |
M | 2518 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2520 | Value is not of appropriate type. : (char and signed char): beg = args [ 0 ] | GJB 4.6.1.8 |
M | 2523 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2528 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2532 | Value is not of appropriate type. : (char and signed char): * ( args [ 0 ] | GJB 4.6.1.8 |
M | 2532 | Expression needs brackets. | GJB 5.1.2 |
M | 2532 | Type conversion without cast. : (signed char and char): * ( args [ 0 ] + 10 ) == '\0' | GJB 4.6.1.9 |
M | 2533 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2535 | Value is not of appropriate type. : (int and char): curproxy -> lbprm.arg_len = strlen ( curproxy -> lbprm.arg_str | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_nbsrv (2558 to 2570 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2567 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2559 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2559 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2558 | Static procedure is not explicitly called in code analysed. : smp_fetch_nbsrv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_is_up (2577 to 2590 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2578 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2578 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2577 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_is_up | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_connslots (2596 to 2620 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2597 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2597 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2596 | Static procedure is not explicitly called in code analysed. : smp_fetch_connslots | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_id (2623 to 2639 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2637 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2624 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2624 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2631 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2623 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_name (2642 to 2663 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2654 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2643 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2643 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2650 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2654 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2660 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( smp -> data.u.str.area | GJB 4.6.1.8 |
M | 2642 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_name | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_id (2666 to 2682 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2679 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 2667 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2667 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2674 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2666 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_name (2685 to 2705 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2697 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 2686 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2686 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2693 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2702 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( smp -> data.u.str.area | GJB 4.6.1.8 |
M | 2685 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_name | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_sess_rate (2711 to 2718 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2712 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2712 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2711 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_sess_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_conn (2724 to 2731 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2725 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2725 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2724 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_conn_free (2738 to 2771 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2756 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2739 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2739 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2767 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2738 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_conn_free | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_queue_size (2777 to 2784 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2778 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2778 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2777 | Static procedure is not explicitly called in code analysed. : smp_fetch_queue_size | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_avg_queue_size (2794 to 2812 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2804 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2795 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2795 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2807 | Expression needs brackets. | GJB 5.1.2 |
M | 2794 | Static procedure is not explicitly called in code analysed. : smp_fetch_avg_queue_size | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_conn (2818 to 2825 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2819 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2819 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2818 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_conn_free (2831 to 2852 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2832 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2832 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2847 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2831 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_conn_free | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_queue (2858 to 2865 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2859 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2859 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2858 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_queue | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_sess_rate (2871 to 2878 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2872 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2872 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2871 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_sess_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_weight (2884 to 2894 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2885 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2885 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2892 | Expression needs brackets. | GJB 5.1.2 |
M | 2892 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2884 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_weight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_iweight (2900 to 2907 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2901 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2901 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2900 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_iweight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_srv_uweight (2913 to 2920 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2914 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2914 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2913 | Static procedure is not explicitly called in code analysed. : smp_fetch_srv_uweight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_server_timeout (2922 to 2938 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2936 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2923 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2923 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2930 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2922 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_server_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_be_tunnel_timeout (2940 to 2956 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2954 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2941 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2941 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2948 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2940 | Static procedure is not explicitly called in code analysed. : smp_fetch_be_tunnel_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_nbsrv (2958 to 2974 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2958 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2958 | Static procedure is not explicitly called in code analysed. : sample_conv_nbsrv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_srv_queue (2976 to 3007 backend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3000 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 2977 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2976 | Static procedure is not explicitly called in code analysed. : sample_conv_srv_queue | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a2base64 (33 to 69 base64.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 33 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 44 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 45 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 45 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 46 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 46 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 47 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 55 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 57 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 60 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 61 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 62 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
base64dec (77 to 139 base64.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Pointer not checked for null before use. : in | GJB 5.1.15 |
M | 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 80 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 81 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 86 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 86 | Expression needs brackets. | GJB 5.1.2 |
M | 86 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 87 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 88 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 94 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 94 | Value is not of appropriate type. : (signed char and char): b = ( signed char ) * | GJB 4.6.1.8 |
M | 95 | Value is not of appropriate type. : (unsigned char and signed char): ( unsigned char ) | GJB 4.6.1.8 |
M | 95 | Operation not appropriate to plain char. : - used with char: 'z' | GJB 4.1.1.15 |
M | 98 | Type conversion without cast. : (signed char and char): b = base64rev | GJB 4.6.1.9 |
M | 98 | Value is not of appropriate type. : (unsigned int and signed char): b = base64rev [ b | GJB 4.6.1.8 |
M | 98 | Operation not appropriate to plain char. : - used with char: base64rev | GJB 4.1.1.15 |
M | 98 | Value is not of appropriate type. : (char and signed char): b = base64rev [ b ] - '#' | GJB 4.6.1.8 |
M | 105 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 115 | Value is not of appropriate type. : (unsigned int and int): t [ i ++ | GJB 4.6.1.8 |
M | 115 | Signed/unsigned conversion without cast. : (unsigned char and signed char): t [ i ++ ] = b | GJB 4.6.1.9 |
M | 125 | Value is not of appropriate type. : (unsigned int and int): out [ convlen | GJB 4.6.1.8 |
M | 125 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 125 | Type conversion without cast. : (char and unsigned char): ( t [ 0 ] << 2 ) + ( t [ 1 ] >> 4 ) | GJB 4.6.1.9 |
M | 126 | Value is not of appropriate type. : (unsigned int and int): out [ convlen + 1 | GJB 4.6.1.8 |
M | 126 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 126 | Type conversion without cast. : (char and unsigned char): ( t [ 1 ] << 4 ) + ( t [ 2 ] >> 2 ) | GJB 4.6.1.9 |
M | 127 | Value is not of appropriate type. : (unsigned int and int): out [ convlen + 2 | GJB 4.6.1.8 |
M | 127 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 127 | Type conversion without cast. : (char and unsigned char): ( t [ 2 ] << 6 ) + ( t [ 3 ] >> 0 ) | GJB 4.6.1.9 |
M | 131 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
s30tob64 (149 to 158 base64.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 151 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 153 | Value is not of appropriate type. : (unsigned int and int): out [ i | GJB 4.6.1.8 |
M | 153 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 153 | Value is not of appropriate type. : (unsigned int and int): ( in >> 24 ) & 0x3F | GJB 4.6.1.8 |
M | 154 | Use of shift operator on signed type. | GJB 4.6.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
b64tos30 (165 to 186 base64.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 165 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 167 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 168 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 172 | Value is not of appropriate type. : (unsigned int and int): b = ( signed char ) in [ i | GJB 4.6.1.8 |
M | 173 | Value is not of appropriate type. : (unsigned char and signed char): ( unsigned char ) | GJB 4.6.1.8 |
M | 173 | Operation not appropriate to plain char. : - used with char: 'z' | GJB 4.1.1.15 |
M | 176 | Type conversion without cast. : (signed char and char): b = base64rev | GJB 4.6.1.9 |
M | 176 | Value is not of appropriate type. : (unsigned int and signed char): b = base64rev [ b | GJB 4.6.1.8 |
M | 176 | Operation not appropriate to plain char. : - used with char: base64rev | GJB 4.1.1.15 |
M | 176 | Value is not of appropriate type. : (char and signed char): b = base64rev [ b ] - '#' | GJB 4.6.1.8 |
M | 183 | Use of shift operator on signed type. | GJB 4.6.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (22 to 70 base64rev-gen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 22 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 23 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 23 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 23 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 24 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 26 | Signed/unsigned conversion without cast. : (int and unsigned int): i < sizeof | GJB 4.6.1.9 |
M | 27 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 27 | Value is not of appropriate type. : (unsigned int and int): base64rev [ i | GJB 4.6.1.8 |
M | 30 | Value is not of appropriate type. : (unsigned int and int): c = base64tab [ i | GJB 4.6.1.8 |
M | 32 | Type conversion without cast. : (int and char): min | GJB 4.6.1.9 |
M | 32 | Type conversion without cast. : (int and char): min > c | GJB 4.6.1.9 |
M | 33 | Type conversion without cast. : (int and char): min = c | GJB 4.6.1.9 |
M | 35 | Type conversion without cast. : (int and char): max | GJB 4.6.1.9 |
M | 35 | Type conversion without cast. : (int and char): max < c | GJB 4.6.1.9 |
M | 36 | Type conversion without cast. : (int and char): max = c | GJB 4.6.1.9 |
M | 40 | Value is not of appropriate type. : (unsigned int and int): c = base64tab [ i | GJB 4.6.1.8 |
M | 42 | Expression needs brackets. | GJB 5.1.2 |
M | 47 | Value is not of appropriate type. : (unsigned int and int): base64rev [ c - min | GJB 4.6.1.8 |
M | 50 | Value is not of appropriate type. : (unsigned int and int): base64rev [ '=' - min | GJB 4.6.1.8 |
M | 50 | Value is not of appropriate type. : (char and signed char): base64rev [ '=' - min ] = '#' | GJB 4.6.1.8 |
M | 52 | Expression needs brackets. | GJB 5.1.2 |
M | 52 | Value is not of appropriate type. : (unsigned int and int): base64rev [ max - min + 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (5 to 16 blocksig.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 15 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 5 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 11 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 12 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 7 | Procedure contains UR data flow anomalies. : new_sig | GJB 4.13.1.4 |
M | 7 | Procedure contains UR data flow anomalies. : old_sig |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
entry_exist (180 to 203 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 192 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 180 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
secondary_key_cmp (213 to 232 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 220 | Signed/unsigned conversion without cast. : (int and unsigned int): idx < sizeof | GJB 4.6.1.9 |
M | 220 | Expression needs brackets. | GJB 5.1.2 |
M | 220 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 221 | Value is not of appropriate type. : (unsigned int and int): info = &vary_information [ idx | GJB 4.6.1.8 |
M | 224 | Value is not of appropriate type. : (unsigned int and int): retval = info -> cmp_fn ( & ref_key [ offset | GJB 4.6.1.8 |
M | 224 | Value is not of appropriate type. : (unsigned int and int): retval = info -> cmp_fn ( & ref_key [ offset ] , & new_key [ offset | GJB 4.6.1.8 |
M | 226 | Value is not of appropriate type. : (unsigned int and int): retval = memcmp ( & ref_key [ offset | GJB 4.6.1.8 |
M | 226 | Value is not of appropriate type. : (unsigned int and int): retval = memcmp ( & ref_key [ offset ] , & new_key [ offset | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
secondary_entry_exist (241 to 272 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
clear_expired_duplicates (280 to 304 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 290 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 304 | Memory not freed after last reference. : (cconf)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
insert_entry (317 to 370 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 322 | Name redeclared in another C name space (MR). : last_clear_ts | GJB 4.1.1.16 |
M | 336 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 358 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 331 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 329 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 366 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 369 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
delete_entry (378 to 408 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 394 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 402 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 388 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 402 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_ptr (411 to 414 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 413 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 413 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
block_ptr (416 to 419 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 418 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 418 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_init (423 to 428 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 423 | Static procedure is not explicitly called in code analysed. : cache_store_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_deinit (430 to 438 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 437 | Pointer not checked for null before use. : (cconf)->c.name | GJB 5.1.15 |
M | 435 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 436 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 430 | Static procedure is not explicitly called in code analysed. : cache_store_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_check (440 to 494 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 455 | goto detected. | GJB 4.5.1.2 |
M | 459 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 490 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 440 | Static procedure is not explicitly called in code analysed. : cache_store_check | GJB 4.7.1.3 |
M | 445 | Procedure contains UR data flow anomalies. : cache |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_strm_init (496 to 511 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 497 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 496 | Static procedure is not explicitly called in code analysed. : cache_store_strm_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_strm_deinit (513 to 532 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 518 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 524 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 514 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 513 | Static procedure is not explicitly called in code analysed. : cache_store_strm_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_post_analyze (534 to 558 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 535 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 543 | goto detected. | GJB 4.5.1.2 |
M | 534 | Static procedure is not explicitly called in code analysed. : cache_store_post_analyze | GJB 4.7.1.3 |
M | 556 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_http_headers (560 to 571 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 561 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 565 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 560 | Static procedure is not explicitly called in code analysed. : cache_store_http_headers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
disable_cache_entry (573 to 586 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 578 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 582 | Pointer not checked for null before use. : object |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_http_payload (588 to 678 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 648 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 593 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 659 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 614 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 589 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 603 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 607 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 612 | Signed/unsigned conversion without cast. : (unsigned int and int): to_forward | GJB 4.6.1.9 |
M | 623 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 626 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 631 | Type conversion without cast. : (bool and unsigned int): v.len = len | GJB 4.6.1.9 |
M | 633 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 633 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 634 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 634 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 636 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 636 | Signed/unsigned conversion without cast. : (unsigned int and int): to_forward += v.len | GJB 4.6.1.9 |
M | 637 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 637 | Signed/unsigned conversion without cast. : (unsigned int and int): len -= v.len | GJB 4.6.1.9 |
M | 644 | goto detected. | GJB 4.5.1.2 |
M | 646 | goto detected. | GJB 4.5.1.2 |
M | 648 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 650 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 651 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 622 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 655 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
M | 663 | goto detected. | GJB 4.5.1.2 |
M | 670 | goto detected. | GJB 4.5.1.2 |
M | 672 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 677 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 588 | Static procedure is not explicitly called in code analysed. : cache_store_http_payload | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_store_http_end (680 to 711 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 695 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 686 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 699 | Pointer not checked for null before use. : object | GJB 5.1.15 |
M | 697 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 681 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 680 | Static procedure is not explicitly called in code analysed. : cache_store_http_end | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
directive_value (718 to 749 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 726 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 726 | Pointer not checked for null before use. : sample | GJB 5.1.15 |
M | 726 | Pointer not checked for null before use. : word | GJB 5.1.15 |
M | 718 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 718 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 718 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 726 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 726 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 726 | Operation not appropriate to plain char. : ^ used with char: sample | GJB 4.1.1.15 |
M | 727 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 727 | Operation not appropriate to plain char. : ^ used with char: 'A' | GJB 4.1.1.15 |
M | 744 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 744 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_calc_maxage (765 to 853 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 770 | Name redeclared in another C name space (MR). : maxage | GJB 4.1.1.16 |
M | 782 | Name redeclared in another C name space (MR). : value | GJB 4.1.1.16 |
M | 788 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 800 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 792 | Pointer not checked for null before use. : endptr | GJB 5.1.15 |
M | 804 | Pointer not checked for null before use. : endptr | GJB 5.1.15 |
M | 765 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 768 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 788 | Expression needs brackets. | GJB 5.1.2 |
M | 790 | Type conversion without cast. : (int and char): offset = ( * chk -> area == '"' | GJB 4.6.1.9 |
M | 792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 800 | Expression needs brackets. | GJB 5.1.2 |
M | 802 | Type conversion without cast. : (int and char): offset = ( * chk -> area == '"' | GJB 4.6.1.9 |
M | 804 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 804 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 811 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 811 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 851 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 784 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 796 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cache_free_blocks (856 to 863 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 858 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 860 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 856 | Static procedure is not explicitly called in code analysed. : cache_free_blocks | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_last_modified_time (870 to 897 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 872 | Name redeclared in another C name space (MR). : last_modified | GJB 4.1.1.16 |
M | 873 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_check_vary_header (905 to 929 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 910 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 914 | Signed/unsigned conversion without cast. : (unsigned int and int): vary_signature | GJB 4.6.1.9 |
M | 916 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 917 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 918 | Signed/unsigned conversion without cast. : (unsigned int and int): vary_idx | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_secondary_key_encoding (937 to 970 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 958 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 948 | Pointer not checked for null before use. : info | GJB 5.1.15 |
M | 937 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 943 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 945 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 948 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 948 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 949 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 961 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 965 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 944 | Procedure contains UR data flow anomalies. : encoding_value |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_store_cache (977 to 1243 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1116 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1202 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 987 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 1117 | Pointer not checked for null before use. : object | GJB 5.1.15 |
M | 1118 | Pointer not checked for null before use. : object | GJB 5.1.15 |
M | 1171 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 1233 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 1062 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 978 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1000 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1001 | goto detected. | GJB 4.5.1.2 |
M | 1006 | goto detected. | GJB 4.5.1.2 |
M | 1014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1017 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1033 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1035 | goto detected. | GJB 4.5.1.2 |
M | 1040 | goto detected. | GJB 4.5.1.2 |
M | 1044 | goto detected. | GJB 4.5.1.2 |
M | 1048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1051 | goto detected. | GJB 4.5.1.2 |
M | 1061 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1062 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1062 | Expression needs brackets. | GJB 5.1.2 |
M | 1063 | goto detected. | GJB 4.5.1.2 |
M | 1072 | goto detected. | GJB 4.5.1.2 |
M | 1077 | goto detected. | GJB 4.5.1.2 |
M | 1082 | goto detected. | GJB 4.5.1.2 |
M | 1083 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1087 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1088 | goto detected. | GJB 4.5.1.2 |
M | 1102 | goto detected. | GJB 4.5.1.2 |
M | 1108 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1111 | goto detected. | GJB 4.5.1.2 |
M | 1124 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1134 | goto detected. | GJB 4.5.1.2 |
M | 1139 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1151 | Value is not of appropriate type. : (long long and unsigned int): unlikely ( hdr_age > 2147483648U | GJB 4.6.1.8 |
M | 1151 | Signed/unsigned conversion without cast. : (long long and unsigned int): unlikely ( hdr_age | GJB 4.6.1.9 |
M | 1152 | Value is not of appropriate type. : (long long and unsigned int): hdr_age = 2147483648U | GJB 4.6.1.8 |
M | 1155 | Signed/unsigned conversion without cast. : (unsigned int and long long): object -> age = hdr_age | GJB 4.6.1.9 |
M | 1156 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( object -> age | GJB 4.6.1.9 |
M | 1156 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( object -> age > true_maxage | GJB 4.6.1.9 |
M | 1157 | goto detected. | GJB 4.5.1.2 |
M | 1160 | goto detected. | GJB 4.5.1.2 |
M | 1174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1175 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1186 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1186 | Expression needs brackets. | GJB 5.1.2 |
M | 1194 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1195 | goto detected. | GJB 4.5.1.2 |
M | 1207 | goto detected. | GJB 4.5.1.2 |
M | 1219 | goto detected. | GJB 4.5.1.2 |
M | 1226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1027 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1078 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1091 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1094 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1202 | Actual and formal parameters inconsistent (MR). : (cache_entry and char): param 2 | GJB 4.7.1.9 |
M | 1149 | Procedure contains UR data flow anomalies. : hdr_age |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_cache_applet_release (1251 to 1261 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1255 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 1259 | Pointer not checked for null before use. : first | GJB 5.1.15 |
M | 1251 | Static procedure is not explicitly called in code analysed. : http_cache_applet_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_cache_dump_blk (1264 to 1306 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1292 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1268 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 1296 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1292 | Pointer not checked for null before use. : shblk | GJB 5.1.15 |
M | 1291 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 1292 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1270 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1277 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1277 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1278 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1279 | Expression needs brackets. | GJB 5.1.2 |
M | 1292 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1293 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1294 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1295 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1297 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1299 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_cache_dump_data_blk (1308 to 1356 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1313 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 1339 | Pointer not checked for null before use. : shblk | GJB 5.1.15 |
M | 1338 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 1321 | Signed/unsigned conversion without cast. : (unsigned int and int): rem_data | GJB 4.6.1.9 |
M | 1324 | Signed/unsigned conversion without cast. : (unsigned int and int): total | GJB 4.6.1.9 |
M | 1331 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1339 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1340 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1341 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1342 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1345 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1347 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
M | 1354 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_cache_dump_msg (1358 to 1408 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1381 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1385 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1362 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 1385 | Pointer not checked for null before use. : shblk | GJB 5.1.15 |
M | 1380 | Pointer not checked for null before use. : shctx | GJB 5.1.15 |
M | 1381 | Pointer not checked for null before use. : shblk | GJB 5.1.15 |
M | 1395 | Pointer not checked for null before use. : shblk | GJB 5.1.15 |
M | 1375 | Signed/unsigned conversion without cast. : (unsigned int and int): info | GJB 4.6.1.9 |
M | 1376 | goto detected. | GJB 4.5.1.2 |
M | 1381 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1381 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1382 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1383 | Signed/unsigned conversion without cast. : (unsigned int and int): sz | GJB 4.6.1.9 |
M | 1385 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1385 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1400 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1401 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_cache_add_age_hdr (1410 to 1425 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1413 | Name redeclared in another C name space (MR). : age | GJB 4.1.1.16 |
M | 1421 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 1414 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1417 | Value is not of appropriate type. : (int and unsigned int): age = MAX ( 0 , ( int ) ( now.tv_sec - cache_ptr -> latest_validation | GJB 4.6.1.8 |
M | 1417 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_cache_io_handler (1427 to 1539 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1439 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 1440 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 1523 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 1464 | Pointer not checked for null before use. : first | GJB 5.1.15 |
M | 1515 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 1442 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1442 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1443 | goto detected. | GJB 4.5.1.2 |
M | 1448 | goto detected. | GJB 4.5.1.2 |
M | 1464 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1467 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1468 | goto detected. | GJB 4.5.1.2 |
M | 1481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1488 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1493 | goto detected. | GJB 4.5.1.2 |
M | 1503 | goto detected. | GJB 4.5.1.2 |
M | 1509 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1515 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1536 | Signed/unsigned conversion without cast. : (unsigned int and int): total | GJB 4.6.1.9 |
M | 1538 | goto detected. | GJB 4.5.1.2 |
M | 1427 | Static procedure is not explicitly called in code analysed. : http_cache_io_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_cache_rule (1542 to 1594 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1591 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 1542 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1542 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1549 | goto detected. | GJB 4.5.1.2 |
M | 1557 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1557 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1565 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1568 | goto detected. | GJB 4.5.1.2 |
M | 1574 | goto detected. | GJB 4.5.1.2 |
M | 1578 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1581 | goto detected. | GJB 4.5.1.2 |
M | 1591 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1594 | Memory not freed after last reference. : fconf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_cache_store (1596 to 1607 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1596 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1597 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1602 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sha1_hosturi (1612 to 1657 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1625 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1626 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1643 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 1612 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1635 | Nested comment found. | GJB 4.10.1.1 |
M | 1619 | Procedure contains UR data flow anomalies. : sha1_ctx |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
should_send_notmodified_response (1673 to 1741 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1707 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1678 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 1699 | Signed/unsigned conversion without cast. : (unsigned int and int): entry -> etag_length | GJB 4.6.1.9 |
M | 1725 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1725 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_req_cache_use (1743 to 1848 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1750 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 1783 | Pointer not checked for null before use. : entry_block | GJB 5.1.15 |
M | 1798 | Pointer not checked for null before use. : entry_block | GJB 5.1.15 |
M | 1744 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1757 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1757 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1817 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1778 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1790 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 1792 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_cache_use (1851 to 1862 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1851 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1852 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1857 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_cache (1864 to 2027 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1954 | Name redeclared in another C name space (MR). : maxobjsz | GJB 4.1.1.16 |
M | 1864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1874 | goto detected. | GJB 4.5.1.2 |
M | 1879 | goto detected. | GJB 4.5.1.2 |
M | 1885 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1889 | goto detected. | GJB 4.5.1.2 |
M | 1904 | goto detected. | GJB 4.5.1.2 |
M | 1909 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp_cache_config -> maxblocks | GJB 4.6.1.9 |
M | 1910 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp_cache_config -> maxobjsz | GJB 4.6.1.9 |
M | 1915 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1919 | goto detected. | GJB 4.5.1.2 |
M | 1923 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1923 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1927 | goto detected. | GJB 4.5.1.2 |
M | 1934 | goto detected. | GJB 4.5.1.2 |
M | 1938 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1938 | Expression needs brackets. | GJB 5.1.2 |
M | 1943 | goto detected. | GJB 4.5.1.2 |
M | 1952 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp_cache_config -> maxage = atoi | GJB 4.6.1.9 |
M | 1955 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1959 | goto detected. | GJB 4.5.1.2 |
M | 1969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1973 | goto detected. | GJB 4.5.1.2 |
M | 1979 | goto detected. | GJB 4.5.1.2 |
M | 1998 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2002 | goto detected. | GJB 4.5.1.2 |
M | 2012 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2012 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2012 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2012 | Signed/unsigned conversion without cast. : (unsigned int and int): max_sec_entries | GJB 4.6.1.9 |
M | 2016 | goto detected. | GJB 4.5.1.2 |
M | 2020 | Value is not of appropriate type. : (char and signed char): * args [ 0 ] != 0 | GJB 4.6.1.8 |
M | 2023 | goto detected. | GJB 4.5.1.2 |
M | 2024 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1883 | Procedure contains UR data flow anomalies. : cache_config |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_post_parse_section_cache (2031 to 2066 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2031 | Empty parameter list to procedure/function. : cfg_post_parse_section_cache | GJB 4.1.1.10 |
M | 2037 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp_cache_config -> maxblocks | GJB 4.6.1.9 |
M | 2040 | goto detected. | GJB 4.5.1.2 |
M | 2045 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2048 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2048 | Expression needs brackets. | GJB 5.1.2 |
M | 2048 | Expression needs brackets. | GJB 5.1.2 |
M | 2049 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2049 | Expression needs brackets. | GJB 5.1.2 |
M | 2051 | goto detected. | GJB 4.5.1.2 |
M | 2052 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2061 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
post_check_cache (2068 to 2126 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2095 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2096 | Pointer not checked for null before use. : cache | GJB 5.1.15 |
M | 2113 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 2068 | Empty parameter list to procedure/function. : post_check_cache | GJB 4.1.1.10 |
M | 2078 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2088 | goto detected. | GJB 4.5.1.2 |
M | 2094 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2099 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2114 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2105 | Procedure contains UR data flow anomalies. : fconf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
accept_encoding_cmp (2147 to 2157 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2147 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 2147 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2149 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2150 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_encoding_value (2181 to 2266 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2192 | Signed/unsigned conversion without cast. : (unsigned int and int): encoding_value | GJB 4.6.1.9 |
M | 2194 | Signed/unsigned conversion without cast. : (unsigned int and int): has_null_weight | GJB 4.6.1.9 |
M | 2199 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2199 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "aes128gcm" | GJB 4.6.1.8 |
M | 2199 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2199 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2199 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2199 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2199 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2203 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2203 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "br" | GJB 4.6.1.8 |
M | 2203 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2203 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2203 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2207 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2207 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2207 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "compress" | GJB 4.6.1.8 |
M | 2207 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2207 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2207 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2207 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2207 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2211 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2211 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2211 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "deflate" | GJB 4.6.1.8 |
M | 2211 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2211 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2211 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2211 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2211 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2215 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2215 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2215 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "exi" | GJB 4.6.1.8 |
M | 2215 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2215 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2215 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2215 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2215 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2219 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2219 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2219 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "gzip" | GJB 4.6.1.8 |
M | 2219 | Use of sizeof on a type. | GJB 5.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2219 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2219 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2219 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2219 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2223 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2223 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "identity" | GJB 4.6.1.8 |
M | 2223 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2223 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2223 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2227 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2227 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2227 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "pack200-gzip" | GJB 4.6.1.8 |
M | 2227 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2227 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2227 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2227 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2227 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2231 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2231 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2231 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "x-gzip" | GJB 4.6.1.8 |
M | 2231 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2231 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2231 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2231 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2231 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2233 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2233 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2233 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "x-compress" | GJB 4.6.1.8 |
M | 2233 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2233 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2233 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2233 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2233 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2237 | Name reused in inner scope. : retval | GJB 4.15.1.2,4.15.1.5 |
M | 2237 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2237 | Value is not of appropriate type. : (char and signed char): istmatch ( encoding , ( struct ist ) {.ptr = "zstd" | GJB 4.6.1.8 |
M | 2237 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2237 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2237 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2237 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2237 | Use of sizeof on a type. | GJB 5.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2241 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
accept_encoding_normalizer (2283 to 2358 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2288 | Name redeclared in another C name space (MR). : hash | GJB 4.1.1.16 |
M | 2352 | Pointer not checked for null before use. : buf_len | GJB 5.1.15 |
M | 2284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2286 | Array initialisation has insufficient items. : values[*]; given=1, expected=16 | GJB 5.1.20 |
M | 2291 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 2297 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2301 | Signed/unsigned conversion without cast. : (unsigned int and int): count | GJB 4.6.1.9 |
M | 2314 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2322 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2331 | Signed/unsigned conversion without cast. : (unsigned int and int): count | GJB 4.6.1.9 |
M | 2336 | Signed/unsigned conversion without cast. : (unsigned int and int): count | GJB 4.6.1.9 |
M | 2343 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2353 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2292 | Procedure contains UR data flow anomalies. : encoding_value | GJB 4.13.1.4 |
M | 2293 | Procedure contains UR data flow anomalies. : rejected_encoding |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
default_normalizer (2369 to 2382 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2370 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2373 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 2378 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2369 | Static procedure is not explicitly called in code analysed. : default_normalizer | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
accept_encoding_hash_cmp (2388 to 2422 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2391 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2394 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2396 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2407 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2407 | Signed/unsigned conversion without cast. : (int and unsigned int): ( ref.encoding_bitmap & new.encoding_bitmap ) != ref.encoding_bitmap | GJB 4.6.1.9 |
M | 2418 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2420 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2420 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2420 | Function return type inconsistent. : (int and char) | GJB 4.9.1.4 |
M | 2388 | Static procedure is not explicitly called in code analysed. : accept_encoding_hash_cmp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_request_prebuild_full_secondary_key (2436 to 2441 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2436 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_request_build_secondary_key (2454 to 2487 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2461 | Name redeclared in another C name space (MR). : hash_length | GJB 4.1.1.16 |
M | 2454 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2465 | Signed/unsigned conversion without cast. : (unsigned int and int): idx | GJB 4.6.1.9 |
M | 2465 | Expression needs brackets. | GJB 5.1.2 |
M | 2465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2471 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2472 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 2472 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2472 | Value is not of appropriate type. : (unsigned int and int): htx , info -> hdr_name , & txn -> cache_secondary_hash [ offset | GJB 4.6.1.8 |
M | 2473 | Signed/unsigned conversion without cast. : (int and unsigned int): offset += hash_length | GJB 4.6.1.9 |
M | 2478 | Value is not of appropriate type. : (unsigned int and int): memset ( & txn -> cache_secondary_hash [ offset | GJB 4.6.1.8 |
M | 2479 | Signed/unsigned conversion without cast. : (int and unsigned int): offset += hash_length | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_request_reduce_secondary_key (2494 to 2515 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2495 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2495 | Single dimension array param size specified. | GJB 5.1.10 |
M | 2504 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2505 | Signed/unsigned conversion without cast. : (unsigned int and int): vary_idx | GJB 4.6.1.9 |
M | 2505 | Signed/unsigned conversion without cast. : (unsigned int and int): vary_idx | GJB 4.6.1.9 |
M | 2505 | Signed/unsigned conversion without cast. : (unsigned int and int): vary_idx < vary_info_count | GJB 4.6.1.9 |
M | 2510 | Value is not of appropriate type. : (unsigned int and int): prebuilt_key [ global_offset | GJB 4.6.1.8 |
M | 2510 | Operation not appropriate to plain char. : &= used with char: prebuilt_key | GJB 4.1.1.15 |
M | 2510 | Type conversion without cast. : (char and int): prebuilt_key [ global_offset ] &= keep | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_cache_flt (2519 to 2588 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2525 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 2547 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 2552 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 2586 | Pointer not checked for null before use. : cconf | GJB 5.1.15 |
M | 2573 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 2520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2521 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2521 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2525 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2529 | Value is not of appropriate type. : (unsigned int and int): ! * args [ pos + 1 | GJB 4.6.1.8 |
M | 2530 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s : expects a <name> argument" , args [ pos | GJB 4.6.1.8 |
M | 2531 | goto detected. | GJB 4.5.1.2 |
M | 2533 | Value is not of appropriate type. : (unsigned int and int): name = strdup ( args [ pos + 1 | GJB 4.6.1.8 |
M | 2535 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s '%s' : out of memory" , args [ pos | GJB 4.6.1.8 |
M | 2535 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s '%s' : out of memory" , args [ pos ] , args [ pos + 1 | GJB 4.6.1.8 |
M | 2536 | goto detected. | GJB 4.5.1.2 |
M | 2556 | goto detected. | GJB 4.5.1.2 |
M | 2561 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2562 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2562 | free used on string. | GJB 5.1.19 |
M | 2568 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2571 | goto detected. | GJB 4.5.1.2 |
M | 2576 | Signed/unsigned conversion without cast. : (unsigned int and int): cconf -> flags | GJB 4.6.1.9 |
M | 2584 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2585 | free used on string. | GJB 5.1.19 |
M | 2586 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2519 | Static procedure is not explicitly called in code analysed. : parse_cache_flt | GJB 4.7.1.3 |
M | 2573 | Attempt to read from freed memory. : name | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_cache (2590 to 2596 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2590 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2590 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2590 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2590 | Static procedure is not explicitly called in code analysed. : cli_parse_show_cache | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_cache (2598 to 2656 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2636 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 2615 | Pointer not checked for null before use. : cache | GJB 5.1.15 |
M | 2611 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2627 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2627 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 2627 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2627 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2637 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 2638 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2639 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2598 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_cache | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_res_cache_hit (2662 to 2670 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2664 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2664 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2667 | Value is not of appropriate type. : (bool and unsigned char) | GJB 4.6.1.8 |
M | 2662 | Static procedure is not explicitly called in code analysed. : smp_fetch_res_cache_hit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_res_cache_name (2675 to 2703 cache.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2696 | Pointer not checked for null before use. : cache | GJB 5.1.15 |
M | 2677 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2677 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2675 | Static procedure is not explicitly called in code analysed. : smp_fetch_res_cache_name | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
open_trace (63 to 89 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 63 | Empty parameter list to procedure/function. : open_trace | GJB 4.1.1.10 |
M | 65 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 65 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 80 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 84 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ultoad2 (99 to 157 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 155 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 99 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 99 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 99 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | Name found with length less than 2. : q | GJB 4.8.1.1 |
M | 102 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 102 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 104 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 118 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 120 | Type conversion without cast. : (unsigned int and uns long long): q = y | GJB 4.6.1.9 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 124 | Signed/unsigned conversion without cast. : (unsigned int and int): q | GJB 4.6.1.9 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 134 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 137 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 138 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 138 | Expression needs brackets. | GJB 5.1.2 |
M | 141 | Signed/unsigned conversion without cast. : (uns long long and int): y | GJB 4.6.1.9 |
M | 143 | Use of sizeof on a type. | GJB 5.1.8 |
M | 147 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 148 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 152 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 156 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
emit_hex (160 to 174 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 160 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 162 | Array initialisation has too many items. : hextab[*]; given=17, expected=16 | GJB 5.1.3 |
M | 162 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 163 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 163 | Expression needs brackets. | GJB 5.1.2 |
M | 167 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 169 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 169 | Type conversion without cast. : (char and unsigned char): out ++ = hextab | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_line (176 to 235 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 201 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 216 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 220 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 212 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 228 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 232 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 234 | Pointer not checked for null before use. : log | GJB 5.1.15 |
M | 184 | Pointer not checked for null before use. : now_ptr | GJB 5.1.15 |
M | 176 | Parameter has same name as global variable. : level | GJB 4.15.1.3 |
M | 176 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 178 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 178 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 201 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 205 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 206 | Use of sizeof on a type. | GJB 5.1.8 |
M | 208 | Value is not of appropriate type. : (unsigned long and uns long long): ( unsigned long ) ( t | GJB 4.6.1.8 |
M | 212 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 216 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 216 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 216 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 217 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 220 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 220 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 224 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 228 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 228 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 228 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 232 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 207 | Actual and formal parameters inconsistent (MR). : (uns long long and unsigned long): param 1 | GJB 4.7.1.9 |
M | 217 | Actual and formal parameters inconsistent (MR). : (unsigned long): param 1 | GJB 4.7.1.9 |
M | 224 | Actual and formal parameters inconsistent (MR). : (unsigned long): param 1 | GJB 4.7.1.9 |
M | 229 | Actual and formal parameters inconsistent (MR). : (long and unsigned long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__cyg_profile_func_enter (238 to 242 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 241 | Void procedure with return statement. : __cyg_profile_func_enter | GJB 4.9.1.2 |
M | 241 | Void procedure used in expression. : make_line | GJB 4.7.1.7 |
M | 241 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 238 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__cyg_profile_func_exit (244 to 256 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 255 | Void procedure with return statement. : __cyg_profile_func_exit | GJB 4.9.1.2 |
M | 255 | Void procedure used in expression. : make_line | GJB 4.7.1.7 |
M | 255 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 244 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
calltrace (262 to 286 calltrace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 278 | Pointer not checked for null before use. : log | GJB 5.1.15 |
M | 270 | Pointer not checked for null before use. : now_ptr | GJB 5.1.15 |
M | 262 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 262 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 279 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 283 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_global (34 to 1305 cfgparse-global.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 751 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 751 | Pointer not checked for null before use. : global.desc | GJB 5.1.15 |
M | 1245 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1254 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1263 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 753 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 866 | Pointer not checked for null before use. : group | GJB 5.1.15 |
M | 899 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 34 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 34 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 37 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | goto detected. | GJB 4.5.1.2 |
M | 46 | goto detected. | GJB 4.5.1.2 |
M | 51 | goto detected. | GJB 4.5.1.2 |
M | 58 | goto detected. | GJB 4.5.1.2 |
M | 65 | goto detected. | GJB 4.5.1.2 |
M | 70 | goto detected. | GJB 4.5.1.2 |
M | 75 | goto detected. | GJB 4.5.1.2 |
M | 80 | goto detected. | GJB 4.5.1.2 |
M | 85 | goto detected. | GJB 4.5.1.2 |
M | 87 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 87 | Bit operator with boolean operand. : ~ used with bool: GTUNE_BUSY_POLLING | GJB 4.6.1.17,4.6.1.18 |
M | 89 | Bit operator with boolean operand. : |= used with bool: GTUNE_BUSY_POLLING | GJB 4.6.1.17,4.6.1.18 |
M | 93 | goto detected. | GJB 4.5.1.2 |
M | 95 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 95 | Bit operator with boolean operand. : ~ used with bool: GTUNE_SET_DUMPABLE | GJB 4.6.1.17,4.6.1.18 |
M | 97 | Bit operator with boolean operand. : |= used with bool: GTUNE_SET_DUMPABLE | GJB 4.6.1.17,4.6.1.18 |
M | 101 | goto detected. | GJB 4.5.1.2 |
M | 103 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 103 | Bit operator with boolean operand. : ~ used with bool: GTUNE_INSECURE_FORK | GJB 4.6.1.17,4.6.1.18 |
M | 105 | Bit operator with boolean operand. : |= used with bool: GTUNE_INSECURE_FORK | GJB 4.6.1.17,4.6.1.18 |
M | 109 | goto detected. | GJB 4.5.1.2 |
M | 111 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 111 | Bit operator with boolean operand. : ~ used with bool: GTUNE_INSECURE_SETUID | GJB 4.6.1.17,4.6.1.18 |
M | 113 | Bit operator with boolean operand. : |= used with bool: GTUNE_INSECURE_SETUID | GJB 4.6.1.17,4.6.1.18 |
M | 117 | goto detected. | GJB 4.5.1.2 |
M | 122 | goto detected. | GJB 4.5.1.2 |
M | 127 | goto detected. | GJB 4.5.1.2 |
M | 132 | goto detected. | GJB 4.5.1.2 |
M | 137 | goto detected. | GJB 4.5.1.2 |
M | 142 | goto detected. | GJB 4.5.1.2 |
M | 146 | goto detected. | GJB 4.5.1.2 |
M | 148 | Expression needs brackets. | GJB 5.1.2 |
M | 148 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 151 | goto detected. | GJB 4.5.1.2 |
M | 153 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 158 | goto detected. | GJB 4.5.1.2 |
M | 162 | goto detected. | GJB 4.5.1.2 |
M | 164 | Expression needs brackets. | GJB 5.1.2 |
M | 164 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 167 | goto detected. | GJB 4.5.1.2 |
M | 169 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 175 | goto detected. | GJB 4.5.1.2 |
M | 179 | goto detected. | GJB 4.5.1.2 |
M | 181 | Expression needs brackets. | GJB 5.1.2 |
M | 181 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 184 | goto detected. | GJB 4.5.1.2 |
M | 186 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 190 | goto detected. | GJB 4.5.1.2 |
M | 200 | goto detected. | GJB 4.5.1.2 |
M | 201 | Expression needs brackets. | GJB 5.1.2 |
M | 201 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 204 | goto detected. | GJB 4.5.1.2 |
M | 206 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 210 | goto detected. | GJB 4.5.1.2 |
M | 211 | Expression needs brackets. | GJB 5.1.2 |
M | 211 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 214 | goto detected. | GJB 4.5.1.2 |
M | 216 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 219 | Value is not of appropriate type. : (bool and unsigned char): global.tune.buf_limit = 3 | GJB 4.6.1.8 |
M | 221 | Value is not of appropriate type. : (bool and unsigned char): global.tune.buf_limit = global.tune.reserved_bufs | GJB 4.6.1.8 |
M | 226 | goto detected. | GJB 4.5.1.2 |
M | 227 | Expression needs brackets. | GJB 5.1.2 |
M | 227 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 230 | goto detected. | GJB 4.5.1.2 |
M | 232 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 234 | Value is not of appropriate type. : (bool and unsigned char): global.tune.reserved_bufs = 2 | GJB 4.6.1.8 |
M | 235 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 236 | Value is not of appropriate type. : (bool and unsigned char): global.tune.buf_limit = global.tune.reserved_bufs | GJB 4.6.1.8 |
M | 240 | goto detected. | GJB 4.5.1.2 |
M | 241 | Expression needs brackets. | GJB 5.1.2 |
M | 241 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 244 | goto detected. | GJB 4.5.1.2 |
M | 246 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 248 | Expression needs brackets. | GJB 5.1.2 |
M | 248 | Use of sizeof on a type. | GJB 5.1.8 |
M | 248 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 248 | Use of sizeof on a type. | GJB 5.1.8 |
M | 252 | goto detected. | GJB 4.5.1.2 |
M | 257 | goto detected. | GJB 4.5.1.2 |
M | 258 | Expression needs brackets. | GJB 5.1.2 |
M | 258 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 261 | goto detected. | GJB 4.5.1.2 |
M | 263 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 267 | goto detected. | GJB 4.5.1.2 |
M | 272 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 275 | goto detected. | GJB 4.5.1.2 |
M | 276 | Expression needs brackets. | GJB 5.1.2 |
M | 276 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 287 | goto detected. | GJB 4.5.1.2 |
M | 293 | goto detected. | GJB 4.5.1.2 |
M | 299 | goto detected. | GJB 4.5.1.2 |
M | 300 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 302 | Signed/unsigned conversion without cast. : (unsigned int and int): idle | GJB 4.6.1.9 |
M | 305 | goto detected. | GJB 4.5.1.2 |
M | 311 | goto detected. | GJB 4.5.1.2 |
M | 315 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 317 | Expression needs brackets. | GJB 5.1.2 |
M | 317 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 320 | goto detected. | GJB 4.5.1.2 |
M | 322 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 326 | goto detected. | GJB 4.5.1.2 |
M | 330 | goto detected. | GJB 4.5.1.2 |
M | 332 | Expression needs brackets. | GJB 5.1.2 |
M | 332 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 335 | goto detected. | GJB 4.5.1.2 |
M | 337 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 341 | goto detected. | GJB 4.5.1.2 |
M | 345 | goto detected. | GJB 4.5.1.2 |
M | 347 | Expression needs brackets. | GJB 5.1.2 |
M | 347 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 350 | goto detected. | GJB 4.5.1.2 |
M | 352 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 360 | goto detected. | GJB 4.5.1.2 |
M | 362 | Expression needs brackets. | GJB 5.1.2 |
M | 362 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 365 | goto detected. | GJB 4.5.1.2 |
M | 367 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 371 | goto detected. | GJB 4.5.1.2 |
M | 372 | Expression needs brackets. | GJB 5.1.2 |
M | 372 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 375 | goto detected. | GJB 4.5.1.2 |
M | 377 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 381 | goto detected. | GJB 4.5.1.2 |
M | 382 | Expression needs brackets. | GJB 5.1.2 |
M | 382 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 385 | goto detected. | GJB 4.5.1.2 |
M | 387 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 391 | goto detected. | GJB 4.5.1.2 |
M | 392 | Expression needs brackets. | GJB 5.1.2 |
M | 392 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 395 | goto detected. | GJB 4.5.1.2 |
M | 397 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 401 | goto detected. | GJB 4.5.1.2 |
M | 402 | Expression needs brackets. | GJB 5.1.2 |
M | 402 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 405 | goto detected. | GJB 4.5.1.2 |
M | 407 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | goto detected. | GJB 4.5.1.2 |
M | 417 | goto detected. | GJB 4.5.1.2 |
M | 419 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 420 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 420 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 424 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 430 | goto detected. | GJB 4.5.1.2 |
M | 435 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 440 | goto detected. | GJB 4.5.1.2 |
M | 446 | goto detected. | GJB 4.5.1.2 |
M | 451 | goto detected. | GJB 4.5.1.2 |
M | 455 | goto detected. | GJB 4.5.1.2 |
M | 457 | Expression needs brackets. | GJB 5.1.2 |
M | 457 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 460 | goto detected. | GJB 4.5.1.2 |
M | 465 | goto detected. | GJB 4.5.1.2 |
M | 471 | goto detected. | GJB 4.5.1.2 |
M | 475 | goto detected. | GJB 4.5.1.2 |
M | 477 | Expression needs brackets. | GJB 5.1.2 |
M | 477 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 480 | goto detected. | GJB 4.5.1.2 |
M | 485 | goto detected. | GJB 4.5.1.2 |
M | 490 | goto detected. | GJB 4.5.1.2 |
M | 497 | goto detected. | GJB 4.5.1.2 |
M | 501 | goto detected. | GJB 4.5.1.2 |
M | 503 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 509 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 509 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 509 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 516 | goto detected. | GJB 4.5.1.2 |
M | 520 | goto detected. | GJB 4.5.1.2 |
M | 522 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 528 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 528 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 528 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 535 | goto detected. | GJB 4.5.1.2 |
M | 536 | Expression needs brackets. | GJB 5.1.2 |
M | 536 | Value is not of appropriate type. : (char and signed char): == 0 | GJB 4.6.1.8 |
M | 539 | goto detected. | GJB 4.5.1.2 |
M | 541 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 543 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 543 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 547 | goto detected. | GJB 4.5.1.2 |
M | 552 | goto detected. | GJB 4.5.1.2 |
M | 553 | Expression needs brackets. | GJB 5.1.2 |
M | 553 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 556 | goto detected. | GJB 4.5.1.2 |
M | 563 | goto detected. | GJB 4.5.1.2 |
M | 568 | goto detected. | GJB 4.5.1.2 |
M | 572 | goto detected. | GJB 4.5.1.2 |
M | 574 | Expression needs brackets. | GJB 5.1.2 |
M | 574 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 577 | goto detected. | GJB 4.5.1.2 |
M | 579 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 590 | goto detected. | GJB 4.5.1.2 |
M | 591 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 591 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 594 | goto detected. | GJB 4.5.1.2 |
M | 603 | goto detected. | GJB 4.5.1.2 |
M | 608 | goto detected. | GJB 4.5.1.2 |
M | 612 | goto detected. | GJB 4.5.1.2 |
M | 614 | Expression needs brackets. | GJB 5.1.2 |
M | 614 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 617 | goto detected. | GJB 4.5.1.2 |
M | 619 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 623 | goto detected. | GJB 4.5.1.2 |
M | 627 | goto detected. | GJB 4.5.1.2 |
M | 629 | Expression needs brackets. | GJB 5.1.2 |
M | 629 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 632 | goto detected. | GJB 4.5.1.2 |
M | 634 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 638 | goto detected. | GJB 4.5.1.2 |
M | 642 | goto detected. | GJB 4.5.1.2 |
M | 644 | Expression needs brackets. | GJB 5.1.2 |
M | 644 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 647 | goto detected. | GJB 4.5.1.2 |
M | 649 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 654 | Expression needs brackets. | GJB 5.1.2 |
M | 654 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 657 | goto detected. | GJB 4.5.1.2 |
M | 659 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 663 | goto detected. | GJB 4.5.1.2 |
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 669 | Expression needs brackets. | GJB 5.1.2 |
M | 669 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 672 | goto detected. | GJB 4.5.1.2 |
M | 674 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 678 | goto detected. | GJB 4.5.1.2 |
M | 679 | Expression needs brackets. | GJB 5.1.2 |
M | 679 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 682 | goto detected. | GJB 4.5.1.2 |
M | 684 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 688 | goto detected. | GJB 4.5.1.2 |
M | 689 | Expression needs brackets. | GJB 5.1.2 |
M | 689 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 692 | goto detected. | GJB 4.5.1.2 |
M | 694 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 698 | goto detected. | GJB 4.5.1.2 |
M | 704 | goto detected. | GJB 4.5.1.2 |
M | 708 | goto detected. | GJB 4.5.1.2 |
M | 710 | Expression needs brackets. | GJB 5.1.2 |
M | 710 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 713 | goto detected. | GJB 4.5.1.2 |
M | 715 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 719 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 723 | goto detected. | GJB 4.5.1.2 |
M | 725 | Expression needs brackets. | GJB 5.1.2 |
M | 725 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 728 | goto detected. | GJB 4.5.1.2 |
M | 733 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 734 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 734 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 740 | goto detected. | GJB 4.5.1.2 |
M | 743 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 744 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 744 | Signed/unsigned conversion without cast. : (int and unsigned int): len += strlen | GJB 4.6.1.9 |
M | 744 | Value is not of appropriate type. : (unsigned int and int): len += strlen ( args [ i | GJB 4.6.1.8 |
M | 744 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 746 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 749 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 749 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 751 | Expression needs brackets. | GJB 5.1.2 |
M | 752 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 753 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 753 | Expression needs brackets. | GJB 5.1.2 |
M | 753 | Value is not of appropriate type. : (unsigned int and int): d += snprintf ( d , global.desc + len - d , " %s" , args [ i | GJB 4.6.1.8 |
M | 756 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 757 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 757 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 760 | goto detected. | GJB 4.5.1.2 |
M | 762 | Value is not of appropriate type. : (unsigned int and int): args [ 1 ] [ i | GJB 4.6.1.8 |
M | 763 | Value is not of appropriate type. : (unsigned int and int): c = args [ 1 ] [ i | GJB 4.6.1.8 |
M | 764 | Use of banned function or variable. : isupper | GJB 4.7.1.4 |
M | 764 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 764 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 764 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 764 | Use of banned function or variable. : islower | GJB 4.7.1.4 |
M | 764 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 764 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 765 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 769 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): args [ 1 ] [ i | GJB 4.6.1.8 |
M | 774 | goto detected. | GJB 4.5.1.2 |
M | 777 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 784 | goto detected. | GJB 4.5.1.2 |
M | 788 | goto detected. | GJB 4.5.1.2 |
M | 790 | Expression needs brackets. | GJB 5.1.2 |
M | 790 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 793 | goto detected. | GJB 4.5.1.2 |
M | 799 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 800 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 802 | Value is not of appropriate type. : (unsigned int and int): linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 808 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 808 | Expression needs brackets. | GJB 5.1.2 |
M | 808 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg + 1 ] ) == 0 | GJB 4.6.1.8 |
M | 809 | Value is not of appropriate type. : (unsigned int and int): linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 811 | goto detected. | GJB 4.5.1.2 |
M | 813 | Value is not of appropriate type. : (unsigned int and int): global.unix_bind.prefix = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 818 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 820 | Value is not of appropriate type. : (unsigned int and int): global.unix_bind.ux.mode = strtol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 825 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 827 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 827 | Value is not of appropriate type. : (unsigned int and int): global.unix_bind.ux.uid = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 832 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 834 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 834 | Value is not of appropriate type. : (unsigned int and int): global.unix_bind.ux.gid = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 839 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 842 | Value is not of appropriate type. : (unsigned int and int): user = getpwnam ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 845 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 847 | goto detected. | GJB 4.5.1.2 |
M | 855 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 858 | Value is not of appropriate type. : (unsigned int and int): group = getgrnam ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 861 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 863 | goto detected. | GJB 4.5.1.2 |
M | 874 | goto detected. | GJB 4.5.1.2 |
M | 881 | goto detected. | GJB 4.5.1.2 |
M | 885 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 890 | goto detected. | GJB 4.5.1.2 |
M | 896 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 905 | goto detected. | GJB 4.5.1.2 |
M | 911 | goto detected. | GJB 4.5.1.2 |
M | 920 | goto detected. | GJB 4.5.1.2 |
M | 926 | goto detected. | GJB 4.5.1.2 |
M | 933 | goto detected. | GJB 4.5.1.2 |
M | 934 | Expression needs brackets. | GJB 5.1.2 |
M | 934 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 937 | goto detected. | GJB 4.5.1.2 |
M | 945 | goto detected. | GJB 4.5.1.2 |
M | 950 | goto detected. | GJB 4.5.1.2 |
M | 954 | goto detected. | GJB 4.5.1.2 |
M | 956 | Expression needs brackets. | GJB 5.1.2 |
M | 956 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 959 | goto detected. | GJB 4.5.1.2 |
M | 961 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 962 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 962 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 968 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 972 | goto detected. | GJB 4.5.1.2 |
M | 973 | Expression needs brackets. | GJB 5.1.2 |
M | 973 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 976 | goto detected. | GJB 4.5.1.2 |
M | 993 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1123 | goto detected. | GJB 4.5.1.2 |
M | 1126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1128 | goto detected. | GJB 4.5.1.2 |
M | 1130 | Expression needs brackets. | GJB 5.1.2 |
M | 1130 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 1133 | goto detected. | GJB 4.5.1.2 |
M | 1138 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1138 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1140 | goto detected. | GJB 4.5.1.2 |
M | 1146 | Expression needs brackets. | GJB 5.1.2 |
M | 1146 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1149 | goto detected. | GJB 4.5.1.2 |
M | 1152 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 1153 | Value is not of appropriate type. : (unsigned int and int): unsetenv ( args [ arg | GJB 4.6.1.8 |
M | 1154 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' failed on variable '%s' : %s.\n" , file , linenum , args [ 0 ] , args [ arg | GJB 4.6.1.8 |
M | 1154 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1154 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1156 | goto detected. | GJB 4.5.1.2 |
M | 1161 | extern not in nominated include file. | GJB 4.7.1.5 |
M | 1161 | Extern used in function body. | GJB 5.1.21 |
M | 1161 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1169 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 1170 | Value is not of appropriate type. : (unsigned int and int): strncmp ( * env , args [ arg | GJB 4.6.1.8 |
M | 1170 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ arg | GJB 4.6.1.8 |
M | 1170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1171 | Value is not of appropriate type. : (unsigned int and int): ) [ strlen ( args [ arg | GJB 4.6.1.8 |
M | 1176 | Value is not of appropriate type. : (unsigned int and int): ! * args [ arg | GJB 4.6.1.8 |
M | 1177 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1179 | Expression needs brackets. | GJB 5.1.2 |
M | 1179 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1182 | goto detected. | GJB 4.5.1.2 |
M | 1186 | Array subscript is not integral. | GJB 4.6.1.10 |
M | 1189 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1189 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1191 | goto detected. | GJB 4.5.1.2 |
M | 1200 | goto detected. | GJB 4.5.1.2 |
M | 1202 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 1202 | Bit operator with boolean operand. : ~ used with bool: GTUNE_STRICT_LIMITS | GJB 4.6.1.17,4.6.1.18 |
M | 1206 | goto detected. | GJB 4.5.1.2 |
M | 1208 | Expression needs brackets. | GJB 5.1.2 |
M | 1208 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1212 | goto detected. | GJB 4.5.1.2 |
M | 1219 | goto detected. | GJB 4.5.1.2 |
M | 1226 | goto detected. | GJB 4.5.1.2 |
M | 1229 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1230 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1230 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1234 | goto detected. | GJB 4.5.1.2 |
M | 1240 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1242 | goto detected. | GJB 4.5.1.2 |
M | 1247 | goto detected. | GJB 4.5.1.2 |
M | 1249 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1251 | goto detected. | GJB 4.5.1.2 |
M | 1256 | goto detected. | GJB 4.5.1.2 |
M | 1258 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1260 | goto detected. | GJB 4.5.1.2 |
M | 1265 | goto detected. | GJB 4.5.1.2 |
M | 1270 | goto detected. | GJB 4.5.1.2 |
M | 1279 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1280 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1282 | Value is not of appropriate type. : (unsigned int and int): strcmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 1283 | Value is not of appropriate type. : (unsigned int and int): rc = kwl -> kw [ index | GJB 4.6.1.8 |
M | 1291 | goto detected. | GJB 4.5.1.2 |
M | 1292 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1293 | goto detected. | GJB 4.5.1.2 |
M | 1302 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1303 | free used on string. | GJB 5.1.19 |
M | 754 | Memory not freed after last reference. : d | GJB 5.1.17 |
M | 271 | Procedure contains UR data flow anomalies. : idle | GJB 4.13.1.4 |
M | 1274 | Procedure contains UR data flow anomalies. : kwl | GJB 4.13.1.4 |
M | 969 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_tcp_sess (39 to 47 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 39 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_tcp_cont (52 to 60 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 52 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 52 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_monitor (65 to 73 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 65 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 65 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_http_req (78 to 86 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 78 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 78 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_redirect (91 to 99 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 91 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 91 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_use_backend (104 to 112 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 104 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 104 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_rule_after_use_server (117 to 125 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_misplaced_redirect (128 to 132 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 130 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 131 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 131 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_misplaced_http_req (135 to 139 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 137 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_misplaced_monitor (142 to 146 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 142 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 145 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 145 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_misplaced_tcp_cont (149 to 153 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 151 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 152 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_misplaced_tcp_sess (156 to 160 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 158 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 159 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_misplaced_tcp_conn (163 to 167 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 166 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_listen (169 to 3155 cfgparse-listen.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 422 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 423 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 453 | Pointer not checked for null before use. : (curproxy)->comp | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.conf.uniqueid_format_string | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.conf.lfs_file | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.conf.uif_file | GJB 5.1.15 |
M | 525 | Pointer not checked for null before use. : defproxy.conf.lfsd_file | GJB 5.1.15 |
M | 577 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 685 | Pointer not checked for null before use. : (curproxy)->monitor_uri | GJB 5.1.15 |
M | 743 | Pointer not checked for null before use. : target | GJB 5.1.15 |
M | 770 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 1164 | Pointer not checked for null before use. : (curproxy)->rdp_cookie_name | GJB 5.1.15 |
M | 1275 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 1303 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 1561 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1602 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1762 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1811 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1977 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 1977 | Pointer not checked for null before use. : desc | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->conf.logformat_string | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->conf.lfs_file | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->conf.logformat_sd_string | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->conf.lfsd_file | GJB 5.1.15 |
M | 432 | Pointer not checked for null before use. : (curproxy)->conf.uniqueid_format_string | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->cookie_name | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->dyncookie_key | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->cookie_domain | GJB 5.1.15 |
M | 1008 | Pointer not checked for null before use. : (curproxy)->cookie_domain | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->rdp_cookie_name | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->conn_src.iface_name | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->capture_name | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->monitor_uri | GJB 5.1.15 |
M | 425 | Pointer not checked for null before use. : (curproxy)->defbe.name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.conf.file | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.check_command | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.check_path | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.cookie_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.rdp_cookie_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.dyncookie_key | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.cookie_domain | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.cookie_attrs | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.lbprm.arg_str | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.capture_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.monitor_uri | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.defbe.name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.conn_src.iface_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.fwdfor_hdr_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.orgto_hdr_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.server_id_hdr_name | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : defproxy.conf.logformat_string | GJB 5.1.15 |
M | 525 | Pointer not checked for null before use. : defproxy.conf.logformat_sd_string | GJB 5.1.15 |
M | 648 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 653 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 774 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 1765 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1979 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 169 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 169 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 178 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 196 | goto detected. | GJB 4.5.1.2 |
M | 222 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 222 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 222 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 225 | goto detected. | GJB 4.5.1.2 |
M | 231 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 232 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 241 | goto detected. | GJB 4.5.1.2 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 311 | goto detected. | GJB 4.5.1.2 |
M | 381 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 383 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 394 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 421 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 422 | Use of sizeof on a type. | GJB 5.1.8 |
M | 445 | goto detected. | GJB 4.5.1.2 |
M | 452 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 478 | goto detected. | GJB 4.5.1.2 |
M | 487 | goto detected. | GJB 4.5.1.2 |
M | 490 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 491 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 492 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 493 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 494 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 495 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 496 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 497 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 498 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 499 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 500 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 501 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 502 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 503 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 505 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 507 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 512 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 513 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 516 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 517 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 521 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 522 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 531 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 532 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 533 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 535 | goto detected. | GJB 4.5.1.2 |
M | 540 | goto detected. | GJB 4.5.1.2 |
M | 541 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 548 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 549 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 549 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 553 | goto detected. | GJB 4.5.1.2 |
M | 562 | goto detected. | GJB 4.5.1.2 |
M | 571 | goto detected. | GJB 4.5.1.2 |
M | 586 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 594 | goto detected. | GJB 4.5.1.2 |
M | 603 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 606 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 606 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 608 | Value is not of appropriate type. : (unsigned int and int): kw = bind_find_kw ( args [ cur_arg | GJB 4.6.1.8 |
M | 610 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 610 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 615 | Value is not of appropriate type. : (unsigned int and int): , args [ cur_arg | GJB 4.6.1.8 |
M | 618 | goto detected. | GJB 4.5.1.2 |
M | 625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 633 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : '%s %s' : error encountered while processing '%s'.\n" , file , linenum , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 636 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 636 | free used on string. | GJB 5.1.19 |
M | 638 | goto detected. | GJB 4.5.1.2 |
M | 641 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 641 | free used on string. | GJB 5.1.19 |
M | 653 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : '%s %s' unknown keyword '%s'.%s%s\n" , file , linenum , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 656 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 656 | free used on string. | GJB 5.1.19 |
M | 659 | goto detected. | GJB 4.5.1.2 |
M | 661 | goto detected. | GJB 4.5.1.2 |
M | 666 | goto detected. | GJB 4.5.1.2 |
M | 673 | goto detected. | GJB 4.5.1.2 |
M | 679 | goto detected. | GJB 4.5.1.2 |
M | 682 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 683 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> monitor_uri_len = strlen | GJB 4.6.1.9 |
M | 684 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 686 | Value is not of appropriate type. : (unsigned int and int): curproxy -> monitor_uri [ curproxy -> monitor_uri_len | GJB 4.6.1.8 |
M | 686 | Type conversion without cast. : (int and char): curproxy -> monitor_uri [ curproxy -> monitor_uri_len ] = '\0' | GJB 4.6.1.9 |
M | 688 | goto detected. | GJB 4.5.1.2 |
M | 692 | goto detected. | GJB 4.5.1.2 |
M | 699 | goto detected. | GJB 4.5.1.2 |
M | 704 | goto detected. | GJB 4.5.1.2 |
M | 714 | goto detected. | GJB 4.5.1.2 |
M | 718 | goto detected. | GJB 4.5.1.2 |
M | 724 | goto detected. | GJB 4.5.1.2 |
M | 727 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 735 | goto detected. | GJB 4.5.1.2 |
M | 745 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 750 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 751 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 751 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 757 | goto detected. | GJB 4.5.1.2 |
M | 766 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 767 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 767 | Signed/unsigned conversion without cast. : (int and unsigned int): len += strlen | GJB 4.6.1.9 |
M | 767 | Value is not of appropriate type. : (unsigned int and int): len += strlen ( args [ i | GJB 4.6.1.8 |
M | 767 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 769 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 772 | Expression needs brackets. | GJB 5.1.2 |
M | 773 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 774 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 774 | Expression needs brackets. | GJB 5.1.2 |
M | 774 | Value is not of appropriate type. : (unsigned int and int): d += snprintf ( d , curproxy -> desc + len - d , " %s" , args [ i | GJB 4.6.1.8 |
M | 779 | goto detected. | GJB 4.5.1.2 |
M | 784 | goto detected. | GJB 4.5.1.2 |
M | 791 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 792 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 793 | Signed/unsigned conversion without cast. : (unsigned long and int): set | GJB 4.6.1.9 |
M | 796 | Value is not of appropriate type. : (unsigned int and int): parse_process_number ( args [ cur_arg | GJB 4.6.1.8 |
M | 799 | goto detected. | GJB 4.5.1.2 |
M | 803 | Signed/unsigned conversion without cast. : (int and unsigned long): curproxy -> bind_proc = set | GJB 4.6.1.9 |
M | 809 | goto detected. | GJB 4.5.1.2 |
M | 817 | goto detected. | GJB 4.5.1.2 |
M | 825 | goto detected. | GJB 4.5.1.2 |
M | 828 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 828 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 832 | goto detected. | GJB 4.5.1.2 |
M | 840 | Expression needs brackets. | GJB 5.1.2 |
M | 840 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 844 | goto detected. | GJB 4.5.1.2 |
M | 846 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 855 | Expression needs brackets. | GJB 5.1.2 |
M | 855 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 859 | goto detected. | GJB 4.5.1.2 |
M | 863 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 864 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 865 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 867 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> cookie_len = strlen | GJB 4.6.1.9 |
M | 867 | Value is not of appropriate type. : (int and char): curproxy -> cookie_len = strlen ( curproxy -> cookie_name | GJB 4.6.1.8 |
M | 870 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 871 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 874 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 877 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 880 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 883 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 886 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 889 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 892 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 895 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 898 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 899 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 901 | Value is not of appropriate type. : (unsigned int and int): linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 903 | goto detected. | GJB 4.5.1.2 |
M | 906 | Value is not of appropriate type. : (unsigned int and int): ! strchr ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 909 | Value is not of appropriate type. : (unsigned int and int): | GJB 4.6.1.8 |
M | 914 | Value is not of appropriate type. : (unsigned int and int): err = invalid_domainchar ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 917 | Value is not of appropriate type. : (unsigned int and int): file , linenum , * err , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 919 | goto detected. | GJB 4.5.1.2 |
M | 923 | Value is not of appropriate type. : (unsigned int and int): curproxy -> cookie_domain = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 929 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 930 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | GJB 4.6.1.9 |
M | 930 | Value is not of appropriate type. : (int and char): strlen ( curproxy -> cookie_domain | GJB 4.6.1.8 |
M | 930 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 931 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 931 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 932 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 933 | Value is not of appropriate type. : (unsigned int and int): , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 934 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 939 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 941 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 943 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 945 | Value is not of appropriate type. : (unsigned int and int): file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 947 | goto detected. | GJB 4.5.1.2 |
M | 950 | Value is not of appropriate type. : (unsigned int and int): res = parse_time_err ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 952 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 952 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 955 | goto detected. | GJB 4.5.1.2 |
M | 958 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 958 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 961 | goto detected. | GJB 4.5.1.2 |
M | 964 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , * res , args [ cur_arg | GJB 4.6.1.8 |
M | 967 | goto detected. | GJB 4.5.1.2 |
M | 968 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 969 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> cookie_maxidle = maxidle | GJB 4.6.1.9 |
M | 972 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 974 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 976 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 977 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 980 | goto detected. | GJB 4.5.1.2 |
M | 984 | Value is not of appropriate type. : (unsigned int and int): res = parse_time_err ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 986 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 986 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 989 | goto detected. | GJB 4.5.1.2 |
M | 992 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 992 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 995 | goto detected. | GJB 4.5.1.2 |
M | 998 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , * res , args [ cur_arg | GJB 4.6.1.8 |
M | 1001 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1002 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1003 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> cookie_maxlife = maxlife | GJB 4.6.1.9 |
M | 1006 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1008 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 1012 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1013 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1013 | Name reused in inner scope. : val | GJB 4.15.1.2,4.15.1.5 |
M | 1014 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1016 | Value is not of appropriate type. : (unsigned int and int): file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 1018 | goto detected. | GJB 4.5.1.2 |
M | 1020 | Value is not of appropriate type. : (unsigned int and int): val = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1022 | Use of banned function or variable. : iscntrl | GJB 4.7.1.4 |
M | 1022 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1022 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1022 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1026 | goto detected. | GJB 4.5.1.2 |
M | 1032 | Value is not of appropriate type. : (unsigned int and int): curproxy -> cookie_attrs = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1034 | Value is not of appropriate type. : (unsigned int and int): curproxy -> cookie_attrs , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1042 | goto detected. | GJB 4.5.1.2 |
M | 1065 | Expression needs brackets. | GJB 5.1.2 |
M | 1065 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1069 | goto detected. | GJB 4.5.1.2 |
M | 1073 | Expression needs brackets. | GJB 5.1.2 |
M | 1073 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1077 | goto detected. | GJB 4.5.1.2 |
M | 1079 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1083 | Expression needs brackets. | GJB 5.1.2 |
M | 1083 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1087 | goto detected. | GJB 4.5.1.2 |
M | 1089 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1093 | Expression needs brackets. | GJB 5.1.2 |
M | 1093 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1097 | goto detected. | GJB 4.5.1.2 |
M | 1099 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1108 | goto detected. | GJB 4.5.1.2 |
M | 1112 | Expression needs brackets. | GJB 5.1.2 |
M | 1112 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1116 | goto detected. | GJB 4.5.1.2 |
M | 1118 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1125 | goto detected. | GJB 4.5.1.2 |
M | 1131 | Expression needs brackets. | GJB 5.1.2 |
M | 1131 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1135 | goto detected. | GJB 4.5.1.2 |
M | 1141 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] | GJB 4.6.1.8 |
M | 1141 | Expression needs brackets. | GJB 5.1.2 |
M | 1141 | Type conversion without cast. : (signed char and char): * ( args [ 1 ] + 10 ) == '(' | GJB 4.6.1.9 |
M | 1142 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1144 | Value is not of appropriate type. : (char and signed char): beg = args [ 1 ] | GJB 4.6.1.8 |
M | 1148 | goto detected. | GJB 4.5.1.2 |
M | 1150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1154 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1157 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1161 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] | GJB 4.6.1.8 |
M | 1161 | Expression needs brackets. | GJB 5.1.2 |
M | 1161 | Type conversion without cast. : (signed char and char): * ( args [ 1 ] + 10 ) == '\0' | GJB 4.6.1.9 |
M | 1162 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1164 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> rdp_cookie_len = strlen | GJB 4.6.1.9 |
M | 1164 | Value is not of appropriate type. : (int and char): curproxy -> rdp_cookie_len = strlen ( curproxy -> rdp_cookie_name | GJB 4.6.1.8 |
M | 1170 | goto detected. | GJB 4.5.1.2 |
M | 1177 | goto detected. | GJB 4.5.1.2 |
M | 1183 | goto detected. | GJB 4.5.1.2 |
M | 1201 | goto detected. | GJB 4.5.1.2 |
M | 1207 | Expression needs brackets. | GJB 5.1.2 |
M | 1207 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1211 | goto detected. | GJB 4.5.1.2 |
M | 1221 | Expression needs brackets. | GJB 5.1.2 |
M | 1221 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1225 | goto detected. | GJB 4.5.1.2 |
M | 1227 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1237 | goto detected. | GJB 4.5.1.2 |
M | 1241 | goto detected. | GJB 4.5.1.2 |
M | 1243 | Expression needs brackets. | GJB 5.1.2 |
M | 1243 | Value is not of appropriate type. : (char and signed char): * ( args [ 4 ] ) == 0 | GJB 4.6.1.8 |
M | 1247 | goto detected. | GJB 4.5.1.2 |
M | 1249 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1251 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> capture_namelen = strlen | GJB 4.6.1.9 |
M | 1251 | Value is not of appropriate type. : (int and char): curproxy -> capture_namelen = strlen ( curproxy -> capture_name | GJB 4.6.1.8 |
M | 1252 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1261 | goto detected. | GJB 4.5.1.2 |
M | 1265 | goto detected. | GJB 4.5.1.2 |
M | 1267 | Expression needs brackets. | GJB 5.1.2 |
M | 1267 | Value is not of appropriate type. : (char and signed char): * ( args [ 3 ] ) == 0 | GJB 4.6.1.8 |
M | 1267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1267 | Value is not of appropriate type. : (char and signed char): * ( args [ 5 ] ) == 0 | GJB 4.6.1.8 |
M | 1271 | goto detected. | GJB 4.5.1.2 |
M | 1274 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1277 | Signed/unsigned conversion without cast. : (int and unsigned int): hdr -> namelen = strlen | GJB 4.6.1.9 |
M | 1278 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1280 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1290 | goto detected. | GJB 4.5.1.2 |
M | 1294 | goto detected. | GJB 4.5.1.2 |
M | 1296 | Expression needs brackets. | GJB 5.1.2 |
M | 1296 | Value is not of appropriate type. : (char and signed char): * ( args [ 3 ] ) == 0 | GJB 4.6.1.8 |
M | 1296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1296 | Value is not of appropriate type. : (char and signed char): * ( args [ 5 ] ) == 0 | GJB 4.6.1.8 |
M | 1300 | goto detected. | GJB 4.5.1.2 |
M | 1302 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1305 | Signed/unsigned conversion without cast. : (int and unsigned int): hdr -> namelen = strlen | GJB 4.6.1.9 |
M | 1306 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1308 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1316 | goto detected. | GJB 4.5.1.2 |
M | 1324 | goto detected. | GJB 4.5.1.2 |
M | 1326 | Expression needs brackets. | GJB 5.1.2 |
M | 1326 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1330 | goto detected. | GJB 4.5.1.2 |
M | 1332 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1340 | goto detected. | GJB 4.5.1.2 |
M | 1343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1351 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1351 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1355 | goto detected. | GJB 4.5.1.2 |
M | 1371 | goto detected. | GJB 4.5.1.2 |
M | 1374 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1375 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1375 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1382 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1386 | goto detected. | GJB 4.5.1.2 |
M | 1401 | goto detected. | GJB 4.5.1.2 |
M | 1404 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1405 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1405 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1412 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1412 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1416 | goto detected. | GJB 4.5.1.2 |
M | 1434 | goto detected. | GJB 4.5.1.2 |
M | 1438 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1440 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> server_id_hdr_len = strlen | GJB 4.6.1.9 |
M | 1440 | Value is not of appropriate type. : (int and char): curproxy -> server_id_hdr_len = strlen ( curproxy -> server_id_hdr_name | GJB 4.6.1.8 |
M | 1447 | goto detected. | GJB 4.5.1.2 |
M | 1455 | goto detected. | GJB 4.5.1.2 |
M | 1458 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1458 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1458 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1458 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1462 | goto detected. | GJB 4.5.1.2 |
M | 1477 | goto detected. | GJB 4.5.1.2 |
M | 1483 | Expression needs brackets. | GJB 5.1.2 |
M | 1483 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1486 | goto detected. | GJB 4.5.1.2 |
M | 1489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1490 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1490 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1490 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1490 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1494 | goto detected. | GJB 4.5.1.2 |
M | 1503 | goto detected. | GJB 4.5.1.2 |
M | 1504 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1506 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1509 | goto detected. | GJB 4.5.1.2 |
M | 1515 | goto detected. | GJB 4.5.1.2 |
M | 1521 | goto detected. | GJB 4.5.1.2 |
M | 1532 | goto detected. | GJB 4.5.1.2 |
M | 1538 | Expression needs brackets. | GJB 5.1.2 |
M | 1538 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1541 | goto detected. | GJB 4.5.1.2 |
M | 1544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1548 | goto detected. | GJB 4.5.1.2 |
M | 1551 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1551 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1551 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1551 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1555 | goto detected. | GJB 4.5.1.2 |
M | 1560 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1576 | goto detected. | GJB 4.5.1.2 |
M | 1582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1586 | goto detected. | GJB 4.5.1.2 |
M | 1589 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1589 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1589 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1589 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1593 | goto detected. | GJB 4.5.1.2 |
M | 1601 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1618 | goto detected. | GJB 4.5.1.2 |
M | 1629 | goto detected. | GJB 4.5.1.2 |
M | 1632 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1637 | goto detected. | GJB 4.5.1.2 |
M | 1643 | goto detected. | GJB 4.5.1.2 |
M | 1662 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1668 | goto detected. | GJB 4.5.1.2 |
M | 1673 | goto detected. | GJB 4.5.1.2 |
M | 1677 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1678 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1682 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1686 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1690 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1697 | goto detected. | GJB 4.5.1.2 |
M | 1700 | Value is not of appropriate type. : (unsigned int and int): * ( args [ myidx | GJB 4.6.1.8 |
M | 1700 | Expression needs brackets. | GJB 5.1.2 |
M | 1700 | Value is not of appropriate type. : (char and signed char): * ( args [ myidx ] ) == 0 | GJB 4.6.1.8 |
M | 1703 | goto detected. | GJB 4.5.1.2 |
M | 1711 | goto detected. | GJB 4.5.1.2 |
M | 1719 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1720 | goto detected. | GJB 4.5.1.2 |
M | 1727 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1728 | goto detected. | GJB 4.5.1.2 |
M | 1735 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1737 | Value is not of appropriate type. : (unsigned int and int): name = args [ myidx ++ | GJB 4.6.1.8 |
M | 1740 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1740 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1740 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1740 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ myidx | GJB 4.6.1.8 |
M | 1741 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1741 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1741 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1741 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1745 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1746 | goto detected. | GJB 4.5.1.2 |
M | 1749 | Value is not of appropriate type. : (unsigned int and int): * ( args [ myidx | GJB 4.6.1.8 |
M | 1751 | Value is not of appropriate type. : (unsigned int and int): myidx | GJB 4.6.1.8 |
M | 1753 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1754 | goto detected. | GJB 4.5.1.2 |
M | 1755 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1761 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1777 | goto detected. | GJB 4.5.1.2 |
M | 1784 | goto detected. | GJB 4.5.1.2 |
M | 1790 | goto detected. | GJB 4.5.1.2 |
M | 1793 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1793 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1797 | goto detected. | GJB 4.5.1.2 |
M | 1799 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1799 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1799 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1799 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1803 | goto detected. | GJB 4.5.1.2 |
M | 1810 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1815 | Expression needs brackets. | GJB 5.1.2 |
M | 1815 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 1818 | goto detected. | GJB 4.5.1.2 |
M | 1822 | goto detected. | GJB 4.5.1.2 |
M | 1823 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1825 | Expression needs brackets. | GJB 5.1.2 |
M | 1825 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 1828 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1832 | goto detected. | GJB 4.5.1.2 |
M | 1833 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1842 | goto detected. | GJB 4.5.1.2 |
M | 1848 | goto detected. | GJB 4.5.1.2 |
M | 1854 | goto detected. | GJB 4.5.1.2 |
M | 1858 | goto detected. | GJB 4.5.1.2 |
M | 1859 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1866 | goto detected. | GJB 4.5.1.2 |
M | 1872 | goto detected. | GJB 4.5.1.2 |
M | 1875 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1882 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1882 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1886 | goto detected. | GJB 4.5.1.2 |
M | 1895 | Expression needs brackets. | GJB 5.1.2 |
M | 1895 | Value is not of appropriate type. : (char and signed char): ] ) == 0 | GJB 4.6.1.8 |
M | 1898 | goto detected. | GJB 4.5.1.2 |
M | 1902 | goto detected. | GJB 4.5.1.2 |
M | 1903 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1905 | Expression needs brackets. | GJB 5.1.2 |
M | 1905 | Value is not of appropriate type. : (char and signed char): ] ) == 0 | GJB 4.6.1.8 |
M | 1908 | goto detected. | GJB 4.5.1.2 |
M | 1912 | goto detected. | GJB 4.5.1.2 |
M | 1913 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1918 | goto detected. | GJB 4.5.1.2 |
M | 1924 | goto detected. | GJB 4.5.1.2 |
M | 1930 | goto detected. | GJB 4.5.1.2 |
M | 1936 | goto detected. | GJB 4.5.1.2 |
M | 1941 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1942 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1942 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1944 | Value is not of appropriate type. : (unsigned int and int): args [ 2 ] [ i | GJB 4.6.1.8 |
M | 1945 | Value is not of appropriate type. : (unsigned int and int): c = args [ 2 ] [ i | GJB 4.6.1.8 |
M | 1946 | Use of banned function or variable. : isupper | GJB 4.7.1.4 |
M | 1946 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 1946 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1946 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1946 | Use of banned function or variable. : islower | GJB 4.7.1.4 |
M | 1946 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 1946 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1947 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1947 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 1947 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1947 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1947 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1947 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1951 | Value is not of appropriate type. : (unsigned int and int): args [ 2 ] [ i | GJB 4.6.1.8 |
M | 1956 | goto detected. | GJB 4.5.1.2 |
M | 1963 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1966 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1969 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1970 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1970 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 1972 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 1973 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1973 | Signed/unsigned conversion without cast. : (int and unsigned int): len += strlen | GJB 4.6.1.9 |
M | 1973 | Value is not of appropriate type. : (unsigned int and int): len += strlen ( args [ i | GJB 4.6.1.8 |
M | 1973 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1975 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1975 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1975 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1977 | Expression needs brackets. | GJB 5.1.2 |
M | 1978 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 1979 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1979 | Expression needs brackets. | GJB 5.1.2 |
M | 1979 | Value is not of appropriate type. : (unsigned int and int): , args [ i | GJB 4.6.1.8 |
M | 1982 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1982 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1987 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1987 | free used on string. | GJB 5.1.19 |
M | 1990 | goto detected. | GJB 4.5.1.2 |
M | 1992 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1992 | free used on string. | GJB 5.1.19 |
M | 1999 | goto detected. | GJB 4.5.1.2 |
M | 2005 | Expression needs brackets. | GJB 5.1.2 |
M | 2009 | goto detected. | GJB 4.5.1.2 |
M | 2012 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2013 | Value is not of appropriate type. : (unsigned int and int): optnum | GJB 4.6.1.8 |
M | 2014 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2016 | Value is not of appropriate type. : (unsigned int and int): [ optnum | GJB 4.6.1.8 |
M | 2018 | goto detected. | GJB 4.5.1.2 |
M | 2021 | goto detected. | GJB 4.5.1.2 |
M | 2023 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2025 | goto detected. | GJB 4.5.1.2 |
M | 2028 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2029 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2033 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2036 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 2031 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2042 | goto detected. | GJB 4.5.1.2 |
M | 2046 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2047 | Value is not of appropriate type. : (unsigned int and int): optnum | GJB 4.6.1.8 |
M | 2048 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2050 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2052 | goto detected. | GJB 4.5.1.2 |
M | 2055 | goto detected. | GJB 4.5.1.2 |
M | 2056 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2058 | goto detected. | GJB 4.5.1.2 |
M | 2062 | Value is not of appropriate type. : (unsigned int and int): strcmp ( cfg_opts2 [ optnum | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2065 | Value is not of appropriate type. : (unsigned int and int): | GJB 4.6.1.8 |
M | 2069 | goto detected. | GJB 4.5.1.2 |
M | 2072 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2073 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2077 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2080 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 2075 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2085 | goto detected. | GJB 4.5.1.2 |
M | 2094 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2094 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2102 | goto detected. | GJB 4.5.1.2 |
M | 2106 | goto detected. | GJB 4.5.1.2 |
M | 2111 | goto detected. | GJB 4.5.1.2 |
M | 2112 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2116 | goto detected. | GJB 4.5.1.2 |
M | 2120 | goto detected. | GJB 4.5.1.2 |
M | 2125 | goto detected. | GJB 4.5.1.2 |
M | 2126 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2130 | goto detected. | GJB 4.5.1.2 |
M | 2134 | goto detected. | GJB 4.5.1.2 |
M | 2139 | goto detected. | GJB 4.5.1.2 |
M | 2140 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2146 | goto detected. | GJB 4.5.1.2 |
M | 2147 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2156 | goto detected. | GJB 4.5.1.2 |
M | 2167 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2162 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2177 | goto detected. | GJB 4.5.1.2 |
M | 2184 | goto detected. | GJB 4.5.1.2 |
M | 2188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2191 | Expression needs brackets. | GJB 5.1.2 |
M | 2198 | goto detected. | GJB 4.5.1.2 |
M | 2201 | goto detected. | GJB 4.5.1.2 |
M | 2203 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2212 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2218 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2220 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2220 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2224 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2228 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2235 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2248 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2250 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2254 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2259 | goto detected. | GJB 4.5.1.2 |
M | 2261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2273 | goto detected. | GJB 4.5.1.2 |
M | 2283 | goto detected. | GJB 4.5.1.2 |
M | 2288 | goto detected. | GJB 4.5.1.2 |
M | 2293 | goto detected. | GJB 4.5.1.2 |
M | 2298 | goto detected. | GJB 4.5.1.2 |
M | 2303 | goto detected. | GJB 4.5.1.2 |
M | 2308 | goto detected. | GJB 4.5.1.2 |
M | 2313 | goto detected. | GJB 4.5.1.2 |
M | 2318 | goto detected. | GJB 4.5.1.2 |
M | 2323 | goto detected. | GJB 4.5.1.2 |
M | 2328 | goto detected. | GJB 4.5.1.2 |
M | 2339 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2341 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> fwdfor_hdr_len = strlen | GJB 4.6.1.9 |
M | 2341 | Value is not of appropriate type. : (int and char): DEF_XFORWARDFOR_HDR | GJB 4.6.1.8 |
M | 2345 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2346 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2348 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2348 | Value is not of appropriate type. : (unsigned int and int): ! str2net ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2350 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 2352 | goto detected. | GJB 4.5.1.2 |
M | 2357 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2359 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2359 | Expression needs brackets. | GJB 5.1.2 |
M | 2359 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg + 1 ] ) == 0 | GJB 4.6.1.8 |
M | 2361 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 2363 | goto detected. | GJB 4.5.1.2 |
M | 2365 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2366 | Value is not of appropriate type. : (unsigned int and int): cur_arg + 1 | GJB 4.6.1.8 |
M | 2367 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> fwdfor_hdr_len = strlen | GJB 4.6.1.9 |
M | 2367 | Value is not of appropriate type. : (int and char): fwdfor_hdr_name | GJB 4.6.1.8 |
M | 2369 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2377 | goto detected. | GJB 4.5.1.2 |
M | 2390 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2392 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> orgto_hdr_len = strlen | GJB 4.6.1.9 |
M | 2392 | Value is not of appropriate type. : (int and char): DEF_XORIGINALTO_HDR | GJB 4.6.1.8 |
M | 2396 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2397 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2399 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2399 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2399 | Value is not of appropriate type. : (unsigned int and int): ! str2net ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2401 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 2403 | goto detected. | GJB 4.5.1.2 |
M | 2408 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2410 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2410 | Expression needs brackets. | GJB 5.1.2 |
M | 2410 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg + 1 ] ) == 0 | GJB 4.6.1.8 |
M | 2411 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2414 | goto detected. | GJB 4.5.1.2 |
M | 2416 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2417 | Value is not of appropriate type. : (unsigned int and int): 1 | GJB 4.6.1.8 |
M | 2418 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> orgto_hdr_len = strlen | GJB 4.6.1.9 |
M | 2418 | Value is not of appropriate type. : (int and char): orgto_hdr_name | GJB 4.6.1.8 |
M | 2425 | goto detected. | GJB 4.5.1.2 |
M | 2432 | goto detected. | GJB 4.5.1.2 |
M | 2434 | goto detected. | GJB 4.5.1.2 |
M | 2440 | Expression needs brackets. | GJB 5.1.2 |
M | 2440 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 2443 | goto detected. | GJB 4.5.1.2 |
M | 2445 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2449 | goto detected. | GJB 4.5.1.2 |
M | 2451 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2451 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2455 | goto detected. | GJB 4.5.1.2 |
M | 2466 | goto detected. | GJB 4.5.1.2 |
M | 2473 | goto detected. | GJB 4.5.1.2 |
M | 2479 | goto detected. | GJB 4.5.1.2 |
M | 2486 | goto detected. | GJB 4.5.1.2 |
M | 2491 | goto detected. | GJB 4.5.1.2 |
M | 2498 | goto detected. | GJB 4.5.1.2 |
M | 2506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2510 | goto detected. | GJB 4.5.1.2 |
M | 2514 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2514 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2514 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2518 | goto detected. | GJB 4.5.1.2 |
M | 2525 | goto detected. | GJB 4.5.1.2 |
M | 2540 | Expression needs brackets. | GJB 5.1.2 |
M | 2540 | Value is not of appropriate type. : (char and signed char): == 0 | GJB 4.6.1.8 |
M | 2543 | goto detected. | GJB 4.5.1.2 |
M | 2545 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2547 | goto detected. | GJB 4.5.1.2 |
M | 2553 | Expression needs brackets. | GJB 5.1.2 |
M | 2553 | Value is not of appropriate type. : (char and signed char): ] ) == 0 | GJB 4.6.1.8 |
M | 2556 | goto detected. | GJB 4.5.1.2 |
M | 2558 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2560 | goto detected. | GJB 4.5.1.2 |
M | 2566 | Expression needs brackets. | GJB 5.1.2 |
M | 2566 | Value is not of appropriate type. : (char and signed char): ] ) == 0 | GJB 4.6.1.8 |
M | 2569 | goto detected. | GJB 4.5.1.2 |
M | 2571 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2573 | goto detected. | GJB 4.5.1.2 |
M | 2576 | Expression needs brackets. | GJB 5.1.2 |
M | 2576 | Value is not of appropriate type. : (char and signed char): == 0 | GJB 4.6.1.8 |
M | 2579 | goto detected. | GJB 4.5.1.2 |
M | 2586 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2592 | goto detected. | GJB 4.5.1.2 |
M | 2598 | goto detected. | GJB 4.5.1.2 |
M | 2599 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2600 | Signed/unsigned conversion without cast. : (int and unsigned int): grace = val | GJB 4.6.1.9 |
M | 2602 | goto detected. | GJB 4.5.1.2 |
M | 2614 | goto detected. | GJB 4.5.1.2 |
M | 2617 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2625 | goto detected. | GJB 4.5.1.2 |
M | 2629 | goto detected. | GJB 4.5.1.2 |
M | 2638 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2638 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2641 | goto detected. | GJB 4.5.1.2 |
M | 2665 | goto detected. | GJB 4.5.1.2 |
M | 2670 | goto detected. | GJB 4.5.1.2 |
M | 2698 | goto detected. | GJB 4.5.1.2 |
M | 2708 | goto detected. | GJB 4.5.1.2 |
M | 2709 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2713 | Expression needs brackets. | GJB 5.1.2 |
M | 2713 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 2716 | goto detected. | GJB 4.5.1.2 |
M | 2718 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2722 | goto detected. | GJB 4.5.1.2 |
M | 2729 | goto detected. | GJB 4.5.1.2 |
M | 2734 | goto detected. | GJB 4.5.1.2 |
M | 2736 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2739 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2745 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2749 | goto detected. | GJB 4.5.1.2 |
M | 2755 | goto detected. | GJB 4.5.1.2 |
M | 2766 | goto detected. | GJB 4.5.1.2 |
M | 2771 | goto detected. | GJB 4.5.1.2 |
M | 2773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2781 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2785 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2786 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2786 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2787 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2787 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2791 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2798 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2808 | goto detected. | GJB 4.5.1.2 |
M | 2813 | goto detected. | GJB 4.5.1.2 |
M | 2816 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2820 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2827 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2834 | Expression needs brackets. | GJB 5.1.2 |
M | 2834 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 2837 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2845 | goto detected. | GJB 4.5.1.2 |
M | 2852 | goto detected. | GJB 4.5.1.2 |
M | 2867 | goto detected. | GJB 4.5.1.2 |
M | 2872 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2882 | goto detected. | GJB 4.5.1.2 |
M | 2889 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2890 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2964 | goto detected. | GJB 4.5.1.2 |
M | 2970 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2984 | Value is not of appropriate type. : (unsigned int and int): linenum , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2986 | goto detected. | GJB 4.5.1.2 |
M | 2994 | goto detected. | GJB 4.5.1.2 |
M | 3001 | goto detected. | GJB 4.5.1.2 |
M | 3003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3008 | goto detected. | GJB 4.5.1.2 |
M | 3014 | goto detected. | GJB 4.5.1.2 |
M | 3020 | goto detected. | GJB 4.5.1.2 |
M | 3025 | goto detected. | GJB 4.5.1.2 |
M | 3031 | goto detected. | GJB 4.5.1.2 |
M | 3037 | goto detected. | GJB 4.5.1.2 |
M | 3043 | goto detected. | GJB 4.5.1.2 |
M | 3049 | goto detected. | GJB 4.5.1.2 |
M | 3055 | goto detected. | GJB 4.5.1.2 |
M | 3060 | goto detected. | GJB 4.5.1.2 |
M | 3066 | goto detected. | GJB 4.5.1.2 |
M | 3072 | goto detected. | GJB 4.5.1.2 |
M | 3078 | goto detected. | GJB 4.5.1.2 |
M | 3080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3084 | goto detected. | GJB 4.5.1.2 |
M | 3090 | goto detected. | GJB 4.5.1.2 |
M | 3096 | goto detected. | GJB 4.5.1.2 |
M | 3102 | goto detected. | GJB 4.5.1.2 |
M | 3108 | goto detected. | GJB 4.5.1.2 |
M | 3114 | goto detected. | GJB 4.5.1.2 |
M | 3120 | goto detected. | GJB 4.5.1.2 |
M | 3127 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 3128 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 3130 | Value is not of appropriate type. : (unsigned int and int): strcmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 3132 | Value is not of appropriate type. : (unsigned int and int): rc = kwl -> kw [ index | GJB 4.6.1.8 |
M | 3136 | goto detected. | GJB 4.5.1.2 |
M | 3141 | goto detected. | GJB 4.5.1.2 |
M | 3142 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3143 | goto detected. | GJB 4.5.1.2 |
M | 3150 | goto detected. | GJB 4.5.1.2 |
M | 3152 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3153 | free used on string. | GJB 5.1.19 |
M | 426 | Memory not freed after last reference. : node | GJB 5.1.17 |
M | 518 | Attempt to read from freed memory. : defproxy | GJB 5.1.16 |
M | 525 | Attempt to read from freed memory. : defproxy | GJB 5.1.16 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 936 | Memory not freed after last reference. : new_ptr | GJB 5.1.17 |
M | 1283 | Memory not freed after last reference. : hdr | GJB 5.1.17 |
M | 1311 | Memory not freed after last reference. : hdr | GJB 5.1.17 |
M | 1568 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 1814 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 3155 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 2261 | Attempt to read from freed memory. : curproxy | GJB 5.1.16 |
M | 1008 | Attempt to read from freed memory. : curproxy | GJB 5.1.16 |
M | 776 | Memory not freed after last reference. : d | GJB 5.1.17 |
M | 1525 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 1610 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 1771 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 1994 | Memory not freed after last reference. : desc | GJB 5.1.17 |
M | 1980 | Memory not freed after last reference. : d | GJB 5.1.17 |
M | 1835 | Procedure contains UR data flow anomalies. : interval | GJB 4.13.1.4 |
M | 3123 | Procedure contains UR data flow anomalies. : kwl | GJB 4.13.1.4 |
M | 940 | Procedure contains UR data flow anomalies. : maxidle | GJB 4.13.1.4 |
M | 973 | Procedure contains UR data flow anomalies. : maxlife | GJB 4.13.1.4 |
M | 2609 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 2857 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 2609 | Procedure contains UR data flow anomalies. : port2 | GJB 4.13.1.4 |
M | 2857 | Procedure contains UR data flow anomalies. : port2 | GJB 4.13.1.4 |
M | 174 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_load_global_issuers_from_path (44 to 119 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 45 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 46 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 50 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 50 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 52 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 59 | Value is not of appropriate type. : (char and signed char): * path == 0 | GJB 4.6.1.8 |
M | 59 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 59 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 66 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Expression needs brackets. | GJB 5.1.2 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 72 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 74 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 76 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 84 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 84 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 84 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 88 | Value is not of appropriate type. : (unsigned int and int): de_list [ i | GJB 4.6.1.8 |
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 93 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 95 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 95 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 96 | goto detected. | GJB 4.5.1.2 |
M | 99 | goto detected. | GJB 4.5.1.2 |
M | 103 | goto detected. | GJB 4.5.1.2 |
M | 105 | goto detected. | GJB 4.5.1.2 |
M | 109 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 109 | free used on string. | GJB 5.1.19 |
M | 116 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 44 | Static procedure is not explicitly called in code analysed. : ssl_load_global_issuers_from_path | GJB 4.7.1.3 |
M | 115 | Memory not freed after last reference. : warn |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_ssl_async (124 to 136 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 124 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 125 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 126 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 124 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_ssl_async | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_ssl_engine (142 to 179 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 173 | Pointer not checked for null before use. : algo | GJB 5.1.15 |
M | 142 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 143 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | Expression needs brackets. | GJB 5.1.2 |
M | 149 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 154 | Expression needs brackets. | GJB 5.1.2 |
M | 154 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 157 | goto detected. | GJB 4.5.1.2 |
M | 166 | Expression needs brackets. | GJB 5.1.2 |
M | 166 | Value is not of appropriate type. : (char and signed char): * ( args [ 3 ] ) == 0 | GJB 4.6.1.8 |
M | 177 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 177 | free used on string. | GJB 5.1.19 |
M | 142 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_ssl_engine | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_ciphers (185 to 204 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 202 | Pointer not checked for null before use. : target | GJB 5.1.15 |
M | 185 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 186 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 187 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 189 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 196 | Expression needs brackets. | GJB 5.1.2 |
M | 196 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 201 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 201 | free used on string. | GJB 5.1.19 |
M | 202 | Modification of string literal. : target | GJB 5.1.19 |
M | 185 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_ciphers | GJB 4.7.1.3 |
M | 202 | Attempt to read from freed memory. : target | GJB 5.1.16 |
M | 204 | Memory not freed after last reference. : target |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_int (260 to 295 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 261 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 262 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 269 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 284 | Expression needs brackets. | GJB 5.1.2 |
M | 284 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 289 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_capture_cipherlist (297 to 318 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 297 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 312 | Use of sizeof on a type. | GJB 5.1.8 |
M | 312 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 297 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_capture_cipherlist | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_private_cache (361 to 370 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 362 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 361 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_private_cache | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_lifetime (375 to 405 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 375 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 376 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 377 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 379 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 384 | Expression needs brackets. | GJB 5.1.2 |
M | 384 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 403 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 375 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_lifetime | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_dh_param_file (411 to 428 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 411 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 412 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 418 | Expression needs brackets. | GJB 5.1.2 |
M | 418 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 411 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_dh_param_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_default_dh (433 to 451 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 433 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 434 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 440 | Expression needs brackets. | GJB 5.1.2 |
M | 440 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 445 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 433 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_default_dh | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_extra_files (459 to 518 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 459 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 460 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 463 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 466 | Expression needs brackets. | GJB 5.1.2 |
M | 466 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 467 | goto detected. | GJB 4.5.1.2 |
M | 469 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 471 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "bundle" , args [ i | GJB 4.6.1.8 |
M | 474 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "sctl" , args [ i | GJB 4.6.1.8 |
M | 477 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "ocsp" , args [ i | GJB 4.6.1.8 |
M | 480 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "issuer" , args [ i | GJB 4.6.1.8 |
M | 483 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "key" , args [ i | GJB 4.6.1.8 |
M | 486 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "none" , args [ i | GJB 4.6.1.8 |
M | 488 | goto detected. | GJB 4.5.1.2 |
M | 493 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "all" , args [ i | GJB 4.6.1.8 |
M | 495 | goto detected. | GJB 4.5.1.2 |
M | 500 | goto detected. | GJB 4.5.1.2 |
M | 504 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 505 | goto detected. | GJB 4.5.1.2 |
M | 459 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_extra_files | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_extra_noext (522 to 528 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 522 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 524 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 522 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_extra_noext | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_ca_file_common (533 to 550 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 533 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 533 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 533 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 535 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 536 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing CAfile path" , args [ cur_arg | GJB 4.6.1.8 |
M | 540 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 541 | Value is not of appropriate type. : (unsigned int and int): memprintf ( ca_file_p , "%s/%s" , global_ssl.ca_base , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 543 | Value is not of appropriate type. : (unsigned int and int): memprintf ( ca_file_p , "%s" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 546 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unable to load %s" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_ca_file (553 to 556 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 553 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 553 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 555 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ca_file (557 to 560 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 557 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 557 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 557 | Static procedure is not explicitly called in code analysed. : bind_parse_ca_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_ca_verify_file (563 to 566 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 565 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ca_verify_file (567 to 570 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 567 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 567 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 567 | Static procedure is not explicitly called in code analysed. : bind_parse_ca_verify_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ca_sign_file (573 to 586 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 573 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 573 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 575 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 576 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing CAfile path" , args [ cur_arg | GJB 4.6.1.8 |
M | 580 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 581 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & conf -> ca_sign_file , "%s/%s" , global_ssl.ca_base , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 583 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & conf -> ca_sign_file , "%s" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 573 | Static procedure is not explicitly called in code analysed. : bind_parse_ca_sign_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ca_sign_pass (589 to 597 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 589 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 589 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 591 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 592 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing CAkey password" , args [ cur_arg | GJB 4.6.1.8 |
M | 595 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & conf -> ca_sign_pass , "%s" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 589 | Static procedure is not explicitly called in code analysed. : bind_parse_ca_sign_pass | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_ciphers (600 to 610 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 600 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 600 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 602 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 603 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing cipher suite" , args [ cur_arg | GJB 4.6.1.8 |
M | 607 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 608 | Value is not of appropriate type. : (unsigned int and int): conf -> ciphers = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 608 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ciphers (611 to 614 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 611 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 611 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 611 | Static procedure is not explicitly called in code analysed. : bind_parse_ciphers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_crt (636 to 655 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 636 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 636 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 638 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 640 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 641 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing certificate location" , args [ cur_arg | GJB 4.6.1.8 |
M | 645 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 646 | Value is not of appropriate type. : (int and char): ( strlen ( global_ssl.crt_base | GJB 4.6.1.8 |
M | 646 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 646 | Value is not of appropriate type. : (unsigned int and int): ( strlen ( global_ssl.crt_base ) + 1 + strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 647 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : path too long" , args [ cur_arg | GJB 4.6.1.8 |
M | 650 | Value is not of appropriate type. : (unsigned int and int): snprintf ( path , sizeof ( path ) , "%s/%s" , global_ssl.crt_base , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 654 | Value is not of appropriate type. : (unsigned int and int): ssl_sock_load_cert ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 636 | Static procedure is not explicitly called in code analysed. : bind_parse_crt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_crt_list (658 to 672 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 662 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 663 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing certificate location" , args [ cur_arg | GJB 4.6.1.8 |
M | 667 | Value is not of appropriate type. : (unsigned int and int): err_code = ssl_sock_load_cert_list_file ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 669 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : %s" , args [ cur_arg | GJB 4.6.1.8 |
M | 658 | Static procedure is not explicitly called in code analysed. : bind_parse_crt_list | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_crl_file (675 to 697 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 675 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 675 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 678 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : library does not support CRL verify" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_crl_file (698 to 701 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 698 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 698 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 698 | Static procedure is not explicitly called in code analysed. : bind_parse_crl_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_curves (704 to 717 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 704 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 704 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 714 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : library does not support curve suite" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_curves (718 to 721 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 718 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 718 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 718 | Static procedure is not explicitly called in code analysed. : bind_parse_curves | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_ecdhe (724 to 742 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 724 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 724 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 727 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : library does not support elliptic curve Diffie-Hellman (too old)" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ecdhe (743 to 746 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 743 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 743 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 743 | Static procedure is not explicitly called in code analysed. : bind_parse_ecdhe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ignore_err (749 to 782 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 749 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 749 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 752 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 752 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 756 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing error IDs list" , args [ cur_arg | GJB 4.6.1.8 |
M | 760 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 769 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 771 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : ID '%d' out of range (1..63) in error IDs list '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 771 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : ID '%d' out of range (1..63) in error IDs list '%s'" , args [ cur_arg ] , code , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 775 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 775 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 749 | Static procedure is not explicitly called in code analysed. : bind_parse_ignore_err | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tls_method_options (785 to 815 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 793 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 785 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 785 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 787 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 788 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 788 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 791 | goto detected. | GJB 4.5.1.2 |
M | 804 | goto detected. | GJB 4.5.1.2 |
M | 808 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 810 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_tls_method_options (817 to 820 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 817 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 817 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 819 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 817 | Static procedure is not explicitly called in code analysed. : bind_parse_tls_method_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_tls_method_options (822 to 825 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 822 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 822 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 822 | Static procedure is not explicitly called in code analysed. : srv_parse_tls_method_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tls_method_minmax (828 to 852 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 828 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 828 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 830 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 831 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 831 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 833 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing the ssl/tls version" , args [ cur_arg | GJB 4.6.1.8 |
M | 837 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 840 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown ssl/tls version" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 843 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "ssl-min-ver" , args [ cur_arg | GJB 4.6.1.8 |
M | 845 | Value is not of appropriate type. : (unsigned int and int): strcmp ( "ssl-max-ver" , args [ cur_arg | GJB 4.6.1.8 |
M | 848 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : option not implemented" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_tls_method_minmax (854 to 869 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 854 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 854 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 854 | Static procedure is not explicitly called in code analysed. : ssl_bind_parse_tls_method_minmax | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_tls_method_minmax (870 to 873 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 870 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 870 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 870 | Static procedure is not explicitly called in code analysed. : bind_parse_tls_method_minmax | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_tls_method_minmax (875 to 878 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 875 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 875 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 875 | Static procedure is not explicitly called in code analysed. : srv_parse_tls_method_minmax | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_no_tls_tickets (881 to 885 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 881 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 881 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 881 | Static procedure is not explicitly called in code analysed. : bind_parse_no_tls_tickets | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_allow_0rtt (888 to 892 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 888 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 888 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 888 | Static procedure is not explicitly called in code analysed. : ssl_bind_parse_allow_0rtt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_allow_0rtt (894 to 898 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 894 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 894 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 894 | Static procedure is not explicitly called in code analysed. : bind_parse_allow_0rtt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_npn (901 to 948 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 901 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 901 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 945 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : library does not support TLS NPN extension" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_npn (950 to 953 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 950 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 950 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 950 | Static procedure is not explicitly called in code analysed. : bind_parse_npn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_parse_alpn (957 to 1015 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 986 | Pointer not checked for null before use. : alpn | GJB 5.1.15 |
M | 957 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 957 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 957 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 959 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 967 | goto detected. | GJB 4.5.1.2 |
M | 974 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 974 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 975 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 978 | goto detected. | GJB 4.5.1.2 |
M | 986 | Expression needs brackets. | GJB 5.1.2 |
M | 988 | Value is not of appropriate type. : (signed char and char): p2 = p1 + 1 + strlen ( p1 + 1 | GJB 4.6.1.8 |
M | 990 | Expression needs brackets. | GJB 5.1.2 |
M | 993 | goto detected. | GJB 4.5.1.2 |
M | 1002 | Modification of string literal. : p2 | GJB 5.1.19 |
M | 1005 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1011 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1014 | goto detected. | GJB 4.5.1.2 |
M | 957 | Function has no return statement. : ssl_sock_parse_alpn | GJB 4.9.1.1 |
M | 1015 | Memory not freed after last reference. : alpn |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_alpn (1018 to 1033 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1018 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1018 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1030 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : library does not support TLS ALPN extension" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_alpn (1035 to 1038 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1035 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1035 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1035 | Static procedure is not explicitly called in code analysed. : bind_parse_alpn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_ssl (1041 to 1066 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1041 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1041 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1041 | Static procedure is not explicitly called in code analysed. : bind_parse_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_pcc (1069 to 1073 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1069 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1069 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1069 | Static procedure is not explicitly called in code analysed. : bind_parse_pcc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_generate_certs (1076 to 1085 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1076 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1076 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1082 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1076 | Static procedure is not explicitly called in code analysed. : bind_parse_generate_certs | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_strict_sni (1088 to 1092 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1088 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1088 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1088 | Static procedure is not explicitly called in code analysed. : bind_parse_strict_sni | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_tls_ticket_keys (1095 to 1203 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1095 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1095 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1200 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : TLS ticket callback extension not supported" , args [ cur_arg | GJB 4.6.1.8 |
M | 1095 | Static procedure is not explicitly called in code analysed. : bind_parse_tls_ticket_keys | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_verify (1206 to 1226 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1206 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1206 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1208 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1209 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing verify method" , args [ cur_arg | GJB 4.6.1.8 |
M | 1213 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1215 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1217 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1220 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown verify method '%s', only 'none', 'optional', and 'required' are supported\n" , args [ cur_arg | GJB 4.6.1.8 |
M | 1220 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown verify method '%s', only 'none', 'optional', and 'required' are supported\n" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_verify (1227 to 1230 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1227 | Static procedure is not explicitly called in code analysed. : bind_parse_verify | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_bind_parse_no_ca_names (1233 to 1237 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1233 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_no_ca_names (1238 to 1241 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1238 | Static procedure is not explicitly called in code analysed. : bind_parse_no_ca_names | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_npn (1246 to 1295 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1246 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1246 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1246 | Static procedure is not explicitly called in code analysed. : srv_parse_npn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_alpn (1298 to 1323 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1298 | Static procedure is not explicitly called in code analysed. : srv_parse_alpn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_ca_file (1326 to 1343 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1326 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1326 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1328 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1333 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1334 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1336 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1326 | Static procedure is not explicitly called in code analysed. : srv_parse_ca_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_sni (1346 to 1360 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1346 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1346 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1348 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1353 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1346 | Static procedure is not explicitly called in code analysed. : srv_parse_check_sni | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_init_srv (1363 to 1379 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1363 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_ssl (1382 to 1387 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1382 | Static procedure is not explicitly called in code analysed. : srv_parse_check_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_ciphers (1390 to 1400 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1392 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1397 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1398 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1390 | Static procedure is not explicitly called in code analysed. : srv_parse_ciphers | GJB 4.7.1.3 |
M | 1398 | Attempt to read from freed memory. : newsrv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_crl_file (1418 to 1440 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1418 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1418 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1418 | Static procedure is not explicitly called in code analysed. : srv_parse_crl_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_crt (1443 to 1456 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1443 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1443 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1445 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1450 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1451 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1453 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1443 | Static procedure is not explicitly called in code analysed. : srv_parse_crt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_check_ssl (1459 to 1466 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1459 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1459 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1462 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1459 | Static procedure is not explicitly called in code analysed. : srv_parse_no_check_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_send_proxy_ssl (1469 to 1474 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1469 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1469 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1469 | Static procedure is not explicitly called in code analysed. : srv_parse_no_send_proxy_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_send_proxy_cn (1477 to 1483 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1477 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1477 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1477 | Static procedure is not explicitly called in code analysed. : srv_parse_no_send_proxy_cn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_ssl (1486 to 1497 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1492 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1486 | Static procedure is not explicitly called in code analysed. : srv_parse_no_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_allow_0rtt (1500 to 1504 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1500 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1500 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1500 | Static procedure is not explicitly called in code analysed. : srv_parse_allow_0rtt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_ssl_reuse (1507 to 1511 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1507 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1507 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1507 | Static procedure is not explicitly called in code analysed. : srv_parse_no_ssl_reuse | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_tls_tickets (1514 to 1518 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1514 | Static procedure is not explicitly called in code analysed. : srv_parse_no_tls_tickets | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_send_proxy_ssl (1520 to 1525 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1520 | Static procedure is not explicitly called in code analysed. : srv_parse_send_proxy_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_send_proxy_cn (1528 to 1534 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1528 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1528 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1528 | Static procedure is not explicitly called in code analysed. : srv_parse_send_proxy_cn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_sni (1537 to 1556 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1537 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1537 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1537 | Static procedure is not explicitly called in code analysed. : srv_parse_sni | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_ssl (1559 to 1564 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1559 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1559 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1559 | Static procedure is not explicitly called in code analysed. : srv_parse_ssl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_ssl_reuse (1567 to 1571 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1567 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1567 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1567 | Static procedure is not explicitly called in code analysed. : srv_parse_ssl_reuse | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_tls_tickets (1574 to 1578 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1574 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1574 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1574 | Static procedure is not explicitly called in code analysed. : srv_parse_tls_tickets | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_verify (1581 to 1599 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1581 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1581 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1583 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1588 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1590 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1593 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1581 | Static procedure is not explicitly called in code analysed. : srv_parse_verify | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_verifyhost (1602 to 1613 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1604 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1609 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1610 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1602 | Static procedure is not explicitly called in code analysed. : srv_parse_verifyhost | GJB 4.7.1.3 |
M | 1610 | Attempt to read from freed memory. : newsrv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_default_bind_options (1616 to 1645 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1616 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1617 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1618 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1619 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1621 | Value is not of appropriate type. : (unsigned int and int): * ( args [ i | GJB 4.6.1.8 |
M | 1621 | Expression needs brackets. | GJB 5.1.2 |
M | 1621 | Value is not of appropriate type. : (char and signed char): * ( args [ i ] ) == 0 | GJB 4.6.1.8 |
M | 1625 | Value is not of appropriate type. : (unsigned int and int): * ( args [ i | GJB 4.6.1.8 |
M | 1626 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1627 | Bit operator with boolean operand. : |= used with bool: global_ssl.listen_default_ssloptions | GJB 4.6.1.17,4.6.1.18 |
M | 1627 | Bit operator with boolean operand. : |= used with bool: BC_SSL_O_NO_TLS_TICKETS | GJB 4.6.1.17,4.6.1.18 |
M | 1628 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1629 | Bit operator with boolean operand. : |= used with bool: global_ssl.listen_default_ssloptions | GJB 4.6.1.17,4.6.1.18 |
M | 1629 | Bit operator with boolean operand. : |= used with bool: BC_SSL_O_PREF_CLIE_CIPH | GJB 4.6.1.17,4.6.1.18 |
M | 1630 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1630 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1630 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1630 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1638 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 1639 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown option '%s' on global statement '%s'." , args [ i | GJB 4.6.1.8 |
M | 1641 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1616 | Static procedure is not explicitly called in code analysed. : ssl_parse_default_bind_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_default_server_options (1648 to 1675 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1648 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1649 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1650 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1651 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1653 | Value is not of appropriate type. : (unsigned int and int): * ( args [ i | GJB 4.6.1.8 |
M | 1653 | Expression needs brackets. | GJB 5.1.2 |
M | 1653 | Value is not of appropriate type. : (char and signed char): * ( args [ i ] ) == 0 | GJB 4.6.1.8 |
M | 1657 | Value is not of appropriate type. : (unsigned int and int): * ( args [ i | GJB 4.6.1.8 |
M | 1658 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1659 | Bit operator with boolean operand. : |= used with bool: global_ssl.connect_default_ssloptions | GJB 4.6.1.17,4.6.1.18 |
M | 1659 | Bit operator with boolean operand. : |= used with bool: SRV_SSL_O_NO_TLS_TICKETS | GJB 4.6.1.17,4.6.1.18 |
M | 1660 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1660 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1660 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1660 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 1668 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 1669 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown option '%s' on global statement '%s'." , args [ i | GJB 4.6.1.8 |
M | 1671 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1648 | Static procedure is not explicitly called in code analysed. : ssl_parse_default_server_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_global_ca_crt_base (1680 to 1702 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1680 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1681 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1684 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1696 | Expression needs brackets. | GJB 5.1.2 |
M | 1696 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1700 | Modification of string literal. : target | GJB 5.1.19 |
M | 1680 | Static procedure is not explicitly called in code analysed. : ssl_parse_global_ca_crt_base | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_parse_skip_self_issued_ca (1705 to 1716 cfgparse-ssl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1705 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1706 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1707 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1705 | Static procedure is not explicitly called in code analysed. : ssl_parse_skip_self_issued_ca | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_mode (42 to 54 cfgparse-unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 42 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 46 | Value is not of appropriate type. : (unsigned int and int): conf -> settings.ux.mode = strtol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 48 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 49 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing or invalid mode '%s' (octal integer expected)" , args [ cur_arg | GJB 4.6.1.8 |
M | 49 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing or invalid mode '%s' (octal integer expected)" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 42 | Static procedure is not explicitly called in code analysed. : bind_parse_mode | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_gid (57 to 66 cfgparse-unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 59 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 60 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 64 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 64 | Value is not of appropriate type. : (unsigned int and int): conf -> settings.ux.gid = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 57 | Static procedure is not explicitly called in code analysed. : bind_parse_gid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_group (69 to 86 cfgparse-unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | Pointer not checked for null before use. : group | GJB 5.1.15 |
M | 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 73 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 74 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing group name" , args [ cur_arg | GJB 4.6.1.8 |
M | 78 | Value is not of appropriate type. : (unsigned int and int): group = getgrnam ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 80 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown group name '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 80 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown group name '%s'" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 69 | Static procedure is not explicitly called in code analysed. : bind_parse_group | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_uid (89 to 98 cfgparse-unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 89 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 89 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 91 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 96 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 96 | Value is not of appropriate type. : (unsigned int and int): conf -> settings.ux.uid = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 89 | Static procedure is not explicitly called in code analysed. : bind_parse_uid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_user (101 to 118 cfgparse-unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 105 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 106 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing user name" , args [ cur_arg | GJB 4.6.1.8 |
M | 110 | Value is not of appropriate type. : (unsigned int and int): user = getpwnam ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 112 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown user name '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 112 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown user name '%s'" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 101 | Static procedure is not explicitly called in code analysed. : bind_parse_user | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2listener (113 to 160 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 116 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 119 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 125 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 127 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 127 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 128 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 136 | goto detected. | GJB 4.5.1.2 |
M | 152 | goto detected. | GJB 4.5.1.2 |
M | 155 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 155 | free used on string. | GJB 5.1.19 |
M | 157 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 158 | free used on string. | GJB 5.1.19 |
M | 117 | Procedure contains UR data flow anomalies. : end | GJB 4.13.1.4 |
M | 117 | Procedure contains UR data flow anomalies. : port | GJB 4.13.1.4 |
M | 115 | Procedure contains UR data flow anomalies. : proto |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2receiver (174 to 210 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 188 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 177 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 180 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 182 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 186 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 188 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 188 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 189 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 197 | goto detected. | GJB 4.5.1.2 |
M | 202 | goto detected. | GJB 4.5.1.2 |
M | 205 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 205 | free used on string. | GJB 5.1.19 |
M | 207 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 208 | free used on string. | GJB 5.1.19 |
M | 210 | Memory not freed after last reference. : (p)-> | GJB 5.1.17 |
M | 178 | Procedure contains UR data flow anomalies. : end | GJB 4.13.1.4 |
M | 178 | Procedure contains UR data flow anomalies. : port | GJB 4.13.1.4 |
M | 176 | Procedure contains UR data flow anomalies. : proto |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
too_many_args_idx (221 to 240 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 221 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 221 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 223 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 225 | Value is not of appropriate type. : (unsigned int and int): ! * args [ index + maxarg + 1 | GJB 4.6.1.8 |
M | 232 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 232 | Value is not of appropriate type. : (unsigned int and int): memprintf ( msg , "%s %s" , * msg , args [ i | GJB 4.6.1.8 |
M | 234 | Value is not of appropriate type. : (unsigned int and int): memprintf ( msg , "'%s' cannot handle unexpected argument '%s'." , * msg , args [ index + maxarg + 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
too_many_args (245 to 248 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 245 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 245 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alertif_too_many_args_idx (256 to 273 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 258 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 259 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 261 | Value is not of appropriate type. : (unsigned int and int): ! * args [ index + maxarg + 1 | GJB 4.6.1.8 |
M | 266 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & kw , "%s %s" , kw , args [ i | GJB 4.6.1.8 |
M | 269 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : '%s' cannot handle unexpected argument '%s'.\n" , file , linenum , kw , args [ index + maxarg + 1 | GJB 4.6.1.8 |
M | 270 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 270 | free used on string. | GJB 5.1.19 |
M | 273 | Memory not freed after last reference. : kw | GJB 5.1.17 |
M | 273 | Memory not freed after last reference. : (bind_conf)-> | GJB 5.1.17 |
M | 273 | Memory not freed after last reference. : (curproxy)-> | GJB 5.1.17 |
M | 273 | Memory not freed after last reference. : (curproxy)->(table)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alertif_too_many_args (278 to 281 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 278 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 278 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
warnif_cond_conflicts (289 to 317 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 289 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 292 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 304 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 310 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 292 | Procedure contains UR data flow anomalies. : kw |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_process_number (327 to 379 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 337 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 376 | Pointer not checked for null before use. : proc | GJB 5.1.15 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 340 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 342 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 344 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 344 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 350 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 353 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 356 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned int and int): low | GJB 4.6.1.9 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned int and int): low | GJB 4.6.1.9 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned int and int): low > max | GJB 4.6.1.9 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned int and int): high | GJB 4.6.1.9 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned int and int): high > max | GJB 4.6.1.9 |
M | 374 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 374 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 376 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_default_instance (425 to 465 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 425 | Empty parameter list to procedure/function. : init_default_instance | GJB 4.1.1.10 |
M | 457 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_peers_frontend (473 to 504 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 496 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 473 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 474 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 480 | goto detected. | GJB 4.5.1.2 |
M | 483 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 497 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 499 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 501 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 504 | Memory not freed after last reference. : p |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_conf_uniq_alloc (509 to 530 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 517 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 521 | Pointer not checked for null before use. : (bind_conf)->file | GJB 5.1.15 |
M | 509 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 510 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 511 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 516 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 517 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 517 | free used on string. | GJB 5.1.19 |
M | 521 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 521 | free used on string. | GJB 5.1.19 |
M | 529 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_peers_add_peer (537 to 567 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 538 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 543 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 566 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_peers (579 to 935 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 598 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 603 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 626 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 642 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 688 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 695 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 771 | Pointer not checked for null before use. : newpeer | GJB 5.1.15 |
M | 809 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 810 | Pointer not checked for null before use. : (p)->id | GJB 5.1.15 |
M | 850 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 863 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 648 | Pointer not checked for null before use. : newpeer | GJB 5.1.15 |
M | 849 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 625 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 909 | Pointer not checked for null before use. : id | GJB 5.1.15 |
M | 579 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 579 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 583 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 587 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 590 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 590 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 593 | Name reused in inner scope. : bind_conf | GJB 4.15.1.2,4.15.1.5 |
M | 600 | goto detected. | GJB 4.5.1.2 |
M | 606 | Name reused in inner scope. : l | GJB 4.15.1.2,4.15.1.5 |
M | 611 | goto detected. | GJB 4.5.1.2 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 623 | goto detected. | GJB 4.5.1.2 |
M | 645 | goto detected. | GJB 4.5.1.2 |
M | 653 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 653 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 653 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 653 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 653 | Value is not of appropriate type. : (unsigned int and int): kw = bind_find_kw ( args [ cur_arg | GJB 4.6.1.8 |
M | 659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: error encountered while processing '%s'\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 671 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 671 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] != 0 | GJB 4.6.1.8 |
M | 672 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 679 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : unknown keyword '%s' in '%s' section.%s%s\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 682 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 682 | free used on string. | GJB 5.1.19 |
M | 684 | goto detected. | GJB 4.5.1.2 |
M | 690 | goto detected. | GJB 4.5.1.2 |
M | 697 | goto detected. | GJB 4.5.1.2 |
M | 702 | goto detected. | GJB 4.5.1.2 |
M | 707 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 711 | goto detected. | GJB 4.5.1.2 |
M | 715 | goto detected. | GJB 4.5.1.2 |
M | 722 | goto detected. | GJB 4.5.1.2 |
M | 737 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 737 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 737 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 740 | goto detected. | GJB 4.5.1.2 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 752 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 753 | Name reused in inner scope. : peer | GJB 4.15.1.2,4.15.1.5 |
M | 755 | Type conversion without cast. : (int and char): peer = *args | GJB 4.6.1.9 |
M | 762 | goto detected. | GJB 4.5.1.2 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 779 | goto detected. | GJB 4.5.1.2 |
M | 784 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 794 | goto detected. | GJB 4.5.1.2 |
M | 801 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 809 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 810 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 812 | goto detected. | GJB 4.5.1.2 |
M | 818 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 829 | goto detected. | GJB 4.5.1.2 |
M | 833 | goto detected. | GJB 4.5.1.2 |
M | 838 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 846 | goto detected. | GJB 4.5.1.2 |
M | 859 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 865 | goto detected. | GJB 4.5.1.2 |
M | 876 | goto detected. | GJB 4.5.1.2 |
M | 887 | goto detected. | GJB 4.5.1.2 |
M | 891 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 891 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 895 | goto detected. | GJB 4.5.1.2 |
M | 898 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 900 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 903 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 904 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 904 | free used on string. | GJB 5.1.19 |
M | 906 | goto detected. | GJB 4.5.1.2 |
M | 911 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 912 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 912 | free used on string. | GJB 5.1.19 |
M | 913 | goto detected. | GJB 4.5.1.2 |
M | 926 | Value is not of appropriate type. : (char and signed char): * args [ 0 ] != 0 | GJB 4.6.1.8 |
M | 929 | goto detected. | GJB 4.5.1.2 |
M | 930 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 932 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 933 | free used on string. | GJB 5.1.19 |
M | 614 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 789 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 837 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 594 | Procedure contains UR data flow anomalies. : kw | GJB 4.13.1.4 |
M | 585 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 606 | Procedure contains UR data flow anomalies. : l |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_resolvers (947 to 1320 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1160 | Pointer not checked for null before use. : (newnameserver)->conf.file | GJB 5.1.15 |
M | 1113 | Pointer not checked for null before use. : (newnameserver)->conf.file | GJB 5.1.15 |
M | 1096 | Pointer not checked for null before use. : resolv_line | GJB 5.1.15 |
M | 947 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 947 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 950 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 952 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 958 | goto detected. | GJB 4.5.1.2 |
M | 966 | goto detected. | GJB 4.5.1.2 |
M | 978 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 978 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 978 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 981 | goto detected. | GJB 4.5.1.2 |
M | 1018 | goto detected. | GJB 4.5.1.2 |
M | 1026 | goto detected. | GJB 4.5.1.2 |
M | 1038 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1038 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1038 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1041 | goto detected. | GJB 4.5.1.2 |
M | 1056 | goto detected. | GJB 4.5.1.2 |
M | 1064 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1066 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 1067 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1072 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1072 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1072 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1072 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1076 | goto detected. | GJB 4.5.1.2 |
M | 1079 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1079 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1083 | goto detected. | GJB 4.5.1.2 |
M | 1086 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1091 | goto detected. | GJB 4.5.1.2 |
M | 1100 | Expression needs brackets. | GJB 5.1.2 |
M | 1134 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1141 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1141 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1141 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1144 | goto detected. | GJB 4.5.1.2 |
M | 1151 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1152 | goto detected. | GJB 4.5.1.2 |
M | 1159 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1159 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1160 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1161 | goto detected. | GJB 4.5.1.2 |
M | 1171 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1173 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1173 | free used on string. | GJB 5.1.19 |
M | 1178 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1186 | goto detected. | GJB 4.5.1.2 |
M | 1193 | goto detected. | GJB 4.5.1.2 |
M | 1199 | goto detected. | GJB 4.5.1.2 |
M | 1205 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1206 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1223 | goto detected. | GJB 4.5.1.2 |
M | 1228 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1234 | goto detected. | GJB 4.5.1.2 |
M | 1237 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1242 | goto detected. | GJB 4.5.1.2 |
M | 1251 | goto detected. | GJB 4.5.1.2 |
M | 1258 | goto detected. | GJB 4.5.1.2 |
M | 1260 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1267 | goto detected. | GJB 4.5.1.2 |
M | 1269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1271 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1278 | goto detected. | GJB 4.5.1.2 |
M | 1285 | goto detected. | GJB 4.5.1.2 |
M | 1291 | goto detected. | GJB 4.5.1.2 |
M | 1297 | goto detected. | GJB 4.5.1.2 |
M | 1298 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1308 | goto detected. | GJB 4.5.1.2 |
M | 1311 | Value is not of appropriate type. : (char and signed char): * args [ 0 ] != 0 | GJB 4.6.1.8 |
M | 1314 | goto detected. | GJB 4.5.1.2 |
M | 1315 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1317 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1318 | free used on string. | GJB 5.1.19 |
M | 1012 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 1012 | Procedure contains UR data flow anomalies. : port2 | GJB 4.13.1.4 |
M | 1179 | Procedure contains UR data flow anomalies. : time | GJB 4.13.1.4 |
M | 1272 | Procedure contains UR data flow anomalies. : tout |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_mailers (1332 to 1491 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1332 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1332 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1336 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1344 | goto detected. | GJB 4.5.1.2 |
M | 1352 | goto detected. | GJB 4.5.1.2 |
M | 1367 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1367 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1367 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1370 | goto detected. | GJB 4.5.1.2 |
M | 1391 | goto detected. | GJB 4.5.1.2 |
M | 1399 | goto detected. | GJB 4.5.1.2 |
M | 1402 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1402 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1402 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1405 | goto detected. | GJB 4.5.1.2 |
M | 1424 | goto detected. | GJB 4.5.1.2 |
M | 1431 | goto detected. | GJB 4.5.1.2 |
M | 1444 | goto detected. | GJB 4.5.1.2 |
M | 1447 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1453 | goto detected. | GJB 4.5.1.2 |
M | 1460 | goto detected. | GJB 4.5.1.2 |
M | 1466 | goto detected. | GJB 4.5.1.2 |
M | 1472 | goto detected. | GJB 4.5.1.2 |
M | 1473 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1479 | goto detected. | GJB 4.5.1.2 |
M | 1482 | Value is not of appropriate type. : (char and signed char): * args [ 0 ] != 0 | GJB 4.6.1.8 |
M | 1485 | goto detected. | GJB 4.5.1.2 |
M | 1486 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1488 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1489 | free used on string. | GJB 5.1.19 |
M | 1491 | Memory not freed after last reference. : newmailer | GJB 5.1.17 |
M | 1384 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 1384 | Procedure contains UR data flow anomalies. : port2 | GJB 4.13.1.4 |
M | 1448 | Procedure contains UR data flow anomalies. : timeout_mail |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_email_alert (1493 to 1503 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1493 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1495 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1497 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1499 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1501 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1496 | Attempt to read from freed memory. : p | GJB 5.1.16 |
M | 1498 | Attempt to read from freed memory. : p | GJB 5.1.16 |
M | 1500 | Attempt to read from freed memory. : p | GJB 5.1.16 |
M | 1502 | Attempt to read from freed memory. : p | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_netns (1506 to 1546 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1507 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1507 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_users (1548 to 1743 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1659 | Pointer not checked for null before use. : (ag)->groupusers | GJB 5.1.15 |
M | 1660 | Pointer not checked for null before use. : (ag)->name | GJB 5.1.15 |
M | 1666 | Pointer not checked for null before use. : (ag)->groupusers | GJB 5.1.15 |
M | 1658 | Pointer not checked for null before use. : (ag)->groupusers | GJB 5.1.15 |
M | 1549 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1549 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1553 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1562 | goto detected. | GJB 4.5.1.2 |
M | 1565 | goto detected. | GJB 4.5.1.2 |
M | 1572 | goto detected. | GJB 4.5.1.2 |
M | 1576 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1580 | goto detected. | GJB 4.5.1.2 |
M | 1583 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1587 | goto detected. | GJB 4.5.1.2 |
M | 1594 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1595 | goto detected. | GJB 4.5.1.2 |
M | 1603 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1603 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 1610 | goto detected. | GJB 4.5.1.2 |
M | 1618 | goto detected. | GJB 4.5.1.2 |
M | 1622 | goto detected. | GJB 4.5.1.2 |
M | 1625 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1629 | goto detected. | GJB 4.5.1.2 |
M | 1632 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1636 | goto detected. | GJB 4.5.1.2 |
M | 1643 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1644 | goto detected. | GJB 4.5.1.2 |
M | 1649 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1650 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1651 | Value is not of appropriate type. : (unsigned int and int): ag -> groupusers = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1658 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1659 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1660 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1661 | goto detected. | GJB 4.5.1.2 |
M | 1676 | goto detected. | GJB 4.5.1.2 |
M | 1679 | goto detected. | GJB 4.5.1.2 |
M | 1682 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1686 | goto detected. | GJB 4.5.1.2 |
M | 1689 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1693 | goto detected. | GJB 4.5.1.2 |
M | 1703 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1704 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1717 | Value is not of appropriate type. : (unsigned int and int): newuser -> pass = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1720 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1721 | Value is not of appropriate type. : (unsigned int and int): newuser -> pass = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1725 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1726 | Value is not of appropriate type. : (unsigned int and int): newuser -> u.groups_names = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1733 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_scope (1745 to 1792 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1765 | Pointer not checked for null before use. : scope | GJB 5.1.15 |
M | 1775 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 1746 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1746 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1748 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1750 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1760 | goto detected. | GJB 4.5.1.2 |
M | 1770 | goto detected. | GJB 4.5.1.2 |
M | 1774 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1775 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1776 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1781 | goto detected. | GJB 4.5.1.2 |
M | 1785 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1785 | free used on string. | GJB 5.1.19 |
M | 1786 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1789 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1790 | free used on string. | GJB 5.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_track_sc_num (1794 to 1817 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1805 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1796 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1796 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1796 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1798 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1798 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1811 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
readcfgfile (1829 to 2100 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1860 | Pointer not checked for null before use. : thisline | GJB 5.1.15 |
M | 2090 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 1915 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 1829 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1831 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1833 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 1836 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 1839 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1845 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1845 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1845 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1845 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1850 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1850 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1851 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1851 | free used on string. | GJB 5.1.19 |
M | 1858 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1859 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1860 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1879 | Expression needs brackets. | GJB 5.1.2 |
M | 1879 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1879 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1879 | Type conversion without cast. : (signed char and char): * ( end - 1 ) != '\n' | GJB 4.6.1.9 |
M | 1883 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1886 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 1886 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1898 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1905 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1905 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1905 | Type conversion without cast. : (signed char and char): * ( end - 1 ) == '\n' | GJB 4.6.1.9 |
M | 1911 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1915 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1916 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1920 | goto detected. | GJB 4.5.1.2 |
M | 1925 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1938 | Expression needs brackets. | GJB 5.1.2 |
M | 1938 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1938 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1941 | goto detected. | GJB 4.5.1.2 |
M | 1948 | Expression needs brackets. | GJB 5.1.2 |
M | 1948 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1948 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1951 | goto detected. | GJB 4.5.1.2 |
M | 1958 | Expression needs brackets. | GJB 5.1.2 |
M | 1958 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1958 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1961 | goto detected. | GJB 4.5.1.2 |
M | 1968 | Expression needs brackets. | GJB 5.1.2 |
M | 1968 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1968 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1971 | goto detected. | GJB 4.5.1.2 |
M | 1978 | Expression needs brackets. | GJB 5.1.2 |
M | 1978 | Cast from pointer to integral type. | GJB 4.12.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1978 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1981 | goto detected. | GJB 4.5.1.2 |
M | 1985 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1985 | Value is not of appropriate type. : (unsigned int and short): outlinesize = ( outlen + 1023 ) & | GJB 4.6.1.8 |
M | 1986 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 1992 | goto detected. | GJB 4.5.1.2 |
M | 2001 | Value is not of appropriate type. : (unsigned int and int): 1 | GJB 4.6.1.8 |
M | 2001 | Expression needs brackets. | GJB 5.1.2 |
M | 2001 | Value is not of appropriate type. : (unsigned int and int): 1 ] - outline + 1 ) , args [ MAX_LINE_ARGS - 1 | GJB 4.6.1.8 |
M | 2004 | goto detected. | GJB 4.5.1.2 |
M | 2012 | Expression needs brackets. | GJB 5.1.2 |
M | 2017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2021 | Value is not of appropriate type. : (unsigned int and int): * args [ arg + 1 | GJB 4.6.1.8 |
M | 2022 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2022 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 2022 | Value is not of appropriate type. : (unsigned int and int): args [ arg ] = args [ arg + 1 | GJB 4.6.1.8 |
M | 2024 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 2028 | Value is not of appropriate type. : (unsigned int and int): * args [ arg + 1 | GJB 4.6.1.8 |
M | 2029 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2029 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 2029 | Value is not of appropriate type. : (unsigned int and int): args [ arg ] = args [ arg + 1 | GJB 4.6.1.8 |
M | 2030 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2032 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2032 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2032 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2033 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2033 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2033 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2033 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2034 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2034 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2034 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2034 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2035 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2062 | goto detected. | GJB 4.5.1.2 |
M | 2079 | goto detected. | GJB 4.5.1.2 |
M | 2092 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2093 | free used on string. | GJB 5.1.19 |
M | 2096 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2096 | free used on string. | GJB 5.1.19 |
M | 2097 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2100 | Memory not freed after last reference. : outline | GJB 5.1.17 |
M | 2100 | Memory not freed after last reference. : thisline | GJB 5.1.17 |
M | 1859 | Procedure contains UR data flow anomalies. : args | GJB 4.13.1.4 |
M | 1925 | Procedure contains UR data flow anomalies. : errptr | GJB 4.13.1.4 |
M | 2064 | Procedure contains UR data flow anomalies. : pcs | GJB 4.13.1.4 |
M | 2092 | Identifier reuse: label vs variable (MR). : err |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
propagate_processes (2117 to 2154 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2127 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2127 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2119 | Procedure contains UR data flow anomalies. : rule |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_config_validity (2165 to 4033 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2597 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2649 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2682 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2720 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2796 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2805 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 3609 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 2230 | Pointer not checked for null before use. : curproxy | GJB 5.1.15 |
M | 2803 | Pointer not checked for null before use. : (curproxy)->(table)->peers.name | GJB 5.1.15 |
M | 2848 | Pointer not checked for null before use. : (curproxy)->(table)->peers.name | GJB 5.1.15 |
M | 2528 | Pointer not checked for null before use. : (curproxy)->defbe.name | GJB 5.1.15 |
M | 3323 | Pointer not checked for null before use. : (curproxy)->uri_auth | GJB 5.1.15 |
M | 3075 | Pointer not checked for null before use. : newsrv | GJB 5.1.15 |
M | 3254 | Pointer not checked for null before use. : (newsrv)->trackit | GJB 5.1.15 |
M | 3554 | Pointer not checked for null before use. : (newsrv)->trackit | GJB 5.1.15 |
M | 2318 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 2734 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2744 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2754 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2764 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2774 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2784 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2735 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2745 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2755 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2765 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2775 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2785 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2967 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2562 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 2546 | Pointer not checked for null before use. : (rule)->be.name | GJB 5.1.15 |
M | 2626 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 2612 | Pointer not checked for null before use. : (srule)->srv.name | GJB 5.1.15 |
M | 3192 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 3192 | Pointer not checked for null before use. : sname | GJB 5.1.15 |
M | 3724 | Pointer not checked for null before use. : (listener)->counters | GJB 5.1.15 |
M | 3871 | Pointer not checked for null before use. : (curpeers)->id | GJB 5.1.15 |
M | 3986 | Pointer not checked for null before use. : (curmailers)->id | GJB 5.1.15 |
M | 2552 | Pointer not checked for null before use. : pxname | GJB 5.1.15 |
M | 2552 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2572 | Pointer not checked for null before use. : (node)->arg | GJB 5.1.15 |
M | 2578 | Pointer not checked for null before use. : (rule)->be.name | GJB 5.1.15 |
M | 2616 | Pointer not checked for null before use. : server_name | GJB 5.1.15 |
M | 2616 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2636 | Pointer not checked for null before use. : (node)->arg | GJB 5.1.15 |
M | 2641 | Pointer not checked for null before use. : (srule)->srv.name | GJB 5.1.15 |
M | 2837 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2924 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2943 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 3171 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 3670 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 3864 | Pointer not checked for null before use. : curpeers | GJB 5.1.15 |
M | 3909 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 3910 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 3929 | Pointer not checked for null before use. : (p)->id | GJB 5.1.15 |
M | 3944 | Pointer not checked for null before use. : last | GJB 5.1.15 |
M | 3981 | Pointer not checked for null before use. : curmailers | GJB 5.1.15 |
M | 3993 | Pointer not checked for null before use. : (m)->id | GJB 5.1.15 |
M | 4003 | Pointer not checked for null before use. : last | GJB 5.1.15 |
M | 2165 | Empty parameter list to procedure/function. : check_config_validity | GJB 4.1.1.10 |
M | 2174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2209 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2209 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2212 | goto detected. | GJB 4.5.1.2 |
M | 2222 | goto detected. | GJB 4.5.1.2 |
M | 2251 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2251 | Signed/unsigned conversion without cast. : (int and unsigned int): curproxy -> conf.id.key = curproxy -> uuid = next_pxid | GJB 4.6.1.9 |
M | 2263 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2286 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2339 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2339 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2342 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2348 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2365 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2352 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2374 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2374 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2398 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2407 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2415 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2458 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2458 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2480 | Type conversion without cast. : (int and char): curproxy -> check_command [ 0 ] != '/' | GJB 4.6.1.9 |
M | 2480 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2480 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2486 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2496 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2515 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2515 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2524 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2555 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2555 | free used on string. | GJB 5.1.19 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2564 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2564 | free used on string. | GJB 5.1.19 |
M | 2571 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2572 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2597 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2606 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2619 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2619 | free used on string. | GJB 5.1.19 |
M | 2626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2628 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2628 | free used on string. | GJB 5.1.19 |
M | 2635 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2636 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2649 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2676 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2682 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2720 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2736 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2736 | free used on string. | GJB 5.1.19 |
M | 2744 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2746 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2746 | free used on string. | GJB 5.1.19 |
M | 2754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2756 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2756 | free used on string. | GJB 5.1.19 |
M | 2764 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2766 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2766 | free used on string. | GJB 5.1.19 |
M | 2774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2776 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2776 | free used on string. | GJB 5.1.19 |
M | 2784 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2786 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2786 | free used on string. | GJB 5.1.19 |
M | 2791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2796 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2805 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2818 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2839 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2839 | free used on string. | GJB 5.1.19 |
M | 2845 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2847 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2847 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2851 | goto detected. | GJB 4.5.1.2 |
M | 2854 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2855 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2856 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2857 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2858 | Name reused in inner scope. : rule | GJB 4.15.1.2,4.15.1.5 |
M | 2859 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2861 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2864 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2864 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2865 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2865 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2868 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2868 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2869 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2869 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2870 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2870 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2871 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2871 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2872 | Modification of string literal. : uri_auth_compat_req | GJB 5.1.19 |
M | 2872 | Value is not of appropriate type. : (unsigned int and int): uri_auth_compat_req [ i ++ | GJB 4.6.1.8 |
M | 2883 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2902 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2903 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2904 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2904 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2907 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2911 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2914 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2929 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2929 | free used on string. | GJB 5.1.19 |
M | 2946 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2946 | free used on string. | GJB 5.1.19 |
M | 2951 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2951 | free used on string. | GJB 5.1.19 |
M | 2953 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2970 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2970 | free used on string. | GJB 5.1.19 |
M | 2984 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2984 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2985 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2987 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2988 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2988 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2988 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3002 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3012 | Else alternative missing in if. | GJB 4.3.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3015 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3016 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3025 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3045 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3045 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3051 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3051 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3056 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3072 | Name reused in inner scope. : next | GJB 4.15.1.2,4.15.1.5 |
M | 3095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3096 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3096 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3116 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3116 | Signed/unsigned conversion without cast. : (int and unsigned int): newsrv -> conf.id.key = newsrv -> puid = next_id | GJB 4.6.1.9 |
M | 3141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3144 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3174 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3187 | goto detected. | GJB 4.5.1.2 |
M | 3198 | goto detected. | GJB 4.5.1.2 |
M | 3201 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3201 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3201 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3201 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3207 | goto detected. | GJB 4.5.1.2 |
M | 3210 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3210 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3212 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3219 | goto detected. | GJB 4.5.1.2 |
M | 3222 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3223 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3229 | goto detected. | GJB 4.5.1.2 |
M | 3236 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3264 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3359 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3360 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3361 | Value is not of appropriate type. : (unsigned int and int): curproxy -> cap & cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3362 | Value is not of appropriate type. : (unsigned int and int): ( curproxy -> options & cfg_opts [ optnum | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3363 | Value is not of appropriate type. : (unsigned int and int): ha_warning ( "config : 'option %s' ignored for %s '%s' as it requires HTTP mode.\n" , cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3366 | Value is not of appropriate type. : (unsigned int and int): curproxy -> options &= ~ cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3370 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3371 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3372 | Value is not of appropriate type. : (unsigned int and int): curproxy -> cap & cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3373 | Value is not of appropriate type. : (unsigned int and int): ( curproxy -> options2 & cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3374 | Value is not of appropriate type. : (unsigned int and int): ha_warning ( "config : 'option %s' ignored for %s '%s' as it requires HTTP mode.\n" , cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3377 | Value is not of appropriate type. : (unsigned int and int): curproxy -> options2 &= ~ cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3437 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3466 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3497 | Name reused in inner scope. : mode | GJB 4.15.1.2,4.15.1.5 |
M | 3497 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3509 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3522 | Name reused in inner scope. : mode | GJB 4.15.1.2,4.15.1.5 |
M | 3522 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3534 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3549 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3551 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3561 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3561 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & newsrv -> available_conns [ i | GJB 4.6.1.8 |
M | 3567 | goto detected. | GJB 4.5.1.2 |
M | 3573 | Value is not of appropriate type. : (unsigned int and int): idle_conns [ i | GJB 4.6.1.8 |
M | 3573 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 3574 | Value is not of appropriate type. : (unsigned int and int): ! idle_conns [ i | GJB 4.6.1.8 |
M | 3575 | goto detected. | GJB 4.5.1.2 |
M | 3576 | Value is not of appropriate type. : (unsigned int and int): idle_conns [ i | GJB 4.6.1.8 |
M | 3577 | Value is not of appropriate type. : (unsigned int and int): idle_conns [ i | GJB 4.6.1.8 |
M | 3578 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_INIT ( & idle_conns [ i | GJB 4.6.1.8 |
M | 3579 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_INIT ( & idle_conns [ i | GJB 4.6.1.8 |
M | 3583 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3583 | Value is not of appropriate type. : (unsigned short and int): ( unsigned short ) | GJB 4.6.1.8 |
M | 3592 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3592 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_INIT ( & newsrv -> idle_conns [ i | GJB 4.6.1.8 |
M | 3594 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3603 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3603 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_INIT ( & newsrv -> safe_conns [ i | GJB 4.6.1.8 |
M | 3605 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3607 | goto detected. | GJB 4.5.1.2 |
M | 3624 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3628 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3649 | Signed/unsigned conversion without cast. : (int and unsigned long): curproxy -> bind_proc |= mask | GJB 4.6.1.9 |
M | 3659 | Signed/unsigned conversion without cast. : (int and unsigned long): global.stats_fe -> bind_proc |= mask | GJB 4.6.1.9 |
M | 3676 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3704 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3715 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3715 | Signed/unsigned conversion without cast. : (int and unsigned int): listener -> conf.id.key = listener -> luid = next_id | GJB 4.6.1.9 |
M | 3722 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3739 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3739 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3741 | Expression needs brackets. | GJB 5.1.2 |
M | 3756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3812 | Value is not of appropriate type. : (unsigned int and int): cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3813 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3813 | Value is not of appropriate type. : (unsigned int and int): curproxy -> options & cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3814 | Value is not of appropriate type. : (unsigned int and int): global.last_checks |= cfg_opts [ optnum | GJB 4.6.1.8 |
M | 3816 | Value is not of appropriate type. : (unsigned int and int): cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3817 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3817 | Value is not of appropriate type. : (unsigned int and int): curproxy -> options2 & cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3818 | Value is not of appropriate type. : (unsigned int and int): global.last_checks |= cfg_opts2 [ optnum | GJB 4.6.1.8 |
M | 3823 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3823 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3861 | Name reused in inner scope. : t | GJB 4.15.1.2,4.15.1.5 |
M | 3870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3906 | Name reused in inner scope. : bind_conf | GJB 4.15.1.2,4.15.1.5 |
M | 3909 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 3910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3914 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3914 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3928 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3929 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3936 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3943 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3962 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3992 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3993 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4000 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4002 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4010 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4011 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4033 | Memory not freed after last reference. : curproxy | GJB 5.1.17 |
M | 4033 | Memory not freed after last reference. : newsrv | GJB 5.1.17 |
M | 2600 | Memory not freed after last reference. : pxname | GJB 5.1.17 |
M | 2651 | Memory not freed after last reference. : server_name | GJB 5.1.17 |
M | 3946 | Memory not freed after last reference. : last | GJB 5.1.17 |
M | 4005 | Memory not freed after last reference. : last | GJB 5.1.17 |
M | 3931 | Memory not freed after last reference. : p | GJB 5.1.17 |
M | 3944 | Attempt to read from freed memory. : last | GJB 5.1.16 |
M | 4003 | Attempt to read from freed memory. : last | GJB 5.1.16 |
M | 2178 | Procedure contains UR data flow anomalies. : bind_conf | GJB 4.13.1.4 |
M | 3177 | Procedure contains UR data flow anomalies. : pname | GJB 4.13.1.4 |
M | 2175 | Procedure contains UR data flow anomalies. : postparser | GJB 4.13.1.4 |
M | 2242 | Procedure contains UR data flow anomalies. : tmplogsrv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_register_section (4058 to 4084 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4058 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4059 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4060 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4071 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4084 | Memory not freed after last reference. : cs |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | post_section_parser |
M | Procedure pointer is an unused parameter | section_parser |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_register_postparser (4090 to 4105 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4090 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4094 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4105 | Memory not freed after last reference. : cp |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | func |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_unregister_sections (4110 to 4118 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4116 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_backup_sections (4120 to 4128 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4122 | Procedure contains UR data flow anomalies. : cs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_restore_sections (4130 to 4138 cfgparse.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4132 | Procedure contains UR data flow anomalies. : cs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__channel_forward (31 to 68 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 52 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 60 | Value is not of appropriate type. : (uns long long and int): bytes = ( unsigned long long ) chn -> | GJB 4.6.1.8 |
M | 60 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 61 | Signed/unsigned conversion without cast. : (uns long long and int): bytes >= CHN_INFINITE_FORWARD | GJB 4.6.1.9 |
M | 62 | Signed/unsigned conversion without cast. : (uns long long and int): bytes = CHN_INFINITE_FORWARD | GJB 4.6.1.9 |
M | 63 | Type conversion without cast. : (unsigned int and uns long long): budget = bytes | GJB 4.6.1.9 |
M | 63 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 65 | Signed/unsigned conversion without cast. : (int and unsigned int): chn -> to_forward += budget | GJB 4.6.1.9 |
M | 66 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_inject (77 to 103 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 84 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 84 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ci_putchr (111 to 132 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 111 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 111 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 119 | Type conversion without cast. : (int and char): ci_tail ( chn ) = c | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ci_putblk (142 to 176 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_getword (188 to 227 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 210 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 191 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 197 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 200 | goto detected. | GJB 4.5.1.2 |
M | 207 | Value is not of appropriate type. : (unsigned int and int): str [ max - 1 | GJB 4.6.1.8 |
M | 210 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 218 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 220 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 220 | Type conversion without cast. : (signed char and char): * ( str - 1 ) != sep | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_getline (239 to 278 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 261 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 239 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 242 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 242 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 248 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 251 | goto detected. | GJB 4.5.1.2 |
M | 258 | Value is not of appropriate type. : (unsigned int and int): str [ max - 1 | GJB 4.6.1.8 |
M | 261 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Type conversion without cast. : (signed char and char): * ( str - 1 ) != '\n' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_getchar (288 to 301 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 288 | Name found with length less than 2. : c | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_getblk (311 to 323 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 311 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 316 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_getblk_nc (333 to 342 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 333 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
co_getline_nc (353 to 388 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 358 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 364 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 364 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 364 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 365 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 = l | GJB 4.6.1.9 |
M | 371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 371 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 371 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 372 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 372 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 373 | Signed/unsigned conversion without cast. : (unsigned int and int): len2 = l | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ci_getblk_nc (397 to 418 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 398 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 399 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 407 | Expression needs brackets. | GJB 5.1.2 |
M | 409 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 411 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ci_getline_nc (429 to 464 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 430 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 431 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 434 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 440 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 440 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 441 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 441 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 442 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 = l | GJB 4.6.1.9 |
M | 447 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 447 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 447 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 448 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 448 | Value is not of appropriate type. : (unsigned int and int): ) [ l | GJB 4.6.1.8 |
M | 449 | Signed/unsigned conversion without cast. : (unsigned int and int): len2 = l | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ci_insert_line2 (473 to 499 channel.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 473 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 473 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 476 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 481 | Expression needs brackets. | GJB 5.1.2 |
M | 484 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 485 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 485 | Expression needs brackets. | GJB 5.1.2 |
M | 485 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 486 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 494 | Value is not of appropriate type. : (unsigned int and int): dst [ len | GJB 4.6.1.8 |
M | 495 | Modification of string literal. : dst | GJB 5.1.19 |
M | 495 | Value is not of appropriate type. : (unsigned int and int): dst [ len + 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
unclean_errno (147 to 153 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_check_status_description (156 to 169 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 158 | Name redeclared in another C name space (MR). : desc | GJB 4.1.1.16 |
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | Parameter has same name as type or tag. : check_status | GJB 4.15.1.4 |
M | 158 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 161 | Value is not of appropriate type. : (unsigned int and short): desc = check_statuses [ check_status | GJB 4.6.1.8 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 166 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 163 | Procedure contains UR data flow anomalies. : desc |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_check_status_info (172 to 185 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 174 | Name redeclared in another C name space (MR). : info | GJB 4.1.1.16 |
M | 172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 172 | Parameter has same name as type or tag. : check_status | GJB 4.15.1.4 |
M | 174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 177 | Value is not of appropriate type. : (unsigned int and short): info = check_statuses [ check_status | GJB 4.6.1.8 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 182 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 179 | Procedure contains UR data flow anomalies. : info |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_analyze_status (188 to 201 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 190 | Name redeclared in another C name space (MR). : desc | GJB 4.1.1.16 |
M | 188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 188 | Parameter has same name as type or tag. : analyze_status | GJB 4.15.1.4 |
M | 190 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 193 | Value is not of appropriate type. : (unsigned int and short): desc = analyze_statuses [ analyze_status | GJB 4.6.1.8 |
M | 197 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 198 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 195 | Procedure contains UR data flow anomalies. : desc |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_server_check_status (210 to 311 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 210 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 216 | Signed/unsigned conversion without cast. : (short and unsigned int): status == HCHK_STATUS_START | GJB 4.6.1.9 |
M | 226 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 228 | Value is not of appropriate type. : (unsigned int and int): check -> desc [ HCHK_DESC_LEN - 1 | GJB 4.6.1.8 |
M | 233 | Value is not of appropriate type. : (unsigned int and int): check_statuses [ status | GJB 4.6.1.8 |
M | 234 | Value is not of appropriate type. : (unsigned int and int): check -> result = check_statuses [ status | GJB 4.6.1.8 |
M | 236 | Signed/unsigned conversion without cast. : (int and unsigned int): status == HCHK_STATUS_HANA | GJB 4.6.1.9 |
M | 242 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 261 | Signed/unsigned conversion without cast. : (int and unsigned int): ( check -> status >= HCHK_STATUS_L57DATA | GJB 4.6.1.9 |
M | 272 | Null case in switch statement. | GJB 4.3.1.8 |
M | 273 | Expression needs brackets. | GJB 5.1.2 |
M | 278 | Expression needs brackets. | GJB 5.1.2 |
M | 290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 291 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 303 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_notify_failure (316 to 334 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Signed/unsigned conversion without cast. : (int and unsigned int): check -> status != HCHK_STATUS_L7STS | GJB 4.6.1.9 |
M | 333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_notify_success (347 to 367 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_notify_stopping (375 to 395 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 385 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 394 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__health_adjust (400 to 481 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 400 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 408 | Value is not of appropriate type. : (unsigned int and short): ! analyze_statuses [ status | GJB 4.6.1.8 |
M | 411 | Value is not of appropriate type. : (unsigned int and short): analyze_statuses [ status | GJB 4.6.1.8 |
M | 411 | Value is not of appropriate type. : (unsigned int and int): analyze_statuses [ status ].lr [ s -> observe - 1 | GJB 4.6.1.8 |
M | 412 | Signed/unsigned conversion without cast. : (unsigned char and int): case | GJB 4.6.1.9 |
M | 416 | Signed/unsigned conversion without cast. : (unsigned char and int): case | GJB 4.6.1.9 |
M | 422 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 450 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 452 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 460 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
retrieve_errno_from_socket (492 to 521 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 497 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 503 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 504 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 506 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 508 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 494 | Procedure contains UR data flow anomalies. : skerr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chk_report_conn_err (535 to 699 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 548 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 565 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 544 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 547 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 569 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 575 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 578 | No default case in switch statement. | GJB 4.3.1.4 |
M | 623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 625 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 627 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 633 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 634 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 634 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 642 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 643 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 643 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 658 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 669 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 682 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 692 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 696 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 655 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 660 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 665 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 667 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 680 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 682 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 686 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 | GJB 4.7.1.9 |
M | 695 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
httpchk_build_status_header (703 to 757 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 703 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 707 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 708 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 709 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 717 | Expression needs brackets. | GJB 5.1.2 |
M | 731 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , srv_hlt_st [ sv_state | GJB 4.6.1.8 |
M | 732 | Expression needs brackets. | GJB 5.1.2 |
M | 736 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 736 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 744 | Expression needs brackets. | GJB 5.1.2 |
M | 744 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 744 | Expression needs brackets. | GJB 5.1.2 |
M | 744 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 750 | Expression needs brackets. | GJB 5.1.2 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 752 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 752 | Expression needs brackets. | GJB 5.1.2 |
M | 707 | Procedure contains UR data flow anomalies. : addr | GJB 4.13.1.4 |
M | 708 | Procedure contains UR data flow anomalies. : port |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wake_srv_chk (767 to 816 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 783 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 785 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 785 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 785 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 792 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
event_srv_chk_io (819 to 826 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 819 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 819 | Static procedure is not explicitly called in code analysed. : event_srv_chk_io | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_chk_conn (834 to 953 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 859 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 878 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 834 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 848 | goto detected. | GJB 4.5.1.2 |
M | 856 | goto detected. | GJB 4.5.1.2 |
M | 867 | goto detected. | GJB 4.5.1.2 |
M | 878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 882 | goto detected. | GJB 4.5.1.2 |
M | 907 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 929 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 939 | Expression needs brackets. | GJB 5.1.2 |
M | 940 | Value is not of appropriate type. : (int and double): rv -= ( int ) ( 2 * rv * ( ha_random32 () | GJB 4.6.1.8 |
M | 940 | Value is not of appropriate type. : (int and double) | GJB 4.6.1.8 |
M | 948 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 859 | Actual and formal parameters inconsistent (MR). : (unsigned int and short): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_buf_available (965 to 981 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 974 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_get_buf (986 to 997 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 990 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 991 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 991 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 991 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 991 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 996 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_release_buf (1003 to 1009 check.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_check (1011 to 1026 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1011 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_check (1028 to 1042 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1037 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_chk (1047 to 1055 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1047 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
start_check_task (1058 to 1090 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1068 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1068 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1081 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1085 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_warmup (1096 to 1122 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1096 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1096 | Static procedure is not explicitly called in code analysed. : server_warmup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
start_checks (1128 to 1226 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1128 | Empty parameter list to procedure/function. : start_checks | GJB 4.1.1.10 |
M | 1155 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1155 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1173 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1173 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1128 | Static procedure is not explicitly called in code analysed. : start_checks | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_check_healthcheck_port (1234 to 1263 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1255 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1236 | Name found with length less than 2. : i | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_srv_check (1268 to 1389 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1270 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1276 | goto detected. | GJB 4.5.1.2 |
M | 1285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1291 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1297 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1308 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1308 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1312 | goto detected. | GJB 4.5.1.2 |
M | 1313 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1322 | goto detected. | GJB 4.5.1.2 |
M | 1324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1328 | goto detected. | GJB 4.5.1.2 |
M | 1333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1338 | goto detected. | GJB 4.5.1.2 |
M | 1343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1348 | goto detected. | GJB 4.5.1.2 |
M | 1356 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 1368 | goto detected. | GJB 4.5.1.2 |
M | 1382 | goto detected. | GJB 4.5.1.2 |
M | 1268 | Static procedure is not explicitly called in code analysed. : init_srv_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_srv_agent_check (1394 to 1438 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1397 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1401 | goto detected. | GJB 4.5.1.2 |
M | 1407 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1408 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1414 | goto detected. | GJB 4.5.1.2 |
M | 1427 | goto detected. | GJB 4.5.1.2 |
M | 1394 | Static procedure is not explicitly called in code analysed. : init_srv_agent_check | GJB 4.7.1.3 |
M | 1438 | Memory not freed after last reference. : chk |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_srv_check (1440 to 1446 check.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_srv_agent_check (1449 to 1462 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1453 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_addr (1487 to 1516 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1487 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1488 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1494 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1496 | goto detected. | GJB 4.5.1.2 |
M | 1499 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1503 | goto detected. | GJB 4.5.1.2 |
M | 1506 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1515 | goto detected. | GJB 4.5.1.2 |
M | 1487 | Function has no return statement. : srv_parse_addr | GJB 4.9.1.1 |
M | 1487 | Static procedure is not explicitly called in code analysed. : srv_parse_addr | GJB 4.7.1.3 |
M | 1491 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 1491 | Procedure contains UR data flow anomalies. : port2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_agent_addr (1520 to 1540 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1521 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1525 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1527 | goto detected. | GJB 4.5.1.2 |
M | 1529 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1530 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1531 | goto detected. | GJB 4.5.1.2 |
M | 1539 | goto detected. | GJB 4.5.1.2 |
M | 1520 | Function has no return statement. : srv_parse_agent_addr | GJB 4.9.1.1 |
M | 1520 | Static procedure is not explicitly called in code analysed. : srv_parse_agent_addr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_agent_check (1543 to 1610 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1543 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1544 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1552 | goto detected. | GJB 4.5.1.2 |
M | 1555 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1558 | goto detected. | GJB 4.5.1.2 |
M | 1568 | goto detected. | GJB 4.5.1.2 |
M | 1573 | goto detected. | GJB 4.5.1.2 |
M | 1576 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1580 | goto detected. | GJB 4.5.1.2 |
M | 1585 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1590 | goto detected. | GJB 4.5.1.2 |
M | 1609 | goto detected. | GJB 4.5.1.2 |
M | 1543 | Function has no return statement. : srv_parse_agent_check | GJB 4.9.1.1 |
M | 1543 | Static procedure is not explicitly called in code analysed. : srv_parse_agent_check | GJB 4.7.1.3 |
M | 1610 | Memory not freed after last reference. : rules |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_agent_inter (1613 to 1654 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1613 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1614 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1616 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1620 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1622 | goto detected. | GJB 4.5.1.2 |
M | 1625 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1627 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1629 | goto detected. | GJB 4.5.1.2 |
M | 1632 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1634 | goto detected. | GJB 4.5.1.2 |
M | 1639 | goto detected. | GJB 4.5.1.2 |
M | 1640 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1641 | Signed/unsigned conversion without cast. : (unsigned int and int): delay | GJB 4.6.1.9 |
M | 1644 | goto detected. | GJB 4.5.1.2 |
M | 1653 | goto detected. | GJB 4.5.1.2 |
M | 1613 | Function has no return statement. : srv_parse_agent_inter | GJB 4.9.1.1 |
M | 1613 | Static procedure is not explicitly called in code analysed. : srv_parse_agent_inter | GJB 4.7.1.3 |
M | 1617 | Procedure contains UR data flow anomalies. : delay |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_agent_port (1657 to 1676 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1657 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1662 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1664 | goto detected. | GJB 4.5.1.2 |
M | 1668 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1668 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1675 | goto detected. | GJB 4.5.1.2 |
M | 1657 | Function has no return statement. : srv_parse_agent_port | GJB 4.9.1.1 |
M | 1657 | Static procedure is not explicitly called in code analysed. : srv_parse_agent_port | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_srv_agent_send (1678 to 1703 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1678 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1686 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1686 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1687 | goto detected. | GJB 4.5.1.2 |
M | 1699 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1700 | free used on string. | GJB 5.1.19 |
M | 1701 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1703 | Memory not freed after last reference. : var | GJB 5.1.17 |
M | 1703 | Memory not freed after last reference. : str |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_agent_send (1706 to 1739 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1706 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1707 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1712 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1714 | goto detected. | GJB 4.5.1.2 |
M | 1718 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1721 | goto detected. | GJB 4.5.1.2 |
M | 1727 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1729 | goto detected. | GJB 4.5.1.2 |
M | 1738 | goto detected. | GJB 4.5.1.2 |
M | 1706 | Function has no return statement. : srv_parse_agent_send | GJB 4.9.1.1 |
M | 1706 | Static procedure is not explicitly called in code analysed. : srv_parse_agent_send | GJB 4.7.1.3 |
M | 1739 | Memory not freed after last reference. : rules |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_agent_check (1742 to 1747 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1742 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1743 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1742 | Static procedure is not explicitly called in code analysed. : srv_parse_no_agent_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check (1750 to 1755 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1750 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1751 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1750 | Static procedure is not explicitly called in code analysed. : srv_parse_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_send_proxy (1758 to 1763 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1758 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1759 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1758 | Static procedure is not explicitly called in code analysed. : srv_parse_check_send_proxy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_via_socks4 (1766 to 1771 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1767 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1766 | Static procedure is not explicitly called in code analysed. : srv_parse_check_via_socks4 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_check (1774 to 1779 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1775 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1774 | Static procedure is not explicitly called in code analysed. : srv_parse_no_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_check_send_proxy (1782 to 1787 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1783 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1782 | Static procedure is not explicitly called in code analysed. : srv_parse_no_check_send_proxy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_proto (1790 to 1811 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1790 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1791 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1795 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1797 | goto detected. | GJB 4.5.1.2 |
M | 1799 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1799 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1801 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1802 | goto detected. | GJB 4.5.1.2 |
M | 1810 | goto detected. | GJB 4.5.1.2 |
M | 1790 | Function has no return statement. : srv_parse_check_proto | GJB 4.9.1.1 |
M | 1790 | Static procedure is not explicitly called in code analysed. : srv_parse_check_proto | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_rise (1815 to 1842 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1815 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1816 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1820 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1822 | goto detected. | GJB 4.5.1.2 |
M | 1825 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1825 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1828 | goto detected. | GJB 4.5.1.2 |
M | 1840 | goto detected. | GJB 4.5.1.2 |
M | 1815 | Static procedure is not explicitly called in code analysed. : srv_parse_check_rise | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_fall (1845 to 1869 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1845 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1846 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1850 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1852 | goto detected. | GJB 4.5.1.2 |
M | 1855 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1855 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1858 | goto detected. | GJB 4.5.1.2 |
M | 1867 | goto detected. | GJB 4.5.1.2 |
M | 1845 | Static procedure is not explicitly called in code analysed. : srv_parse_check_fall | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_inter (1872 to 1913 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1872 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1873 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1875 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1879 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1881 | goto detected. | GJB 4.5.1.2 |
M | 1884 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1886 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1888 | goto detected. | GJB 4.5.1.2 |
M | 1891 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1893 | goto detected. | GJB 4.5.1.2 |
M | 1898 | goto detected. | GJB 4.5.1.2 |
M | 1899 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1900 | Signed/unsigned conversion without cast. : (unsigned int and int): delay | GJB 4.6.1.9 |
M | 1903 | goto detected. | GJB 4.5.1.2 |
M | 1912 | goto detected. | GJB 4.5.1.2 |
M | 1872 | Function has no return statement. : srv_parse_check_inter | GJB 4.9.1.1 |
M | 1872 | Static procedure is not explicitly called in code analysed. : srv_parse_check_inter | GJB 4.7.1.3 |
M | 1876 | Procedure contains UR data flow anomalies. : delay |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_fastinter (1917 to 1958 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1917 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1918 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1920 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1924 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1926 | goto detected. | GJB 4.5.1.2 |
M | 1929 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1931 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1933 | goto detected. | GJB 4.5.1.2 |
M | 1936 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1938 | goto detected. | GJB 4.5.1.2 |
M | 1943 | goto detected. | GJB 4.5.1.2 |
M | 1944 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1945 | Signed/unsigned conversion without cast. : (unsigned int and int): delay | GJB 4.6.1.9 |
M | 1948 | goto detected. | GJB 4.5.1.2 |
M | 1957 | goto detected. | GJB 4.5.1.2 |
M | 1917 | Function has no return statement. : srv_parse_check_fastinter | GJB 4.9.1.1 |
M | 1917 | Static procedure is not explicitly called in code analysed. : srv_parse_check_fastinter | GJB 4.7.1.3 |
M | 1921 | Procedure contains UR data flow anomalies. : delay |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_downinter (1962 to 2003 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1962 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1963 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1965 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1969 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1971 | goto detected. | GJB 4.5.1.2 |
M | 1974 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1976 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1978 | goto detected. | GJB 4.5.1.2 |
M | 1981 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1983 | goto detected. | GJB 4.5.1.2 |
M | 1988 | goto detected. | GJB 4.5.1.2 |
M | 1989 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1990 | Signed/unsigned conversion without cast. : (unsigned int and int): delay | GJB 4.6.1.9 |
M | 1993 | goto detected. | GJB 4.5.1.2 |
M | 2002 | goto detected. | GJB 4.5.1.2 |
M | 1962 | Function has no return statement. : srv_parse_check_downinter | GJB 4.9.1.1 |
M | 1962 | Static procedure is not explicitly called in code analysed. : srv_parse_check_downinter | GJB 4.7.1.3 |
M | 1966 | Procedure contains UR data flow anomalies. : delay |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_check_port (2006 to 2026 check.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2006 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2007 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2011 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2013 | goto detected. | GJB 4.5.1.2 |
M | 2017 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2017 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2025 | goto detected. | GJB 4.5.1.2 |
M | 2006 | Function has no return statement. : srv_parse_check_port | GJB 4.9.1.1 |
M | 2006 | Static procedure is not explicitly called in code analysed. : srv_parse_check_port | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_trash_chunk (48 to 63 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Pointer not checked for null before use. : trash_buf | GJB 5.1.15 |
M | 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_trash_buffers (68 to 75 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Pointer not checked for null before use. : trash_buf1 | GJB 5.1.15 |
M | 73 | Pointer not checked for null before use. : trash_buf2 | GJB 5.1.15 |
M | 72 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 72 | Value is not of appropriate type. : (int* and char*): trash_buf1 = ( char * | GJB 4.6.1.8 |
M | 73 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 73 | Value is not of appropriate type. : (int* and char*): trash_buf2 = ( char * | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_trash_buffers_per_thread (77 to 80 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 77 | Empty parameter list to procedure/function. : alloc_trash_buffers_per_thread | GJB 4.1.1.10 |
M | 77 | Static procedure is not explicitly called in code analysed. : alloc_trash_buffers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_trash_buffers_per_thread (82 to 89 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Empty parameter list to procedure/function. : free_trash_buffers_per_thread | GJB 4.1.1.10 |
M | 85 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 86 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 82 | Static procedure is not explicitly called in code analysed. : free_trash_buffers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_trash_buffers (92 to 101 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 95 | Use of sizeof on a type. | GJB 5.1.8 |
M | 95 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 98 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 98 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_trash_chunk (109 to 121 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 113 | Pointer not checked for null before use. : pool_head_trash | GJB 5.1.15 |
M | 115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 115 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 115 | Use of sizeof on a type. | GJB 5.1.8 |
M | 117 | Use of sizeof on a type. | GJB 5.1.8 |
M | 120 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_printf (128 to 145 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 133 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 133 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 134 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 138 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_appendf (152 to 170 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 152 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 158 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 163 | Expression needs brackets. | GJB 5.1.2 |
M | 165 | Value is not of appropriate type. : (unsigned int and int): chk -> area [ chk -> data | GJB 4.6.1.8 |
M | 167 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_htmlencode (177 to 212 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 179 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 179 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 180 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 181 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 181 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 186 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 188 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 193 | Value is not of appropriate type. : (unsigned int and int): c = src -> area [ i | GJB 4.6.1.8 |
M | 195 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 196 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 199 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 206 | Value is not of appropriate type. : (unsigned int and int): dst -> area [ dst -> data | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_asciiencode (219 to 254 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 219 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 221 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 221 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 222 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 223 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 228 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 230 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 235 | Value is not of appropriate type. : (unsigned int and int): c = src -> area [ i | GJB 4.6.1.8 |
M | 237 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 238 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 241 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 248 | Value is not of appropriate type. : (unsigned int and int): dst -> area [ dst -> data | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_strcmp (260 to 274 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 268 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 260 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 262 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 267 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 267 | Expression needs brackets. | GJB 5.1.2 |
M | 268 | Value is not of appropriate type. : (int and unsigned char): diff = ( unsigned char | GJB 4.6.1.8 |
M | 268 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 268 | Value is not of appropriate type. : (unsigned char and char): diff = ( unsigned char ) 0 - ( unsigned char ) * | GJB 4.6.1.8 |
M | 271 | Value is not of appropriate type. : (int and unsigned char): diff = ( unsigned char | GJB 4.6.1.8 |
M | 271 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 271 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 271 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_strcasecmp (280 to 308 chunk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 291 | Pointer not checked for null before use. : s1 | GJB 5.1.15 |
M | 280 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 282 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 287 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 287 | Expression needs brackets. | GJB 5.1.2 |
M | 288 | Value is not of appropriate type. : (int and unsigned char): diff = ( unsigned char | GJB 4.6.1.8 |
M | 288 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 288 | Value is not of appropriate type. : (unsigned char and char): diff = ( unsigned char ) 0 - ( unsigned char ) * | GJB 4.6.1.8 |
M | 291 | Value is not of appropriate type. : (int and unsigned char): diff = ( unsigned char | GJB 4.6.1.8 |
M | 291 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 291 | Value is not of appropriate type. : (unsigned char and char): diff = ( unsigned char ) * | GJB 4.6.1.8 |
M | 291 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 291 | Value is not of appropriate type. : (unsigned char and char): diff = ( unsigned char ) * s1 - ( unsigned char ) * | GJB 4.6.1.8 |
M | 293 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 293 | Value is not of appropriate type. : (unsigned int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 293 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 293 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 294 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 294 | Value is not of appropriate type. : (unsigned int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 294 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 294 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 296 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 296 | Type conversion without cast. : (unsigned int and char): l -= 'a' | GJB 4.6.1.9 |
M | 297 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 297 | Type conversion without cast. : (unsigned int and char): r -= 'a' | GJB 4.6.1.9 |
M | 299 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 299 | Expression needs brackets. | GJB 5.1.2 |
M | 300 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 300 | Type conversion without cast. : (unsigned int and char): l -= 'a' | GJB 4.6.1.9 |
M | 300 | Operation not appropriate to plain char. : - used with char: 'a' | GJB 4.1.1.15 |
M | 301 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 301 | Expression needs brackets. | GJB 5.1.2 |
M | 302 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 302 | Type conversion without cast. : (unsigned int and char): r -= 'a' | GJB 4.6.1.9 |
M | 302 | Operation not appropriate to plain char. : - used with char: 'a' | GJB 4.1.1.15 |
M | 303 | Signed/unsigned conversion without cast. : (int and unsigned int): diff = l | GJB 4.6.1.9 |
M | 303 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_gen_usage_msg (94 to 149 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 107 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 94 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 105 | goto detected. | GJB 4.5.1.2 |
M | 114 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 115 | goto detected. | GJB 4.5.1.2 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | goto detected. | GJB 4.5.1.2 |
M | 123 | goto detected. | GJB 4.5.1.2 |
M | 96 | Procedure contains UR data flow anomalies. : kw_list | GJB 4.13.1.4 |
M | 137 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_find_kw (151 to 183 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 174 | Pointer not checked for null before use. : tmp_args | GJB 5.1.15 |
M | 151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | Procedure contains UR data flow anomalies. : kw_list |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_find_kw_exact (185 to 216 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 185 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 189 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 190 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 196 | Value is not of appropriate type. : (unsigned int and int): kw_list -> kw [ i | GJB 4.6.1.8 |
M | 199 | Value is not of appropriate type. : (unsigned int and int): args [ j | GJB 4.6.1.8 |
M | 199 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | Value is not of appropriate type. : (unsigned int and int): kw_list -> kw [ i | GJB 4.6.1.8 |
M | 199 | Value is not of appropriate type. : (unsigned int and int): kw_list -> kw [ i ].str_kw [ j | GJB 4.6.1.8 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): args [ j | GJB 4.6.1.8 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): kw_list -> kw [ i | GJB 4.6.1.8 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): kw_list -> kw [ i ].str_kw [ j | GJB 4.6.1.8 |
M | 206 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ j | GJB 4.6.1.8 |
M | 206 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ j ] , kw_list -> kw [ i | GJB 4.6.1.8 |
M | 206 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ j ] , kw_list -> kw [ i ].str_kw [ j | GJB 4.6.1.8 |
M | 212 | Value is not of appropriate type. : (unsigned int and int): & kw_list -> kw [ i | GJB 4.6.1.8 |
M | 187 | Procedure contains UR data flow anomalies. : kw_list |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_stats_fe (227 to 252 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 231 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 249 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 251 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_parse_global (260 to 414 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 283 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 260 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 261 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 262 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 270 | Value is not of appropriate type. : (char and signed char): * args [ 2 ] == 0 | GJB 4.6.1.8 |
M | 276 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 276 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 288 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 293 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 297 | Value is not of appropriate type. : (unsigned int and int): kw = bind_find_kw ( args [ cur_arg | GJB 4.6.1.8 |
M | 300 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' : '%s' option is not implemented in this version (check build options)." , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 306 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 309 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' : error encountered while processing '%s'" , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 324 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' : unknown keyword '%s'.%s%s" , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 355 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 362 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 362 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 370 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 378 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 378 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 390 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 390 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 396 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 397 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 398 | Signed/unsigned conversion without cast. : (unsigned long and int): set | GJB 4.6.1.9 |
M | 401 | Value is not of appropriate type. : (unsigned int and int): parse_process_number ( args [ cur_arg | GJB 4.6.1.8 |
M | 407 | Signed/unsigned conversion without cast. : (int and unsigned long): global.stats_fe -> bind_proc = set | GJB 4.6.1.9 |
M | 260 | Static procedure is not explicitly called in code analysed. : stats_parse_global | GJB 4.7.1.3 |
M | 265 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 339 | Procedure contains UR data flow anomalies. : timeout |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listeners_setenv (422 to 467 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 443 | Pointer not checked for null before use. : un | GJB 5.1.15 |
M | 436 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 432 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 433 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 449 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 450 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 453 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 454 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 458 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 461 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data ++ | GJB 4.6.1.8 |
M | 432 | Procedure contains UR data flow anomalies. : addr | GJB 4.13.1.4 |
M | 429 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 433 | Procedure contains UR data flow anomalies. : port |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_socket_setenv (469 to 477 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 469 | Empty parameter list to procedure/function. : cli_socket_setenv | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_has_level (486 to 494 cli.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_has_level (497 to 503 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 497 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_get_severity_output (506 to 511 cli.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_request (523 to 630 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 617 | Pointer not checked for null before use. : payload | GJB 5.1.15 |
M | 525 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 525 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 526 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 555 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 555 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 556 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 556 | Name found with length less than 2. : k | GJB 4.8.1.1 |
M | 563 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 568 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 568 | Expression needs brackets. | GJB 5.1.2 |
M | 570 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 570 | Expression needs brackets. | GJB 5.1.2 |
M | 576 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 579 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 579 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 579 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ k | GJB 4.6.1.8 |
M | 580 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 580 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ k | GJB 4.6.1.8 |
M | 581 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 581 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ k + 1 | GJB 4.6.1.8 |
M | 586 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 586 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ j | GJB 4.6.1.8 |
M | 586 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ j ] = args [ i | GJB 4.6.1.8 |
M | 586 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ j ] = args [ i ] [ k | GJB 4.6.1.8 |
M | 589 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 589 | Value is not of appropriate type. : (unsigned int and int): args [ i ] [ j | GJB 4.6.1.8 |
M | 595 | Expression needs brackets. | GJB 5.1.2 |
M | 596 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 596 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 617 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 617 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 618 | goto detected. | GJB 4.5.1.2 |
M | 622 | goto detected. | GJB 4.5.1.2 |
M | 525 | Procedure contains UR data flow anomalies. : args |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_output_msg (633 to 662 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 641 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 633 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 643 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 643 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 653 | Value is not of appropriate type. : (unsigned int and int): chunk_printf ( tmp , "[%s]: " , log_levels [ severity | GJB 4.6.1.8 |
M | 657 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 661 | Value is not of appropriate type. : (int and char): strlen ( tmp -> area | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler (672 to 951 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 948 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 926 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 685 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 697 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 732 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 851 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 682 | goto detected. | GJB 4.5.1.2 |
M | 689 | goto detected. | GJB 4.5.1.2 |
M | 710 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 746 | Value is not of appropriate type. : (unsigned int and int): str [ len | GJB 4.6.1.8 |
M | 750 | Value is not of appropriate type. : (unsigned int and int): str [ len | GJB 4.6.1.8 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): str [ len | GJB 4.6.1.8 |
M | 763 | Value is not of appropriate type. : (unsigned int and int): str [ len | GJB 4.6.1.8 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Value is not of appropriate type. : (unsigned int and int): str [ len - 1 | GJB 4.6.1.8 |
M | 771 | Modification of string literal. : str | GJB 5.1.19 |
M | 771 | Value is not of appropriate type. : (unsigned int and int): str [ len | GJB 4.6.1.8 |
M | 775 | Value is not of appropriate type. : (unsigned int and int): appctx -> chunk -> area [ appctx -> chunk -> data | GJB 4.6.1.8 |
M | 775 | Type conversion without cast. : (int and char): appctx -> chunk -> area [ appctx -> chunk -> data ] = '\n' | GJB 4.6.1.9 |
M | 776 | Value is not of appropriate type. : (unsigned int and int): appctx -> chunk -> area [ appctx -> chunk -> data + 1 | GJB 4.6.1.8 |
M | 787 | Value is not of appropriate type. : (unsigned int and int): appctx -> chunk -> area [ appctx -> chunk -> data | GJB 4.6.1.8 |
M | 806 | Expression needs brackets. | GJB 5.1.2 |
M | 822 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 829 | Null case in switch statement. | GJB 4.3.1.8 |
M | 832 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 832 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 852 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 853 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 854 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 887 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 887 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 913 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 913 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 672 | Static procedure is not explicitly called in code analysed. : cli_io_handler | GJB 4.7.1.3 |
M | 865 | Attempt to read from freed memory. : appctx | GJB 5.1.16 |
M | 947 | Identifier reuse: label vs variable (MR). : out |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_handler (957 to 967 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 963 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 963 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 964 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 966 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 957 | Static procedure is not explicitly called in code analysed. : cli_release_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_env (974 to 1002 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 997 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 977 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 974 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_env | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_fd (1009 to 1131 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1104 | Pointer not checked for null before use. : li | GJB 5.1.15 |
M | 1095 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1016 | goto detected. | GJB 4.5.1.2 |
M | 1028 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1028 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1038 | Value is not of appropriate type. : (unsigned int and int): fdt = fdtab [ fd | GJB 4.6.1.8 |
M | 1047 | goto detected. | GJB 4.5.1.2 |
M | 1059 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1092 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1106 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1009 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_fd | GJB 4.7.1.3 |
M | 1124 | Memory not freed after last reference. : (mworker_proxy)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_activity (1139 to 1232 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1150 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | 1150 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | 1150 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | 1168 | Macro parameter not in brackets. : t | GJB 4.2.1.6 |
M | 1168 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | 1168 | Macro contains unacceptable items. | GJB 4.1.1.13 |
M | 1187 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1187 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1187 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1187 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1187 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1187 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1187 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1187 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1187 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1187 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1187 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1187 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1187 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1187 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1188 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1188 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1188 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1188 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1188 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1188 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1188 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1188 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1188 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1188 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1188 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1188 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1188 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1188 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1189 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1189 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1189 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1189 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1189 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1189 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1189 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1189 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1189 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1189 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1189 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1189 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1189 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1189 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1190 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1190 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1190 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1190 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1190 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1190 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1190 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1190 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1190 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1190 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1190 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1190 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1190 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1190 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1191 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1191 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1191 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1191 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1191 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1191 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1191 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1191 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1191 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1191 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1191 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1191 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1191 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1191 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1192 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1192 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1192 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1192 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1192 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1192 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1192 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1192 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1192 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1192 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1192 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1192 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1192 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1192 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1193 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1193 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1193 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1193 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1193 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1193 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1193 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1193 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1193 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1193 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1193 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1193 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1193 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1193 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1194 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1194 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1194 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1194 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1194 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1194 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1194 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1194 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1194 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1194 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1194 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1194 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1194 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1194 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1195 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1195 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1195 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1195 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1195 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1195 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1195 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1195 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1195 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1195 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1195 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1195 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1195 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1195 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1196 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1196 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1196 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1196 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1196 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1196 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1196 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1196 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1196 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1196 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1196 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1196 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1196 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1196 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1197 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1197 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1197 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1197 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1197 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1197 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1197 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1197 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1197 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1197 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1197 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1197 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1197 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1197 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1198 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1198 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1198 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1198 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1198 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1198 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1198 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1198 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1198 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1198 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1198 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1198 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1198 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1198 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1199 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1199 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1199 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1199 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1199 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1199 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1199 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1199 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1199 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1199 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1199 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1199 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1199 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1200 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1200 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1200 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1200 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1200 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1200 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1200 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1200 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1200 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1200 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1200 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1200 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1200 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1200 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1200 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1201 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1201 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1201 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1201 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1201 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1201 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1201 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1201 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1201 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1201 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1201 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1201 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1201 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1201 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1202 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1202 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1202 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1202 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1202 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1202 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1202 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1202 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1202 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1202 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1202 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1202 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1202 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1202 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1203 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1203 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1203 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1203 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1203 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1203 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1203 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1203 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1203 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1203 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1203 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1203 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1204 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1204 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1204 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1204 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1204 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1204 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1204 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1204 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1204 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( read_freq_ctr ( & activity [ thr | GJB 4.6.1.8 |
M | 1204 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1204 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1204 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1204 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1204 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1205 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1205 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1205 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1205 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1205 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1205 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1205 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( read_freq_ctr_period ( & activity [ thr | GJB 4.6.1.8 |
M | 1205 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1205 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1205 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1205 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1205 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1206 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1206 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1206 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1206 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1206 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1206 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1206 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1206 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1206 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( swrate_avg ( activity [ thr | GJB 4.6.1.8 |
M | 1206 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1206 | Expression needs brackets. | GJB 5.1.2 |
M | 1206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1206 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1206 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1206 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1206 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1207 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1207 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1207 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1207 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1207 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1207 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1207 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1207 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1207 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1207 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1207 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1207 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1207 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1207 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1208 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1208 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1208 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1208 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1208 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1208 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1208 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1208 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1208 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1208 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
M | 1208 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1208 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1208 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1208 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1209 | Signed/unsigned conversion without cast. : (unsigned int and int): global.nbthread | GJB 4.6.1.9 |
M | 1209 | Signed/unsigned conversion without cast. : (unsigned int and int): _tot = thr | GJB 4.6.1.9 |
M | 1209 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1209 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1209 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1209 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1209 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr | GJB 4.6.1.8 |
M | 1209 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1209 | Value is not of appropriate type. : (unsigned int and int): _tot += _v [ thr ] = ( activity [ thr | GJB 4.6.1.8 |
M | 1209 | Signed/unsigned conversion without cast. : (unsigned int and int): _nbt | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1209 | Signed/unsigned conversion without cast. : (int and unsigned int): thr | GJB 4.6.1.9 |
M | 1209 | Signed/unsigned conversion without cast. : (int and unsigned int): thr < _nbt | GJB 4.6.1.9 |
M | 1209 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1209 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , _v [ thr | GJB 4.6.1.8 |
M | 1139 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_activity | GJB 4.7.1.3 |
M | 1187 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1188 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1189 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1190 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1191 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1192 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1193 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1194 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1195 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1196 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1197 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1198 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1199 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1200 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1201 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1202 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1203 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1204 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1205 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1206 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1207 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1208 | Procedure contains UR data flow anomalies. : _v | GJB 4.13.1.4 |
M | 1209 | Procedure contains UR data flow anomalies. : _v |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_cli_sock (1238 to 1335 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1281 | Pointer not checked for null before use. : un | GJB 5.1.15 |
M | 1299 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 1255 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1266 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 1274 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1275 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1287 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 1288 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 1291 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 1292 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 1310 | Expression needs brackets. | GJB 5.1.2 |
M | 1311 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 1316 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1331 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1334 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1238 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_cli_sock | GJB 4.7.1.3 |
M | 1274 | Procedure contains UR data flow anomalies. : addr | GJB 4.13.1.4 |
M | 1240 | Procedure contains UR data flow anomalies. : bind_conf | GJB 4.13.1.4 |
M | 1258 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 1275 | Procedure contains UR data flow anomalies. : port |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_env (1342 to 1367 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1365 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 1342 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1342 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1342 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1344 | extern not in nominated include file. | GJB 4.7.1.5 |
M | 1344 | Extern used in function body. | GJB 5.1.21 |
M | 1344 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1345 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1353 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | GJB 4.6.1.9 |
M | 1356 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1357 | Value is not of appropriate type. : (unsigned int and int): ) [ len | GJB 4.6.1.8 |
M | 1342 | Static procedure is not explicitly called in code analysed. : cli_parse_show_env | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_fd (1373 to 1385 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1373 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1381 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1373 | Static procedure is not explicitly called in code analysed. : cli_parse_show_fd | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_timeout (1388 to 1410 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1404 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 1388 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1388 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1388 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1395 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1401 | Signed/unsigned conversion without cast. : (unsigned int and int): timeout | GJB 4.6.1.9 |
M | 1404 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1404 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1388 | Static procedure is not explicitly called in code analysed. : cli_parse_set_timeout | GJB 4.7.1.3 |
M | 1394 | Procedure contains UR data flow anomalies. : timeout |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_maxconn_global (1413 to 1437 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1413 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1415 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 1423 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1413 | Static procedure is not explicitly called in code analysed. : cli_parse_set_maxconn_global | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_severity_output (1439 to 1454 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1439 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1452 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_severity_output (1457 to 1463 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1457 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1457 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1457 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1459 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1459 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1459 | Actual and formal parameters inconsistent (MR). : (int): param 1 | GJB 4.7.1.9 |
M | 1457 | Static procedure is not explicitly called in code analysed. : cli_parse_set_severity_output | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_lvl (1467 to 1477 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1467 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1467 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1467 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1467 | Static procedure is not explicitly called in code analysed. : cli_parse_show_lvl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_lvl (1480 to 1502 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1480 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1480 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1480 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1499 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1480 | Static procedure is not explicitly called in code analysed. : cli_parse_set_lvl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_expert_mode (1506 to 1520 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1506 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1506 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1506 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1506 | Static procedure is not explicitly called in code analysed. : cli_parse_expert_mode | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_default (1523 to 1526 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1523 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_ratelimit (1529 to 1574 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1529 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1529 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1529 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1531 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 1538 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1538 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1564 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1529 | Static procedure is not explicitly called in code analysed. : cli_parse_set_ratelimit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_expose_fd (1577 to 1592 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1577 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1577 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1579 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1580 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing fd type" , args [ cur_arg | GJB 4.6.1.8 |
M | 1583 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1586 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' only supports 'listeners' (got '%s')" , args [ cur_arg | GJB 4.6.1.8 |
M | 1586 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' only supports 'listeners' (got '%s')" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1577 | Static procedure is not explicitly called in code analysed. : bind_parse_expose_fd | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_level (1595 to 1618 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1595 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1595 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1597 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1598 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing level" , args [ cur_arg | GJB 4.6.1.8 |
M | 1602 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1605 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1608 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1612 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' only supports 'user', 'operator', and 'admin' (got '%s')" , args [ cur_arg | GJB 4.6.1.8 |
M | 1612 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' only supports 'user', 'operator', and 'admin' (got '%s')" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1595 | Static procedure is not explicitly called in code analysed. : bind_parse_level | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_severity_output (1620 to 1634 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1622 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1623 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing severity format" , args [ cur_arg | GJB 4.6.1.8 |
M | 1627 | Value is not of appropriate type. : (unsigned int and int): & conf -> severity_output , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1630 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' only supports 'none', 'number', and 'string' (got '%s')" , args [ cur_arg | GJB 4.6.1.8 |
M | 1630 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' only supports 'none', 'number', and 'string' (got '%s')" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1627 | Actual and formal parameters inconsistent (MR). : (int): param 1 | GJB 4.7.1.9 |
M | 1620 | Static procedure is not explicitly called in code analysed. : bind_parse_severity_output | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_getsocks (1637 to 1822 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1712 | Pointer not checked for null before use. : cmsg | GJB 5.1.15 |
M | 1750 | Pointer not checked for null before use. : if_name | GJB 5.1.15 |
M | 1767 | Pointer not checked for null before use. : tmpbuf | GJB 5.1.15 |
M | 1773 | Pointer not checked for null before use. : tmpbuf | GJB 5.1.15 |
M | 1767 | Pointer not checked for null before use. : ns_name | GJB 5.1.15 |
M | 1637 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1637 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1637 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1639 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1647 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 1648 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1661 | goto detected. | GJB 4.5.1.2 |
M | 1670 | goto detected. | GJB 4.5.1.2 |
M | 1672 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1672 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1672 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1675 | goto detected. | GJB 4.5.1.2 |
M | 1679 | goto detected. | GJB 4.5.1.2 |
M | 1681 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1685 | goto detected. | GJB 4.5.1.2 |
M | 1686 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1692 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1692 | Value is not of appropriate type. : (unsigned int and int): tot_fd_nb += fdtab [ cur_fd | GJB 4.6.1.8 |
M | 1695 | goto detected. | GJB 4.5.1.2 |
M | 1703 | Signed/unsigned conversion without cast. : (int and unsigned int): ret != sizeof | GJB 4.6.1.9 |
M | 1705 | goto detected. | GJB 4.5.1.2 |
M | 1710 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1710 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1712 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1712 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1727 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1727 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1727 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1730 | goto detected. | GJB 4.5.1.2 |
M | 1736 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ cur_fd | GJB 4.6.1.8 |
M | 1739 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1740 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1740 | Signed/unsigned conversion without cast. : (unsigned char and int): ns_nlen = if_nlen | GJB 4.6.1.9 |
M | 1745 | Value is not of appropriate type. : (unsigned int and int): fdtab [ cur_fd | GJB 4.6.1.8 |
M | 1746 | Value is not of appropriate type. : (unsigned int and int): fdtab [ cur_fd | GJB 4.6.1.8 |
M | 1762 | Value is not of appropriate type. : (unsigned int and int): tmpfd [ nb_queued ++ | GJB 4.6.1.8 |
M | 1765 | Value is not of appropriate type. : (unsigned int and int): tmpbuf [ curoff ++ | GJB 4.6.1.8 |
M | 1771 | Value is not of appropriate type. : (unsigned int and int): tmpbuf [ curoff ++ | GJB 4.6.1.8 |
M | 1777 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1778 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1781 | Signed/unsigned conversion without cast. : (int and unsigned int): nb_queued == MAX_SEND_FD | GJB 4.6.1.9 |
M | 1791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1791 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1805 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1806 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1809 | goto detected. | GJB 4.5.1.2 |
M | 1814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1816 | goto detected. | GJB 4.5.1.2 |
M | 1819 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1820 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1637 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 1822 | Memory not freed after last reference. : cmsgbuf | GJB 5.1.17 |
M | 1822 | Memory not freed after last reference. : tmpbuf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_simple (1824 to 1837 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1824 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1824 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1824 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1834 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1824 | Static procedure is not explicitly called in code analysed. : cli_parse_simple | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_write_prompt (1839 to 1857 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1848 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 1856 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1839 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_reply_and_close (1862 to 1868 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1866 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 1862 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1862 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_pid_to_server (1870 to 1884 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1872 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_prefix_to_pid (1892 to 1949 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1892 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1896 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1941 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1941 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1942 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1895 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_find_and_exec_kw (1956 to 2004 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1956 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1956 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1956 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2001 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_parse_request (2015 to 2154 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2151 | Name redeclared in another C name space (MR). : end | GJB 4.1.1.16 |
M | 2137 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 2129 | Pointer not checked for null before use. : trim | GJB 5.1.15 |
M | 2015 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2015 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2018 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2018 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2019 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2019 | Name reused in inner scope. : args | GJB 4.15.1.2,4.15.1.5 |
M | 2021 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2021 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2022 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2023 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2023 | Name reused in inner scope. : payload | GJB 4.15.1.2,4.15.1.5 |
M | 2027 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2034 | Expression needs brackets. | GJB 5.1.2 |
M | 2036 | Value is not of appropriate type. : (unsigned int and int): p [ reql | GJB 4.6.1.8 |
M | 2040 | Value is not of appropriate type. : (unsigned int and int): p [ reql | GJB 4.6.1.8 |
M | 2040 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2040 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2040 | Value is not of appropriate type. : (unsigned int and int): p [ reql | GJB 4.6.1.8 |
M | 2042 | Value is not of appropriate type. : (unsigned int and int): p [ reql | GJB 4.6.1.8 |
M | 2049 | Expression needs brackets. | GJB 5.1.2 |
M | 2050 | Value is not of appropriate type. : (unsigned int and int): p [ reql | GJB 4.6.1.8 |
M | 2063 | Expression needs brackets. | GJB 5.1.2 |
M | 2063 | Type conversion without cast. : (signed char and char): * ( end - 1 ) != '\n' | GJB 4.6.1.9 |
M | 2073 | Modification of string literal. : end | GJB 5.1.19 |
M | 2073 | Type conversion without cast. : (signed char and char): end - 1 ) = '\0' | GJB 4.6.1.9 |
M | 2076 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2076 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2082 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 2087 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2087 | Expression needs brackets. | GJB 5.1.2 |
M | 2089 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2089 | Expression needs brackets. | GJB 5.1.2 |
M | 2095 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2101 | Expression needs brackets. | GJB 5.1.2 |
M | 2102 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2102 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 2109 | Expression needs brackets. | GJB 5.1.2 |
M | 2111 | Modification of string literal. : p | GJB 5.1.19 |
M | 2122 | Modification of string literal. : end | GJB 5.1.19 |
M | 2122 | Type conversion without cast. : (signed char and char): end - 1 ) = '\n' | GJB 4.6.1.9 |
M | 2125 | Array bound exceeded. : args[][*]; accessed=0 | GJB 4.6.1.2 |
M | 2125 | Value is not of appropriate type. : (unsigned int and int): trim = &args [ wtrim | GJB 4.6.1.8 |
M | 2142 | goto detected. | GJB 4.5.1.2 |
M | 2145 | Signed/unsigned conversion without cast. : (int and unsigned int): ret += strlen | GJB 4.6.1.9 |
M | 2145 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2148 | Signed/unsigned conversion without cast. : (int and unsigned int): ret += strlen | GJB 4.6.1.9 |
M | 2148 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2149 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2019 | Procedure contains UR data flow anomalies. : args |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_wait_for_request (2156 to 2249 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2156 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2177 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2190 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2190 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2233 | goto detected. | GJB 4.5.1.2 |
M | 2234 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2240 | goto detected. | GJB 4.5.1.2 |
M | 2241 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2248 | goto detected. | GJB 4.5.1.2 |
M | 2156 | Function has no return statement. : pcli_wait_for_request | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcli_wait_for_response (2251 to 2433 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2315 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 2251 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2316 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2337 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2338 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2362 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2384 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_cli_proxy_stop (2442 to 2446 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2442 | Empty parameter list to procedure/function. : mworker_cli_proxy_stop | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_cli_proxy_create (2451 to 2552 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2482 | Pointer not checked for null before use. : (mworker_proxy)->conf.file | GJB 5.1.15 |
M | 2540 | Pointer not checked for null before use. : (child)->(srv)->conf.file | GJB 5.1.15 |
M | 2451 | Empty parameter list to procedure/function. : mworker_cli_proxy_create | GJB 4.1.1.10 |
M | 2454 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2457 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2497 | goto detected. | GJB 4.5.1.2 |
M | 2512 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2512 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2514 | goto detected. | GJB 4.5.1.2 |
M | 2516 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2516 | free used on string. | GJB 5.1.19 |
M | 2520 | goto detected. | GJB 4.5.1.2 |
M | 2539 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2540 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2541 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2544 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2545 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2546 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2548 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2548 | free used on string. | GJB 5.1.19 |
M | 2549 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2549 | free used on string. | GJB 5.1.19 |
M | 2552 | Memory not freed after last reference. : msg | GJB 5.1.17 |
M | 2552 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 2488 | Procedure contains UR data flow anomalies. : port | GJB 4.13.1.4 |
M | 2488 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 2488 | Procedure contains UR data flow anomalies. : port2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_cli_proxy_new_listener (2557 to 2654 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2648 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 2587 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 2651 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 2557 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2561 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2562 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2562 | Name reused in inner scope. : args | GJB 4.15.1.2,4.15.1.5 |
M | 2570 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2573 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2575 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2576 | Value is not of appropriate type. : (unsigned int and int): args [ arg ++ | GJB 4.6.1.8 |
M | 2581 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 2585 | goto detected. | GJB 4.5.1.2 |
M | 2592 | goto detected. | GJB 4.5.1.2 |
M | 2597 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 2601 | Value is not of appropriate type. : (unsigned int and int): kw = bind_find_kw ( args [ cur_arg | GJB 4.6.1.8 |
M | 2604 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & err , "'%s %s' : '%s' option is not implemented in this version (check build options)." , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2606 | goto detected. | GJB 4.5.1.2 |
M | 2613 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & err , "'%s %s' : error encountered while processing '%s'" , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2615 | goto detected. | GJB 4.5.1.2 |
M | 2628 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & err , "'%s %s' : unknown keyword '%s'.%s%s" , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2631 | goto detected. | GJB 4.5.1.2 |
M | 2650 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2650 | free used on string. | GJB 5.1.19 |
M | 2651 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2654 | Memory not freed after last reference. : err | GJB 5.1.17 |
M | 2560 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 2648 | Identifier reuse: label vs variable (MR). : err |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_cli_sockpair_new (2660 to 2723 cli.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2685 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 2664 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2665 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2675 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2675 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2677 | goto detected. | GJB 4.5.1.2 |
M | 2683 | goto detected. | GJB 4.5.1.2 |
M | 2688 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 2693 | goto detected. | GJB 4.5.1.2 |
M | 2697 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2697 | free used on string. | GJB 5.1.19 |
M | 2699 | goto detected. | GJB 4.5.1.2 |
M | 2701 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2701 | free used on string. | GJB 5.1.19 |
M | 2720 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2720 | free used on string. | GJB 5.1.19 |
M | 2723 | Memory not freed after last reference. : path | GJB 5.1.17 |
M | 2723 | Memory not freed after last reference. : err | GJB 5.1.17 |
M | 2663 | Procedure contains UR data flow anomalies. : l |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_append_type (113 to 123 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 118 | Pointer not checked for null before use. : comp_type | GJB 5.1.15 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 117 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 118 | Signed/unsigned conversion without cast. : (int and unsigned int): comp_type -> name_len = strlen | GJB 4.6.1.9 |
M | 123 | Memory not freed after last reference. : comp_type |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_append_algo (128 to 143 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 137 | Pointer not checked for null before use. : comp_algo | GJB 5.1.15 |
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 131 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 133 | Value is not of appropriate type. : (unsigned int and int): comp_algos [ i | GJB 4.6.1.8 |
M | 134 | Value is not of appropriate type. : (unsigned int and int): strcmp ( algo , comp_algos [ i | GJB 4.6.1.8 |
M | 135 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 136 | Value is not of appropriate type. : (unsigned int and int): memmove ( comp_algo , & comp_algos [ i | GJB 4.6.1.8 |
M | 136 | Use of sizeof on a type. | GJB 5.1.8 |
M | 143 | Memory not freed after last reference. : comp_algo |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
identity_init (206 to 209 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 206 | Static procedure is not explicitly called in code analysed. : identity_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
identity_add_data (215 to 228 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 223 | Pointer not checked for null before use. : out_data | GJB 5.1.15 |
M | 215 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | Static procedure is not explicitly called in code analysed. : identity_add_data | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
identity_flush (230 to 233 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 230 | Static procedure is not explicitly called in code analysed. : identity_flush | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
identity_finish (235 to 238 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 235 | Static procedure is not explicitly called in code analysed. : identity_finish | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
identity_end (243 to 246 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 243 | Static procedure is not explicitly called in code analysed. : identity_end | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__comp_fetch_init (714 to 724 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 714 | Static procedure is not explicitly called in code analysed. : __comp_fetch_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_register_build_opts (726 to 748 compression.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 728 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 729 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 741 | Value is not of appropriate type. : (unsigned int and int): comp_algos [ i | GJB 4.6.1.8 |
M | 742 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 742 | Value is not of appropriate type. : (unsigned int and int): comp_algos [ i | GJB 4.6.1.8 |
M | 742 | Value is not of appropriate type. : (unsigned int and int): comp_algos [ i ].cfg_name , comp_algos [ i | GJB 4.6.1.8 |
M | 726 | Static procedure is not explicitly called in code analysed. : comp_register_build_opts | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_hdr_init (40 to 76 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 40 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 56 | Signed/unsigned conversion without cast. : (int and unsigned int): retptr -> id_len = strlen | GJB 4.6.1.9 |
M | 40 | Function has no return statement. : flt_ot_conf_hdr_init | GJB 4.9.1.1 |
M | 42 | Procedure contains UR data flow anomalies. : ptr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_ph_init (95 to 106 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 95 | Function has no return statement. : flt_ot_conf_ph_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_ph_free (122 to 136 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_sample_expr_init (155 to 166 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 155 | Function has no return statement. : flt_ot_conf_sample_expr_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_sample_expr_free (182 to 197 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_sample_init (216 to 239 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 216 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 216 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 216 | Function has no return statement. : flt_ot_conf_sample_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_sample_free (255 to 271 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_str_init (290 to 301 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 290 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 290 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 290 | Function has no return statement. : flt_ot_conf_str_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_str_free (317 to 331 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_context_init (350 to 361 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 350 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 350 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 350 | Function has no return statement. : flt_ot_conf_context_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_context_free (377 to 391 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_span_init (410 to 427 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 410 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 410 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 410 | Function has no return statement. : flt_ot_conf_span_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_span_free (443 to 462 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_scope_init (481 to 499 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 481 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 481 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 481 | Function has no return statement. : flt_ot_conf_scope_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_scope_free (514 to 542 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_group_init (561 to 576 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 561 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 561 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 561 | Function has no return statement. : flt_ot_conf_group_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_group_free (592 to 607 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_tracer_init (625 to 644 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 631 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 625 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 625 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 625 | Function has no return statement. : flt_ot_conf_tracer_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_tracer_free (660 to 691 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_init (707 to 724 conf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 707 | Function has no return statement. : flt_ot_conf_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_conf_free (740 to 757 conf.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_create_mux (46 to 85 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 54 | goto detected. | GJB 4.5.1.2 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 58 | goto detected. | GJB 4.5.1.2 |
M | 61 | goto detected. | GJB 4.5.1.2 |
M | 61 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 76 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_ctrl_send (99 to 128 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 121 | Pointer not checked for null before use. : xprt | GJB 5.1.15 |
M | 101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 106 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 109 | goto detected. | GJB 4.5.1.2 |
M | 112 | goto detected. | GJB 4.5.1.2 |
M | 112 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 116 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_unsubscribe (135 to 148 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_subscribe (156 to 175 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_ctrl_drain (183 to 195 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 187 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 187 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 193 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_tlv_length (200 to 203 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 202 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 202 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_recv_proxy (228 to 582 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 276 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 288 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 405 | Pointer not checked for null before use. : hdr_v2 | GJB 5.1.15 |
M | 283 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 395 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 288 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 369 | Pointer not checked for null before use. : src_s | GJB 5.1.15 |
M | 361 | Pointer not checked for null before use. : sport_s | GJB 5.1.15 |
M | 361 | Pointer not checked for null before use. : dport_s | GJB 5.1.15 |
M | 230 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 232 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 232 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 238 | goto detected. | GJB 4.5.1.2 |
M | 240 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 240 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 241 | goto detected. | GJB 4.5.1.2 |
M | 244 | goto detected. | GJB 4.5.1.2 |
M | 249 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 251 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 253 | goto detected. | GJB 4.5.1.2 |
M | 255 | goto detected. | GJB 4.5.1.2 |
M | 264 | goto detected. | GJB 4.5.1.2 |
M | 270 | goto detected. | GJB 4.5.1.2 |
M | 277 | goto detected. | GJB 4.5.1.2 |
M | 281 | goto detected. | GJB 4.5.1.2 |
M | 290 | goto detected. | GJB 4.5.1.2 |
M | 291 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 291 | Expression needs brackets. | GJB 5.1.2 |
M | 292 | goto detected. | GJB 4.5.1.2 |
M | 296 | goto detected. | GJB 4.5.1.2 |
M | 297 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 297 | Expression needs brackets. | GJB 5.1.2 |
M | 298 | goto detected. | GJB 4.5.1.2 |
M | 300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 302 | goto detected. | GJB 4.5.1.2 |
M | 303 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 303 | Expression needs brackets. | GJB 5.1.2 |
M | 304 | goto detected. | GJB 4.5.1.2 |
M | 306 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 306 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 307 | Expression needs brackets. | GJB 5.1.2 |
M | 308 | goto detected. | GJB 4.5.1.2 |
M | 309 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 309 | Expression needs brackets. | GJB 5.1.2 |
M | 310 | goto detected. | GJB 4.5.1.2 |
M | 311 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 311 | Expression needs brackets. | GJB 5.1.2 |
M | 312 | goto detected. | GJB 4.5.1.2 |
M | 326 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 333 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 335 | Expression needs brackets. | GJB 5.1.2 |
M | 336 | goto detected. | GJB 4.5.1.2 |
M | 341 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 341 | Expression needs brackets. | GJB 5.1.2 |
M | 342 | goto detected. | GJB 4.5.1.2 |
M | 344 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 353 | Else alternative missing in if. | GJB 4.3.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 359 | goto detected. | GJB 4.5.1.2 |
M | 361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 361 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 362 | Value is not of appropriate type. : (char and signed char): * sport_s != 0 | GJB 4.6.1.8 |
M | 363 | goto detected. | GJB 4.5.1.2 |
M | 365 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 365 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 366 | Value is not of appropriate type. : (char and signed char): * dport_s != 0 | GJB 4.6.1.8 |
M | 367 | goto detected. | GJB 4.5.1.2 |
M | 369 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 370 | goto detected. | GJB 4.5.1.2 |
M | 372 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 373 | goto detected. | GJB 4.5.1.2 |
M | 377 | Use of sizeof on a type. | GJB 5.1.8 |
M | 381 | Use of sizeof on a type. | GJB 5.1.8 |
M | 392 | goto detected. | GJB 4.5.1.2 |
M | 396 | goto detected. | GJB 4.5.1.2 |
M | 401 | goto detected. | GJB 4.5.1.2 |
M | 405 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 408 | goto detected. | GJB 4.5.1.2 |
M | 411 | Signed/unsigned conversion without cast. : (unsigned int and int): total_v2_len = PP2_HEADER_LEN | GJB 4.6.1.9 |
M | 413 | goto detected. | GJB 4.5.1.2 |
M | 420 | goto detected. | GJB 4.5.1.2 |
M | 429 | Signed/unsigned conversion without cast. : (unsigned int and int): tlv_offset = PP2_HEADER_LEN | GJB 4.6.1.9 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 442 | Signed/unsigned conversion without cast. : (unsigned int and int): tlv_offset = PP2_HEADER_LEN | GJB 4.6.1.9 |
M | 417 | No default case in switch statement. | GJB 4.3.1.4 |
M | 452 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 452 | Expression needs brackets. | GJB 5.1.2 |
M | 453 | goto detected. | GJB 4.5.1.2 |
M | 455 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 457 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 461 | goto detected. | GJB 4.5.1.2 |
M | 468 | Signed/unsigned conversion without cast. : (unsigned int and int): tlv_len | GJB 4.6.1.9 |
M | 469 | goto detected. | GJB 4.5.1.2 |
M | 474 | Signed/unsigned conversion without cast. : (int and unsigned int): hash_crc32c ( trash.area , total_v2_len ) != n_crc32c | GJB 4.6.1.9 |
M | 475 | goto detected. | GJB 4.5.1.2 |
M | 490 | goto detected. | GJB 4.5.1.2 |
M | 493 | goto detected. | GJB 4.5.1.2 |
M | 494 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 495 | Signed/unsigned conversion without cast. : (int and unsigned int): conn -> proxy_authority_len = tlv_len | GJB 4.6.1.9 |
M | 499 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 502 | goto detected. | GJB 4.5.1.2 |
M | 505 | goto detected. | GJB 4.5.1.2 |
M | 510 | goto detected. | GJB 4.5.1.2 |
M | 525 | goto detected. | GJB 4.5.1.2 |
M | 533 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 534 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 547 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 550 | goto detected. | GJB 4.5.1.2 |
M | 567 | goto detected. | GJB 4.5.1.2 |
M | 572 | goto detected. | GJB 4.5.1.2 |
M | 577 | goto detected. | GJB 4.5.1.2 |
M | 333 | Procedure contains UR data flow anomalies. : dport_s | GJB 4.13.1.4 |
M | 328 | Procedure contains UR data flow anomalies. : dst3 | GJB 4.13.1.4 |
M | 328 | Procedure contains UR data flow anomalies. : src3 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_recv_netscaler_cip (600 to 784 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 649 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 698 | Pointer not checked for null before use. : hdr_tcp | GJB 5.1.15 |
M | 728 | Pointer not checked for null before use. : hdr_tcp | GJB 5.1.15 |
M | 743 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 674 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 687 | Pointer not checked for null before use. : hdr_ip4 | GJB 5.1.15 |
M | 717 | Pointer not checked for null before use. : hdr_ip6 | GJB 5.1.15 |
M | 602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 608 | goto detected. | GJB 4.5.1.2 |
M | 610 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 610 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 611 | goto detected. | GJB 4.5.1.2 |
M | 614 | goto detected. | GJB 4.5.1.2 |
M | 619 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 621 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 623 | goto detected. | GJB 4.5.1.2 |
M | 625 | goto detected. | GJB 4.5.1.2 |
M | 636 | goto detected. | GJB 4.5.1.2 |
M | 643 | goto detected. | GJB 4.5.1.2 |
M | 650 | goto detected. | GJB 4.5.1.2 |
M | 665 | goto detected. | GJB 4.5.1.2 |
M | 671 | goto detected. | GJB 4.5.1.2 |
M | 674 | Value is not of appropriate type. : (char and short): ip_ver = ( * line | GJB 4.6.1.8 |
M | 674 | Signed/unsigned conversion without cast. : (unsigned char and short): ip_ver = ( * line & 0xf0 | GJB 4.6.1.9 |
M | 674 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 676 | Signed/unsigned conversion without cast. : (unsigned char and int): ip_ver | GJB 4.6.1.9 |
M | 680 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 682 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 682 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 685 | goto detected. | GJB 4.5.1.2 |
M | 690 | goto detected. | GJB 4.5.1.2 |
M | 691 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 693 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 706 | Signed/unsigned conversion without cast. : (unsigned char and int): ip_ver | GJB 4.6.1.9 |
M | 710 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 712 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 712 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 715 | goto detected. | GJB 4.5.1.2 |
M | 720 | goto detected. | GJB 4.5.1.2 |
M | 721 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 723 | Use of sizeof on a type. | GJB 5.1.8 |
M | 723 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 739 | goto detected. | GJB 4.5.1.2 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 751 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 754 | goto detected. | GJB 4.5.1.2 |
M | 770 | goto detected. | GJB 4.5.1.2 |
M | 774 | goto detected. | GJB 4.5.1.2 |
M | 779 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_send_socks4_proxy_request (787 to 863 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 792 | goto detected. | GJB 4.5.1.2 |
M | 795 | goto detected. | GJB 4.5.1.2 |
M | 818 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 818 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 818 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 820 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 820 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 826 | goto detected. | GJB 4.5.1.2 |
M | 831 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_recv_socks4_proxy_response (865 to 982 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 867 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 871 | goto detected. | GJB 4.5.1.2 |
M | 874 | goto detected. | GJB 4.5.1.2 |
M | 884 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 889 | goto detected. | GJB 4.5.1.2 |
M | 897 | Value is not of appropriate type. : (unsigned int and int): DPRINTF ( stderr , "SOCKS PROXY HS FD[%04X]: Received ret[%d], first byte is [%02X], last bye is [%02X]\n" , conn -> handle.fd , ret , line [ 0 ] , line [ ret - 1 | GJB 4.6.1.8 |
M | 900 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 904 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 907 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 909 | goto detected. | GJB 4.5.1.2 |
M | 911 | goto detected. | GJB 4.5.1.2 |
M | 922 | goto detected. | GJB 4.5.1.2 |
M | 948 | goto detected. | GJB 4.5.1.2 |
M | 954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 954 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | goto detected. | GJB 4.5.1.2 |
M | 977 | goto detected. | GJB 4.5.1.2 |
M | 867 | Procedure contains UR data flow anomalies. : line | GJB 4.13.1.4 |
M | 868 | Procedure contains UR data flow anomalies. : ret |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_proxy_line (985 to 1000 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 996 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 985 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_proxy_line_v1 (1009 to 1078 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1009 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1012 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1013 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1014 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1019 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1020 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1020 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1021 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1021 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1031 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1031 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1033 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1035 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1036 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1038 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1048 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1049 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1052 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1053 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1061 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1062 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1065 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1066 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1014 | Procedure contains UR data flow anomalies. : dst_str | GJB 4.13.1.4 |
M | 1013 | Procedure contains UR data flow anomalies. : src_str | GJB 4.13.1.4 |
M | 1042 | Procedure contains UR data flow anomalies. : tmp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_tlv (1080 to 1094 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1089 | Pointer not checked for null before use. : tlv | GJB 5.1.15 |
M | 1080 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1080 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1080 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1084 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1084 | Expression needs brackets. | GJB 5.1.2 |
M | 1084 | Signed/unsigned conversion without cast. : (unsigned int and int): ( length + sizeof ( * tlv ) > dest_len | GJB 4.6.1.9 |
M | 1087 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1089 | Type conversion without cast. : (int and char): tlv -> type = type | GJB 4.6.1.9 |
M | 1093 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1093 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_proxy_line_v2 (1097 to 1294 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1209 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 1217 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 1097 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1099 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1099 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 1102 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1103 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 1106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1133 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1133 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1137 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1138 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1139 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1140 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1151 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1153 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1156 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1157 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1160 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1162 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1165 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1166 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1176 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1176 | Signed/unsigned conversion without cast. : (int and unsigned int): ( buf_len - ret ) < sizeof | GJB 4.6.1.9 |
M | 1178 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1178 | Value is not of appropriate type. : (unsigned int and int): ( struct tlv * ) & buf [ ret | GJB 4.6.1.8 |
M | 1179 | Value is not of appropriate type. : (unsigned int and int): & buf [ ret | GJB 4.6.1.8 |
M | 1179 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1179 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1182 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1183 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1183 | Signed/unsigned conversion without cast. : (int and unsigned int): ( buf_len - ret ) < sizeof | GJB 4.6.1.9 |
M | 1185 | Value is not of appropriate type. : (unsigned int and int): & buf [ ret | GJB 4.6.1.8 |
M | 1201 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1201 | Signed/unsigned conversion without cast. : (int and unsigned int): ( buf_len - ret ) < sizeof | GJB 4.6.1.9 |
M | 1203 | Value is not of appropriate type. : (unsigned int and int): & buf [ ret | GJB 4.6.1.8 |
M | 1215 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1215 | Signed/unsigned conversion without cast. : (int and unsigned int): ( buf_len - ret ) < sizeof | GJB 4.6.1.9 |
M | 1217 | Value is not of appropriate type. : (unsigned int and int): & buf [ ret | GJB 4.6.1.8 |
M | 1287 | Value is not of appropriate type. : (unsigned short and int): ( uint16_t ) ( ret - PP2_HEADER_LEN | GJB 4.6.1.8 |
M | 1179 | Actual and formal parameters inconsistent (MR). : (unsigned int and unsigned short): param 4 | GJB 4.7.1.9 |
M | 1185 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1203 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1217 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1145 | Procedure contains UR data flow anomalies. : tmp | GJB 4.13.1.4 |
M | 1189 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 1106 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 1107 | Procedure contains UR data flow anomalies. : value_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_pp2_never_send_local (1297 to 1305 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1297 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1297 | Static procedure is not explicitly called in code analysed. : cfg_parse_pp2_never_send_local | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fc_http_major (1310 to 1319 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1311 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1311 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1317 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1310 | Static procedure is not explicitly called in code analysed. : smp_fetch_fc_http_major | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fc_rcvd_proxy (1322 to 1340 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1322 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fc_pp_authority (1343 to 1365 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1343 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1343 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fc_pp_unique_id (1368 to 1390 connection.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1368 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1368 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_json_file (37 to 47 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 37 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 39 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 41 | Expression needs brackets. | GJB 5.1.2 |
M | 41 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 37 | Static procedure is not explicitly called in code analysed. : da_json_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_log_level (49 to 67 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Name redeclared in another C name space (MR). : loglevel | GJB 4.1.1.16 |
M | 49 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 51 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 54 | Expression needs brackets. | GJB 5.1.2 |
M | 54 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 49 | Static procedure is not explicitly called in code analysed. : da_log_level | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_property_separator (69 to 79 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 70 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 71 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 73 | Expression needs brackets. | GJB 5.1.2 |
M | 73 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 69 | Static procedure is not explicitly called in code analysed. : da_property_separator | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_properties_cookie (81 to 93 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 81 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 83 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 85 | Expression needs brackets. | GJB 5.1.2 |
M | 85 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 81 | Static procedure is not explicitly called in code analysed. : da_properties_cookie | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy_read (95 to 98 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 95 | Static procedure is not explicitly called in code analysed. : da_haproxy_read | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy_seek (100 to 103 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 100 | Static procedure is not explicitly called in code analysed. : da_haproxy_seek | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy_log (105 to 113 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 105 | Static procedure is not explicitly called in code analysed. : da_haproxy_log | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_deviceatlas (120 to 173 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 161 | Pointer not checked for null before use. : global_deviceatlas.cookiename | GJB 5.1.15 |
M | 126 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 135 | goto detected. | GJB 4.5.1.2 |
M | 147 | goto detected. | GJB 4.5.1.2 |
M | 156 | goto detected. | GJB 4.5.1.2 |
M | 120 | Static procedure is not explicitly called in code analysed. : init_deviceatlas | GJB 4.7.1.3 |
M | 127 | Procedure contains UR data flow anomalies. : atlasimglen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_deviceatlas (175 to 188 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 183 | Pointer not checked for null before use. : global_deviceatlas.cookiename | GJB 5.1.15 |
M | 183 | Pointer not checked for null before use. : global_deviceatlas.jsonpath | GJB 5.1.15 |
M | 178 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 181 | Signed/unsigned conversion without cast. : (unsigned char and int): global_deviceatlas.daset | GJB 4.6.1.9 |
M | 182 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 184 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 175 | Static procedure is not explicitly called in code analysed. : deinit_deviceatlas | GJB 4.7.1.3 |
M | 183 | Attempt to read from freed memory. : global_deviceatlas | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy (190 to 261 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 200 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 196 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 197 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | Value is not of appropriate type. : (unsigned int and int): i ++ , propname = ( const char * ) args [ i | GJB 4.6.1.8 |
M | 226 | Null case in switch statement. | GJB 4.3.1.8 |
M | 235 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 253 | Value is not of appropriate type. : (unsigned int and int): tmp -> area [ tmp -> data | GJB 4.6.1.8 |
M | 193 | Procedure contains UR data flow anomalies. : prop | GJB 4.13.1.4 |
M | 218 | Procedure contains UR data flow anomalies. : val | GJB 4.13.1.4 |
M | 227 | Procedure contains UR data flow anomalies. : val | GJB 4.13.1.4 |
M | 235 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy_conv (263 to 285 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 263 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 268 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 268 | Value is not of appropriate type. : (char and unsigned char): useragentbuf [ 1024 ] = | GJB 4.6.1.8 |
M | 269 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 271 | Signed/unsigned conversion without cast. : (unsigned char and int): global_deviceatlas.daset | GJB 4.6.1.9 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 277 | Value is not of appropriate type. : (unsigned int and int): useragentbuf [ i - 1 | GJB 4.6.1.8 |
M | 279 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 279 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 263 | Static procedure is not explicitly called in code analysed. : da_haproxy_conv | GJB 4.7.1.3 |
M | 265 | Procedure contains UR data flow anomalies. : devinfo |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy_fetch (289 to 384 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 356 | Pointer not checked for null before use. : eval | GJB 5.1.15 |
M | 305 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 310 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 319 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 373 | Pointer not checked for null before use. : pval | GJB 5.1.15 |
M | 289 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 289 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 297 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 297 | Array initialisation has insufficient items. : vbuf[*]; given=1, expected=24 | GJB 5.1.20 |
M | 297 | Array initialisation has insufficient items. : vbuf[0][*]; given=1, expected=1024 | GJB 5.1.20 |
M | 298 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 300 | Signed/unsigned conversion without cast. : (unsigned char and int): global_deviceatlas.daset | GJB 4.6.1.9 |
M | 310 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 312 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 316 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 316 | Value is not of appropriate type. : (char and unsigned char): hbuf [ 24 ] = | GJB 4.6.1.8 |
M | 317 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 317 | Value is not of appropriate type. : (char and unsigned char): tval [ 1024 ] = | GJB 4.6.1.8 |
M | 336 | Value is not of appropriate type. : (unsigned int and int): hbuf [ n.len | GJB 4.6.1.8 |
M | 340 | Signed/unsigned conversion without cast. : (int and unsigned int): i = v.len > sizeof | GJB 4.6.1.9 |
M | 340 | Value is not of appropriate type. : (bool and unsigned char): i = v.len > sizeof ( tval ) | GJB 4.6.1.8 |
M | 340 | Expression needs brackets. | GJB 5.1.2 |
M | 340 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 342 | Value is not of appropriate type. : (unsigned int and int): tval [ i | GJB 4.6.1.8 |
M | 348 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 348 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 361 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 362 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 372 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 372 | Value is not of appropriate type. : (unsigned int and int): i = vlen > sizeof ( vbuf [ nbh | GJB 4.6.1.8 |
M | 372 | Value is not of appropriate type. : (bool and unsigned char): i = vlen > sizeof ( vbuf [ nbh ] ) | GJB 4.6.1.8 |
M | 372 | Expression needs brackets. | GJB 5.1.2 |
M | 372 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 372 | Value is not of appropriate type. : (unsigned int and int): sizeof ( vbuf [ nbh | GJB 4.6.1.8 |
M | 372 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 373 | Value is not of appropriate type. : (unsigned int and int): memcpy ( vbuf [ nbh | GJB 4.6.1.8 |
M | 374 | Value is not of appropriate type. : (unsigned int and int): vbuf [ nbh | GJB 4.6.1.8 |
M | 374 | Value is not of appropriate type. : (unsigned int and int): vbuf [ nbh ] [ i | GJB 4.6.1.8 |
M | 375 | Value is not of appropriate type. : (unsigned int and int): ev [ nbh | GJB 4.6.1.8 |
M | 376 | Value is not of appropriate type. : (unsigned int and int): ev [ nbh | GJB 4.6.1.8 |
M | 376 | Value is not of appropriate type. : (unsigned int and int): ev [ nbh ].value = vbuf [ nbh | GJB 4.6.1.8 |
M | 289 | Static procedure is not explicitly called in code analysed. : da_haproxy_fetch | GJB 4.7.1.3 |
M | 292 | Procedure contains UR data flow anomalies. : devinfo | GJB 4.13.1.4 |
M | 348 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 349 | Procedure contains UR data flow anomalies. : pl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_haproxy_register_build_options (410 to 420 da.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 410 | Empty parameter list to procedure/function. : da_haproxy_register_build_options | GJB 4.1.1.10 |
M | 412 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 410 | Static procedure is not explicitly called in code analysed. : da_haproxy_register_build_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_init (17 to 20 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 18 | Empty parameter list to procedure/function. : da_init | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_fini (22 to 25 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 23 | Empty parameter list to procedure/function. : da_fini | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_typename (33 to 37 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_getdataversion (39 to 43 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_atlas_open (63 to 69 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 66 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 67 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 68 | Attempt to read from freed memory. : ptr2 | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_atlas_header_evidence_id (88 to 92 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 89 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_atlas_getpropname (101 to 106 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 102 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_atlas_getpropid (108 to 113 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_atlas_getpropcount (115 to 119 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 118 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_searchv (126 to 132 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | Pointer not checked for null before use. : result | GJB 5.1.15 |
M | 130 | Signed/unsigned conversion without cast. : (int and unsigned int): result -> propcount = count | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_search (134 to 149 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 135 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 138 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 141 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 141 | Expression needs brackets. | GJB 5.1.2 |
M | 145 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 148 | Actual and formal parameters inconsistent (MR). : (da_evidence_t): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_getpropcount (154 to 158 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 157 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_getfirstprop (160 to 167 dac.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_getnextprop (169 to 176 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 172 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_getpropname (183 to 188 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 184 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_getpropstring (204 to 209 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
da_get_property_name (218 to 222 dac.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 218 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_prng (47 to 53 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 47 | Empty parameter list to procedure/function. : debug_prng | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_thread_dump (62 to 166 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 64 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 65 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 65 | Value is not of appropriate type. : (unsigned int and int): ha_thread_info [ thr | GJB 4.6.1.8 |
M | 66 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 66 | Value is not of appropriate type. : (unsigned int and int): now_cpu_time_thread ( & ha_thread_info [ thr | GJB 4.6.1.8 |
M | 67 | Value is not of appropriate type. : (unsigned int and int): ! ! ( ha_thread_info [ thr | GJB 4.6.1.8 |
M | 76 | Value is not of appropriate type. : (unsigned int and int): eb_is_empty ( & task_per_thread [ thr | GJB 4.6.1.8 |
M | 77 | Value is not of appropriate type. : (unsigned int and int): eb_is_empty ( & task_per_thread [ thr | GJB 4.6.1.8 |
M | 78 | Value is not of appropriate type. : (unsigned int and int): LIST_ISEMPTY ( & task_per_thread [ thr | GJB 4.6.1.8 |
M | 78 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 79 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 79 | Value is not of appropriate type. : (unsigned int and int): LIST_ISEMPTY ( & task_per_thread [ thr | GJB 4.6.1.8 |
M | 79 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 80 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 80 | Value is not of appropriate type. : (unsigned int and int): LIST_ISEMPTY ( & task_per_thread [ thr | GJB 4.6.1.8 |
M | 80 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 81 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_ISEMPTY ( & task_per_thread [ thr | GJB 4.6.1.8 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): ) , task_per_thread [ thr | GJB 4.6.1.8 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): ) , task_per_thread [ thr ].task_list_size , task_per_thread [ thr | GJB 4.6.1.8 |
M | 93 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_task_dump (175 to 243 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 213 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 216 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 175 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 179 | Name reused in inner scope. : __maybe_unused | GJB 4.15.1.2,4.15.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Value is not of appropriate type. : (uns long long and int): ( unsigned long long ) ( now_mono_time () - task -> call_date | GJB 4.6.1.8 |
M | 203 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 203 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 210 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 212 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_threads (248 to 271 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 248 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_threads | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_panic (274 to 282 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 274 | Empty parameter list to procedure/function. : ha_panic | GJB 4.1.1.10 |
M | 281 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_exit (285 to 295 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 285 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 285 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 285 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 287 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 285 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_exit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_close (298 to 318 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 298 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 308 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 312 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 298 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_close | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_delay (321 to 331 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 321 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 323 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 321 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_delay | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_log (334 to 351 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 334 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 334 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 334 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 343 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 346 | Value is not of appropriate type. : (unsigned int and int): chunk_strcat ( & trash , args [ arg | GJB 4.6.1.8 |
M | 334 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_log | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_loop (354 to 370 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 354 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 354 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 357 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 367 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 354 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_loop | GJB 4.7.1.3 |
M | 356 | Procedure contains UR data flow anomalies. : deadline | GJB 4.13.1.4 |
M | 356 | Procedure contains UR data flow anomalies. : curr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_panic (373 to 381 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 373 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 373 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_panic | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_hex (460 to 485 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 482 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 460 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 460 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 460 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 479 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 479 | Value is not of appropriate type. : (unsigned long and signed char): ( start + 128 ) & | GJB 4.6.1.8 |
M | 479 | Signed/unsigned conversion without cast. : (unsigned long and signed char): ( start + 128 ) & - 16 | GJB 4.6.1.9 |
M | 460 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_hex | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_tkill (488 to 511 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 488 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 488 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 488 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 497 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 503 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 488 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_tkill | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_write (514 to 534 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 514 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 530 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data | GJB 4.6.1.8 |
M | 531 | Signed/unsigned conversion without cast. : (unsigned long and int): len | GJB 4.6.1.9 |
M | 531 | Signed/unsigned conversion without cast. : (unsigned long and int): len < trash.data | GJB 4.6.1.9 |
M | 531 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 532 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 532 | Type conversion without cast. : (int and char): trash.area [ len ] = '\n' | GJB 4.6.1.9 |
M | 514 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_write | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_stream (543 to 686 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 628 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 543 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 543 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 543 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 549 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 551 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 553 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 572 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 573 | Signed/unsigned conversion without cast. : (uns long long and int): old | GJB 4.6.1.9 |
M | 574 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 574 | Value is not of appropriate type. : (unsigned int and int): end = word = args [ arg | GJB 4.6.1.8 |
M | 575 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 575 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 575 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 575 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 576 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 581 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 581 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 585 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 585 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 589 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 589 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 591 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 591 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 593 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 593 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 599 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 599 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 601 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 601 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 605 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 605 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Casting operation on a pointer. | GJB 4.12.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 609 | Expression needs brackets. | GJB 5.1.2 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 616 | Expression needs brackets. | GJB 5.1.2 |
M | 624 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 633 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 633 | Signed/unsigned conversion without cast. : (uns long long and long long): new = strtoll | GJB 4.6.1.9 |
M | 634 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 634 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 635 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 648 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 655 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 659 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 663 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 671 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 673 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 675 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 677 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 679 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 683 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 543 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_stream | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_task_handler (688 to 709 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 704 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 706 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 688 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 701 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 704 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 688 | Static procedure is not explicitly called in code analysed. : debug_task_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_tasklet_handler (711 to 728 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 723 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 725 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 711 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 715 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 720 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 723 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 711 | Static procedure is not explicitly called in code analysed. : debug_tasklet_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_parse_cli_sched (733 to 890 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 865 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 867 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 883 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 885 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 812 | Pointer not checked for null before use. : tctx | GJB 5.1.15 |
M | 862 | Pointer not checked for null before use. : tctx | GJB 5.1.15 |
M | 846 | Pointer not checked for null before use. : tctx | GJB 5.1.15 |
M | 733 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 733 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 733 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 738 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 740 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 741 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 742 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 747 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 770 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 770 | Value is not of appropriate type. : (unsigned int and int): end = word = args [ arg | GJB 4.6.1.8 |
M | 771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 772 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 787 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 788 | Signed/unsigned conversion without cast. : (uns long long and long long): new = strtoll | GJB 4.6.1.9 |
M | 789 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 789 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 798 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 800 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 802 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 804 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 807 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 807 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 809 | goto detected. | GJB 4.5.1.2 |
M | 818 | Signed/unsigned conversion without cast. : (unsigned long and int): tmask | GJB 4.6.1.9 |
M | 819 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 820 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 823 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 823 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 836 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 841 | goto detected. | GJB 4.5.1.2 |
M | 847 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 847 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 852 | goto detected. | GJB 4.5.1.2 |
M | 856 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 856 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 861 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 862 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 865 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 876 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 877 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 883 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 888 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 733 | Static procedure is not explicitly called in code analysed. : debug_parse_cli_sched | GJB 4.7.1.3 |
M | 890 | Memory not freed after last reference. : tctx |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_thread_dump_all_to_trash (998 to 1004 debug.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 998 | Empty parameter list to procedure/function. : ha_thread_dump_all_to_trash | GJB 4.1.1.10 |
M | 1002 | Signed/unsigned conversion without cast. : (unsigned int and int): thr | GJB 4.6.1.9 |
M | 1003 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1003 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_hexdump (40 to 81 decode.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 40 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 40 | Parameter has same name as global variable. : buf | GJB 4.15.1.3 |
M | 43 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 44 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 44 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 46 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 46 | Signed/unsigned conversion without cast. : (int and unsigned int): i < ( len + ( | GJB 4.6.1.9 |
M | 46 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 47 | Signed/unsigned conversion without cast. : (int and unsigned int): b = i | GJB 4.6.1.9 |
M | 47 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 48 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 50 | Expression needs brackets. | GJB 5.1.2 |
M | 50 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 50 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 50 | Expression needs brackets. | GJB 5.1.2 |
M | 51 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , "%02x " , ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
M | 56 | Expression needs brackets. | GJB 5.1.2 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 56 | Expression needs brackets. | GJB 5.1.2 |
M | 62 | Expression needs brackets. | GJB 5.1.2 |
M | 62 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 62 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 62 | Expression needs brackets. | GJB 5.1.2 |
M | 63 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , " %02x" , ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
M | 70 | Expression needs brackets. | GJB 5.1.2 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 70 | Expression needs brackets. | GJB 5.1.2 |
M | 71 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
M | 72 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
die (90 to 100 decode.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 90 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hex2bin (107 to 152 decode.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 109 | Name redeclared in another C name space (MR). : b | GJB 4.1.1.16 |
M | 109 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 107 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 107 | Parameter has same name as global variable. : hex | GJB 4.15.1.3 |
M | 109 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 109 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 109 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 113 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 116 | Type conversion without cast. : (int and char): c = *hex | GJB 4.6.1.9 |
M | 117 | Type conversion without cast. : (int and char): c == ' ' | GJB 4.6.1.9 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Type conversion without cast. : (int and char): c == '\t' | GJB 4.6.1.9 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Type conversion without cast. : (int and char): c == '\r' | GJB 4.6.1.9 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Type conversion without cast. : (int and char): c == '-' | GJB 4.6.1.9 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Type conversion without cast. : (int and char): c == ',' | GJB 4.6.1.9 |
M | 121 | Type conversion without cast. : (int and char): c == '\n' | GJB 4.6.1.9 |
M | 121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 121 | Type conversion without cast. : (int and char): c == '#' | GJB 4.6.1.9 |
M | 124 | Type conversion without cast. : (int and char): c >= '0' | GJB 4.6.1.9 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 124 | Type conversion without cast. : (int and char): c <= '9' | GJB 4.6.1.9 |
M | 125 | Type conversion without cast. : (int and char): c -= '0' | GJB 4.6.1.9 |
M | 126 | Type conversion without cast. : (int and char): c >= 'a' | GJB 4.6.1.9 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Type conversion without cast. : (int and char): c <= 'f' | GJB 4.6.1.9 |
M | 127 | Type conversion without cast. : (int and char): c -= 'a' | GJB 4.6.1.9 |
M | 127 | Value is not of appropriate type. : (char and signed char): c -= 'a' | GJB 4.6.1.8 |
M | 128 | Type conversion without cast. : (int and char): c >= 'A' | GJB 4.6.1.9 |
M | 128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 128 | Type conversion without cast. : (int and char): c <= 'F' | GJB 4.6.1.9 |
M | 129 | Type conversion without cast. : (int and char): c -= 'A' | GJB 4.6.1.9 |
M | 129 | Value is not of appropriate type. : (char and signed char): c -= 'A' | GJB 4.6.1.8 |
M | 141 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 141 | Signed/unsigned conversion without cast. : (unsigned char and int): code = ( a << 4 | GJB 4.6.1.9 |
M | 142 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 146 | Value is not of appropriate type. : (unsigned int and int): bin [ len | GJB 4.6.1.8 |
M | 149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (154 to 215 decode.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 166 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 183 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 183 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 185 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 193 | Expression needs brackets. | GJB 5.1.2 |
M | 195 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 197 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 199 | Value is not of appropriate type. : (unsigned int and int): printf ( " %s: " , list [ idx | GJB 4.6.1.8 |
M | 200 | Value is not of appropriate type. : (unsigned int and int): istpad ( trash.area , list [ idx | GJB 4.6.1.8 |
M | 201 | Value is not of appropriate type. : (unsigned int and int): h2_phdr_to_str ( list [ idx | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): istpad ( trash.area , list [ idx | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): istpad ( trash.area , list [ idx ].v ).ptr , list [ idx | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): istpad ( trash.area , list [ idx ].v ).ptr , list [ idx ].n.ptr , ( int ) list [ idx | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): istpad ( trash.area , list [ idx ].v ).ptr , list [ idx ].n.ptr , ( int ) list [ idx ].n.len , list [ idx | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): istpad ( trash.area , list [ idx ].v ).ptr , list [ idx ].n.ptr , ( int ) list [ idx ].n.len , list [ idx ].v.ptr , ( int ) list [ idx | GJB 4.6.1.8 |
M | 179 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 185 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_bucket_read (79 to 88 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 79 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | Static procedure is not explicitly called in code analysed. : defender_bucket_read | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_bucket_destroy (90 to 96 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 90 | Static procedure is not explicitly called in code analysed. : defender_bucket_destroy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_bucket_make (98 to 112 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 99 | Name redeclared in another C name space (MR). : buf | GJB 4.1.1.16 |
M | 105 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 110 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 98 | Name found with length less than 2. : b | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_bucket_create (114 to 123 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 114 | Name redeclared in another C name space (MR). : buf | GJB 4.1.1.16 |
M | 119 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 120 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_logger (125 to 128 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 125 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 125 | Static procedure is not explicitly called in code analysed. : defender_logger | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_strdup (130 to 141 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 130 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 134 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 134 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 140 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_printf (143 to 164 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 143 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 143 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 143 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 151 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
M | 156 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 157 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 161 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
M | 163 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_addr2str (166 to 192 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 170 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 183 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 185 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 189 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_pre_config (194 to 204 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 202 | Pointer not checked for null before use. : defender_pool | GJB 5.1.15 |
M | 202 | Pointer not checked for null before use. : server | GJB 5.1.15 |
M | 194 | Empty parameter list to procedure/function. : defender_pre_config | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_read_config (206 to 228 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 221 | Pointer not checked for null before use. : fullname | GJB 5.1.15 |
M | 212 | Pointer not checked for null before use. : defender_pool | GJB 5.1.15 |
M | 206 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 206 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 210 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 227 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_post_config (230 to 237 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 235 | Pointer not checked for null before use. : defender_pool | GJB 5.1.15 |
M | 235 | Pointer not checked for null before use. : server | GJB 5.1.15 |
M | 230 | Empty parameter list to procedure/function. : defender_post_config | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_set_logger (239 to 259 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 250 | Pointer not checked for null before use. : logname | GJB 5.1.15 |
M | 239 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 239 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 241 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_input_filter (261 to 296 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 275 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 261 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 268 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 271 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 274 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 261 | Static procedure is not explicitly called in code analysed. : defender_input_filter | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_create_conn (298 to 319 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 307 | Pointer not checked for null before use. : c | GJB 5.1.15 |
M | 303 | Pointer not checked for null before use. : defender_pool | GJB 5.1.15 |
M | 315 | Pointer not checked for null before use. : server | GJB 5.1.15 |
M | 298 | Empty parameter list to procedure/function. : defender_create_conn | GJB 4.1.1.10 |
M | 300 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 308 | Value is not of appropriate type. : (int and char): c -> local_ip = | GJB 4.6.1.8 |
M | 318 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_create_request (321 to 361 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 331 | Pointer not checked for null before use. : r | GJB 5.1.15 |
M | 357 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 343 | Pointer not checked for null before use. : defender_module_config | GJB 5.1.15 |
M | 329 | Use of sizeof on a type. | GJB 5.1.8 |
M | 341 | Use of sizeof on a type. | GJB 5.1.8 |
M | 342 | Use of sizeof on a type. | GJB 5.1.8 |
M | 356 | Use of sizeof on a type. | GJB 5.1.8 |
M | 360 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_process_headers (363 to 366 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 363 | Name found with length less than 2. : r | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_process_body (368 to 372 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 368 | Name found with length less than 2. : r | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_init (374 to 450 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 374 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 374 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 377 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 407 | Value is not of appropriate type. : (int and char): server -> path = | GJB 4.6.1.8 |
M | 408 | Signed/unsigned conversion without cast. : (int and unsigned int): server -> pathlen = strlen | GJB 4.6.1.9 |
M | 408 | Value is not of appropriate type. : (int and char): server -> pathlen = strlen ( server -> path | GJB 4.6.1.8 |
M | 411 | Value is not of appropriate type. : (int and char): server -> server_scheme = | GJB 4.6.1.8 |
M | 420 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 424 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
defender_process_request (452 to 633 defender.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 600 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 549 | Pointer not checked for null before use. : hdr_end | GJB 5.1.15 |
M | 467 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 469 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 473 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 474 | goto detected. | GJB 4.5.1.2 |
M | 476 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 477 | goto detected. | GJB 4.5.1.2 |
M | 482 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 483 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 484 | goto detected. | GJB 4.5.1.2 |
M | 486 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 487 | goto detected. | GJB 4.5.1.2 |
M | 489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 505 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 506 | goto detected. | GJB 4.5.1.2 |
M | 513 | goto detected. | GJB 4.5.1.2 |
M | 515 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 516 | goto detected. | GJB 4.5.1.2 |
M | 518 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 520 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 521 | goto detected. | GJB 4.5.1.2 |
M | 529 | goto detected. | GJB 4.5.1.2 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 541 | goto detected. | GJB 4.5.1.2 |
M | 550 | goto detected. | GJB 4.5.1.2 |
M | 551 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 552 | goto detected. | GJB 4.5.1.2 |
M | 556 | goto detected. | GJB 4.5.1.2 |
M | 559 | goto detected. | GJB 4.5.1.2 |
M | 560 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 561 | goto detected. | GJB 4.5.1.2 |
M | 565 | goto detected. | GJB 4.5.1.2 |
M | 567 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 578 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 591 | goto detected. | GJB 4.5.1.2 |
M | 595 | goto detected. | GJB 4.5.1.2 |
M | 602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 602 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 491 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 505 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 515 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 520 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 551 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 560 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dgram_fd_handler (17 to 30 dgram.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 19 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_dict_init (15 to 45 dict.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 20 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 20 | Expression needs brackets. | GJB 5.1.2 |
M | 20 | Expression needs brackets. | GJB 5.1.2 |
M | 21 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 33 | Expression needs brackets. | GJB 5.1.2 |
M | 41 | Value is not of appropriate type. : (unsigned int and int): dict -> entry [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_dict_cleanup (50 to 118 dict.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 93 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 64 | Value is not of appropriate type. : (unsigned int and int): entry = dict -> entry [ dict -> cleanup_idx | GJB 4.6.1.8 |
M | 85 | Value is not of appropriate type. : (unsigned int and int): dict -> entry [ dict -> cleanup_idx | GJB 4.6.1.8 |
M | 103 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start | GJB 4.6.1.9 |
M | 103 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_dict_set (120 to 208 dict.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 136 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 128 | goto detected. | GJB 4.5.1.2 |
M | 136 | Value is not of appropriate type. : (unsigned int and int): entry -> next = dict -> entry [ idx | GJB 4.6.1.8 |
M | 137 | Value is not of appropriate type. : (unsigned int and int): dict -> entry [ idx | GJB 4.6.1.8 |
M | 149 | goto detected. | GJB 4.5.1.2 |
M | 163 | goto detected. | GJB 4.5.1.2 |
M | 199 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_dict_get (214 to 320 dict.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 225 | Value is not of appropriate type. : (unsigned int and int): entry = dict -> entry [ idx | GJB 4.6.1.8 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 257 | Expression needs brackets. | GJB 5.1.2 |
M | 257 | Expression needs brackets. | GJB 5.1.2 |
M | 261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 261 | Signed/unsigned conversion without cast. : (int and unsigned long): entry -> atime <= max | GJB 4.6.1.9 |
M | 262 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_dict_set_from_disk (322 to 406 dict.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 361 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 324 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 331 | Value is not of appropriate type. : (unsigned int and int): entry = dict -> entry [ idx | GJB 4.6.1.8 |
M | 335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 337 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 361 | Value is not of appropriate type. : (unsigned int and int): entry -> next = dict -> entry [ idx | GJB 4.6.1.8 |
M | 362 | Value is not of appropriate type. : (unsigned int and int): dict -> entry [ idx | GJB 4.6.1.8 |
M | 366 | Signed/unsigned conversion without cast. : (unsigned long and int): expire | GJB 4.6.1.9 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 366 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_dict_record_access (408 to 433 dict.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 418 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 418 | Expression needs brackets. | GJB 5.1.2 |
M | 420 | Float/integer conversion without cast. : (float and unsigned long): pct = diff | GJB 4.6.2.3 |
M | 420 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 420 | Value is not of appropriate type. : (unsigned long and double): pct = diff | GJB 4.6.1.8 |
M | 420 | Value is not of appropriate type. : (unsigned long and double) | GJB 4.6.1.8 |
M | 420 | Expression needs brackets. | GJB 5.1.2 |
M | 422 | Expression needs brackets. | GJB 5.1.2 |
M | 424 | Expression needs brackets. | GJB 5.1.2 |
M | 426 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_mkdir (18 to 48 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 19 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 20 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 20 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 25 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 25 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 32 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 32 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 32 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 33 | Modification of string literal. : p | GJB 5.1.19 |
M | 38 | Modification of string literal. : p | GJB 5.1.19 |
M | 43 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 43 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 43 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_opendir_by_idx (50 to 55 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 54 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 51 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_read_key (83 to 108 disk.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_init (200 to 267 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 242 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 251 | Value is not of appropriate type. : (int and char): strlen ( de -> d_name | GJB 4.6.1.8 |
M | 223 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_load (285 to 484 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 328 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 330 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 317 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 288 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 297 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 307 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 307 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 313 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 313 | Value is not of appropriate type. : (int and char): len = strlen ( de -> d_name | GJB 4.6.1.8 |
M | 337 | goto detected. | GJB 4.5.1.2 |
M | 344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 345 | goto detected. | GJB 4.5.1.2 |
M | 349 | goto detected. | GJB 4.5.1.2 |
M | 366 | goto detected. | GJB 4.5.1.2 |
M | 372 | goto detected. | GJB 4.5.1.2 |
M | 380 | goto detected. | GJB 4.5.1.2 |
M | 399 | goto detected. | GJB 4.5.1.2 |
M | 407 | goto detected. | GJB 4.5.1.2 |
M | 415 | goto detected. | GJB 4.5.1.2 |
M | 423 | goto detected. | GJB 4.5.1.2 |
M | 440 | goto detected. | GJB 4.5.1.2 |
M | 445 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start | GJB 4.6.1.9 |
M | 445 | Expression needs brackets. | GJB 5.1.2 |
M | 463 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_cleanup (486 to 572 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 525 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 527 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 514 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 492 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 504 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 504 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 510 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 510 | Value is not of appropriate type. : (int and char): len = strlen ( de -> d_name | GJB 4.6.1.8 |
M | 540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 541 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start | GJB 4.6.1.9 |
M | 551 | Expression needs brackets. | GJB 5.1.2 |
M | 567 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_purge_by_key (579 to 617 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 586 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 588 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 582 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 582 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 598 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_purge_by_path (624 to 637 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 625 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 631 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_update_expire (639 to 652 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 640 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_meta_init (654 to 687 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 655 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 655 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 669 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_obj_create (689 to 757 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 708 | goto detected. | GJB 4.5.1.2 |
M | 714 | goto detected. | GJB 4.5.1.2 |
M | 718 | goto detected. | GJB 4.5.1.2 |
M | 722 | goto detected. | GJB 4.5.1.2 |
M | 726 | goto detected. | GJB 4.5.1.2 |
M | 730 | goto detected. | GJB 4.5.1.2 |
M | 734 | goto detected. | GJB 4.5.1.2 |
M | 738 | goto detected. | GJB 4.5.1.2 |
M | 711 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 6 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_obj_finish (759 to 815 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 776 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 786 | Pointer not checked for null before use. : new_file | GJB 5.1.15 |
M | 794 | Pointer not checked for null before use. : new_file | GJB 5.1.15 |
M | 794 | Pointer not checked for null before use. : old_file | GJB 5.1.15 |
M | 763 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 763 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 771 | goto detected. | GJB 4.5.1.2 |
M | 787 | goto detected. | GJB 4.5.1.2 |
M | 795 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_obj_valid (817 to 866 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 850 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 827 | goto detected. | GJB 4.5.1.2 |
M | 833 | goto detected. | GJB 4.5.1.2 |
M | 837 | goto detected. | GJB 4.5.1.2 |
M | 841 | goto detected. | GJB 4.5.1.2 |
M | 844 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 845 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 847 | goto detected. | GJB 4.5.1.2 |
M | 853 | goto detected. | GJB 4.5.1.2 |
M | 857 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_disk_obj_exists (868 to 890 disk.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 875 | Pointer not checked for null before use. : buf1 | GJB 5.1.15 |
M | 877 | Pointer not checked for null before use. : buf2 | GJB 5.1.15 |
M | 879 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 871 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 871 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_fill_stats (99 to 117 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 99 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 99 | Static procedure is not explicitly called in code analysed. : dns_fill_stats | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_resolvers_by_id (135 to 144 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 137 | Procedure contains UR data flow anomalies. : res |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_hostname_cmp (149 to 157 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 151 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 154 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 154 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) name1 [ i | GJB 4.6.1.8 |
M | 154 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) name2 [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_srvrq_by_name (162 to 171 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 164 | Procedure contains UR data flow anomalies. : srvrq |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
new_dns_srvrq (175 to 215 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 211 | Pointer not checked for null before use. : (srvrq)->name | GJB 5.1.15 |
M | 212 | Pointer not checked for null before use. : (srvrq)->hostname_dn | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : (srvrq)->hostname_dn | GJB 5.1.15 |
M | 175 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 181 | Signed/unsigned conversion without cast. : (int and unsigned int): fqdn_len = strlen | GJB 4.6.1.9 |
M | 187 | goto detected. | GJB 4.5.1.2 |
M | 190 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 190 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 190 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 193 | goto detected. | GJB 4.5.1.2 |
M | 200 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 200 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 203 | goto detected. | GJB 4.5.1.2 |
M | 206 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 210 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 211 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 212 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 182 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_rnd16 (219 to 227 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 226 | Function return type inconsistent. : (unsigned short and unsigned long) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_update_resolvers_timeout (236 to 252 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 244 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 250 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_connect_namesaver (257 to 289 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 267 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 267 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_build_query (301 to 345 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 322 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 325 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 326 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 327 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 333 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 341 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 342 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 302 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 302 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 307 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 307 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 309 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 309 | Expression needs brackets. | GJB 5.1.2 |
M | 309 | Signed/unsigned conversion without cast. : (unsigned int and int): sizeof ( dns_hdr ) + sizeof ( qinfo ) + sizeof ( edns ) + hostname_dn_len >= bufsize | GJB 4.6.1.9 |
M | 327 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_send_query (350 to 402 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 378 | goto detected. | GJB 4.5.1.2 |
M | 387 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 387 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 387 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 361 | Actual and formal parameters inconsistent (MR). : (int and char): param 6 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_run_resolution (407 to 451 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 411 | Name found with length less than 2. : i | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_trigger_resolution (454 to 471 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 463 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 467 | Pointer not checked for null before use. : resolvers | GJB 5.1.15 |
M | 460 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 468 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 468 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 469 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 469 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 469 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_response_get_query_id (494 to 497 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 496 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 496 | Value is not of appropriate type. : (unsigned char and unsigned short): resp [ 0 ] | GJB 4.6.1.8 |
M | 496 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_read_name (507 to 585 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 571 | Pointer not checked for null before use. : offset | GJB 5.1.15 |
M | 556 | Pointer not checked for null before use. : dest | GJB 5.1.15 |
M | 558 | Pointer not checked for null before use. : dest | GJB 5.1.15 |
M | 508 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 511 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 518 | goto detected. | GJB 4.5.1.2 |
M | 522 | Expression needs brackets. | GJB 5.1.2 |
M | 523 | goto detected. | GJB 4.5.1.2 |
M | 527 | goto detected. | GJB 4.5.1.2 |
M | 529 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 529 | Expression needs brackets. | GJB 5.1.2 |
M | 530 | goto detected. | GJB 4.5.1.2 |
M | 532 | Expression needs brackets. | GJB 5.1.2 |
M | 535 | goto detected. | GJB 4.5.1.2 |
M | 539 | goto detected. | GJB 4.5.1.2 |
M | 544 | goto detected. | GJB 4.5.1.2 |
M | 550 | Expression needs brackets. | GJB 5.1.2 |
M | 550 | Expression needs brackets. | GJB 5.1.2 |
M | 551 | goto detected. | GJB 4.5.1.2 |
M | 574 | Signed/unsigned conversion without cast. : (unsigned char and int): * reader | GJB 4.6.1.9 |
M | 577 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 532 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_check_dns_response (590 to 737 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 624 | Pointer not checked for null before use. : (srv)->hostname | GJB 5.1.15 |
M | 602 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 602 | Expression needs brackets. | GJB 5.1.2 |
M | 608 | Expression needs brackets. | GJB 5.1.2 |
M | 610 | goto detected. | GJB 4.5.1.2 |
M | 613 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 613 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 619 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 619 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 620 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 623 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 624 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 649 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 649 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 655 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 655 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 656 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 657 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 667 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 667 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 684 | No default case in switch statement. | GJB 4.3.1.4 |
M | 697 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 698 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 720 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 621 | Actual and formal parameters inconsistent (MR). : (dns_answer_item and char): param 2 | GJB 4.7.1.9 |
M | 657 | Actual and formal parameters inconsistent (MR). : (dns_answer_item and char): param 2 | GJB 4.7.1.9 |
M | 700 | Actual and formal parameters inconsistent (MR). : (dns_answer_item and char): param 1 | GJB 4.7.1.9 |
M | 698 | Procedure contains UR data flow anomalies. : hostname | GJB 4.13.1.4 |
M | 593 | Procedure contains UR data flow anomalies. : req |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_validate_dns_response (748 to 1312 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1119 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 865 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 911 | Pointer not checked for null before use. : previous_dname | GJB 5.1.15 |
M | 1310 | Pointer not checked for null before use. : dns_answer_record | GJB 5.1.15 |
M | 1018 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 1020 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 1023 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 1129 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 1131 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 1133 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 1135 | Pointer not checked for null before use. : reader | GJB 5.1.15 |
M | 752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 759 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 772 | Expression needs brackets. | GJB 5.1.2 |
M | 773 | goto detected. | GJB 4.5.1.2 |
M | 775 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 775 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_p -> header.id = reader [ 0 ] | GJB 4.6.1.8 |
M | 775 | Expression needs brackets. | GJB 5.1.2 |
M | 786 | Expression needs brackets. | GJB 5.1.2 |
M | 787 | goto detected. | GJB 4.5.1.2 |
M | 789 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 789 | Value is not of appropriate type. : (unsigned char and unsigned short): flags = reader [ 0 ] | GJB 4.6.1.8 |
M | 789 | Expression needs brackets. | GJB 5.1.2 |
M | 794 | goto detected. | GJB 4.5.1.2 |
M | 798 | goto detected. | GJB 4.5.1.2 |
M | 802 | goto detected. | GJB 4.5.1.2 |
M | 810 | Expression needs brackets. | GJB 5.1.2 |
M | 811 | goto detected. | GJB 4.5.1.2 |
M | 812 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 812 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_p -> header.qdcount = reader [ 0 ] | GJB 4.6.1.8 |
M | 812 | Expression needs brackets. | GJB 5.1.2 |
M | 817 | goto detected. | GJB 4.5.1.2 |
M | 821 | goto detected. | GJB 4.5.1.2 |
M | 825 | Expression needs brackets. | GJB 5.1.2 |
M | 826 | goto detected. | GJB 4.5.1.2 |
M | 827 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 827 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_p -> header.ancount = reader [ 0 ] | GJB 4.6.1.8 |
M | 827 | Expression needs brackets. | GJB 5.1.2 |
M | 830 | goto detected. | GJB 4.5.1.2 |
M | 835 | goto detected. | GJB 4.5.1.2 |
M | 839 | Expression needs brackets. | GJB 5.1.2 |
M | 840 | goto detected. | GJB 4.5.1.2 |
M | 841 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 841 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_p -> header.nscount = reader [ 0 ] | GJB 4.6.1.8 |
M | 841 | Expression needs brackets. | GJB 5.1.2 |
M | 845 | Expression needs brackets. | GJB 5.1.2 |
M | 846 | goto detected. | GJB 4.5.1.2 |
M | 847 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 847 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_p -> header.arcount = reader [ 0 ] | GJB 4.6.1.8 |
M | 847 | Expression needs brackets. | GJB 5.1.2 |
M | 857 | goto detected. | GJB 4.5.1.2 |
M | 858 | Value is not of appropriate type. : (unsigned int and int): dns_query = &resolution -> response_query_records [ dns_query_record_id | GJB 4.6.1.8 |
M | 868 | goto detected. | GJB 4.5.1.2 |
M | 874 | Expression needs brackets. | GJB 5.1.2 |
M | 875 | goto detected. | GJB 4.5.1.2 |
M | 876 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 876 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_query -> type = reader [ 0 ] | GJB 4.6.1.8 |
M | 876 | Expression needs brackets. | GJB 5.1.2 |
M | 880 | Expression needs brackets. | GJB 5.1.2 |
M | 881 | goto detected. | GJB 4.5.1.2 |
M | 882 | Use of C++ keyword. : class | GJB 4.1.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 882 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 882 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_query -> class = reader [ 0 ] | GJB 4.6.1.8 |
M | 882 | Expression needs brackets. | GJB 5.1.2 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 890 | goto detected. | GJB 4.5.1.2 |
M | 897 | goto detected. | GJB 4.5.1.2 |
M | 901 | goto detected. | GJB 4.5.1.2 |
M | 907 | goto detected. | GJB 4.5.1.2 |
M | 911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 916 | goto detected. | GJB 4.5.1.2 |
M | 923 | goto detected. | GJB 4.5.1.2 |
M | 929 | Value is not of appropriate type. : (unsigned int and int): dns_answer_record -> name [ len | GJB 4.6.1.8 |
M | 933 | goto detected. | GJB 4.5.1.2 |
M | 936 | Expression needs brackets. | GJB 5.1.2 |
M | 937 | goto detected. | GJB 4.5.1.2 |
M | 939 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 939 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_answer_record -> type = reader [ 0 ] | GJB 4.6.1.8 |
M | 939 | Expression needs brackets. | GJB 5.1.2 |
M | 943 | Expression needs brackets. | GJB 5.1.2 |
M | 944 | goto detected. | GJB 4.5.1.2 |
M | 946 | Use of C++ keyword. : class | GJB 4.1.1.9 |
M | 946 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 946 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_answer_record -> class = reader [ 0 ] | GJB 4.6.1.8 |
M | 946 | Expression needs brackets. | GJB 5.1.2 |
M | 950 | Expression needs brackets. | GJB 5.1.2 |
M | 951 | goto detected. | GJB 4.5.1.2 |
M | 953 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 953 | Value is not of appropriate type. : (unsigned char and unsigned int): dns_answer_record -> ttl = reader [ 0 ] | GJB 4.6.1.8 |
M | 953 | Expression needs brackets. | GJB 5.1.2 |
M | 958 | Expression needs brackets. | GJB 5.1.2 |
M | 959 | goto detected. | GJB 4.5.1.2 |
M | 961 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 961 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_answer_record -> data_len = reader [ 0 ] | GJB 4.6.1.8 |
M | 961 | Expression needs brackets. | GJB 5.1.2 |
M | 966 | Expression needs brackets. | GJB 5.1.2 |
M | 967 | goto detected. | GJB 4.5.1.2 |
M | 974 | goto detected. | GJB 4.5.1.2 |
M | 990 | Expression needs brackets. | GJB 5.1.2 |
M | 992 | goto detected. | GJB 4.5.1.2 |
M | 998 | goto detected. | GJB 4.5.1.2 |
M | 1001 | Value is not of appropriate type. : (unsigned int and int): dns_answer_record -> target [ len | GJB 4.6.1.8 |
M | 1014 | goto detected. | GJB 4.5.1.2 |
M | 1017 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1019 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1021 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1025 | goto detected. | GJB 4.5.1.2 |
M | 1029 | Value is not of appropriate type. : (unsigned int and int): dns_answer_record -> target [ len | GJB 4.6.1.8 |
M | 1039 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 970 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1074 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1081 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1081 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1082 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1114 | goto detected. | GJB 4.5.1.2 |
M | 1124 | Expression needs brackets. | GJB 5.1.2 |
M | 1125 | goto detected. | GJB 4.5.1.2 |
M | 1135 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1135 | Value is not of appropriate type. : (unsigned char and unsigned short): len = reader [ 0 ] | GJB 4.6.1.8 |
M | 1135 | Expression needs brackets. | GJB 5.1.2 |
M | 1138 | Expression needs brackets. | GJB 5.1.2 |
M | 1139 | goto detected. | GJB 4.5.1.2 |
M | 1147 | goto detected. | GJB 4.5.1.2 |
M | 1151 | goto detected. | GJB 4.5.1.2 |
M | 1163 | Value is not of appropriate type. : (unsigned int and int): dns_answer_record -> name [ len | GJB 4.6.1.8 |
M | 1167 | goto detected. | GJB 4.5.1.2 |
M | 1170 | Expression needs brackets. | GJB 5.1.2 |
M | 1171 | goto detected. | GJB 4.5.1.2 |
M | 1173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1173 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_answer_record -> type = reader [ 0 ] | GJB 4.6.1.8 |
M | 1173 | Expression needs brackets. | GJB 5.1.2 |
M | 1177 | Expression needs brackets. | GJB 5.1.2 |
M | 1178 | goto detected. | GJB 4.5.1.2 |
M | 1180 | Use of C++ keyword. : class | GJB 4.1.1.9 |
M | 1180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1180 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_answer_record -> class = reader [ 0 ] | GJB 4.6.1.8 |
M | 1180 | Expression needs brackets. | GJB 5.1.2 |
M | 1184 | Expression needs brackets. | GJB 5.1.2 |
M | 1185 | goto detected. | GJB 4.5.1.2 |
M | 1187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1187 | Value is not of appropriate type. : (unsigned char and unsigned int): dns_answer_record -> ttl = reader [ 0 ] | GJB 4.6.1.8 |
M | 1187 | Expression needs brackets. | GJB 5.1.2 |
M | 1192 | Expression needs brackets. | GJB 5.1.2 |
M | 1193 | goto detected. | GJB 4.5.1.2 |
M | 1195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1195 | Value is not of appropriate type. : (unsigned char and unsigned short): dns_answer_record -> data_len = reader [ 0 ] | GJB 4.6.1.8 |
M | 1195 | Expression needs brackets. | GJB 5.1.2 |
M | 1200 | Expression needs brackets. | GJB 5.1.2 |
M | 1201 | goto detected. | GJB 4.5.1.2 |
M | 1208 | goto detected. | GJB 4.5.1.2 |
M | 1218 | goto detected. | GJB 4.5.1.2 |
M | 1230 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1258 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 865 | Actual and formal parameters inconsistent (MR). : (dns_query_item and char): param 4 | GJB 4.7.1.9 |
M | 1081 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1284 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 765 | Procedure contains UR data flow anomalies. : dns_query | GJB 4.13.1.4 |
M | 764 | Procedure contains UR data flow anomalies. : previous_dname | GJB 4.13.1.4 |
M | 757 | Procedure contains UR data flow anomalies. : tmp_record | GJB 4.13.1.4 |
M | 752 | Procedure contains UR data flow anomalies. : tmpname |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_get_ip_from_response (1322 to 1493 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1401 | Pointer not checked for null before use. : ip | GJB 5.1.15 |
M | 1333 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 1339 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1339 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1382 | Value is not of appropriate type. : (unsigned int and int): dns_opts -> pref_net [ j | GJB 4.6.1.8 |
M | 1385 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1387 | Value is not of appropriate type. : (unsigned int and int): & dns_opts -> pref_net [ j | GJB 4.6.1.8 |
M | 1387 | Value is not of appropriate type. : (unsigned int and int): & dns_opts -> pref_net [ j ].mask.in4 , & dns_opts -> pref_net [ j | GJB 4.6.1.8 |
M | 1389 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1390 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1391 | Value is not of appropriate type. : (unsigned int and int): & dns_opts -> pref_net [ j | GJB 4.6.1.8 |
M | 1391 | Value is not of appropriate type. : (unsigned int and int): & dns_opts -> pref_net [ j ].mask.in6 , & dns_opts -> pref_net [ j | GJB 4.6.1.8 |
M | 1401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1410 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1427 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1429 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1444 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1448 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1450 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1452 | goto detected. | GJB 4.5.1.2 |
M | 1457 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1461 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1463 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1465 | goto detected. | GJB 4.5.1.2 |
M | 1470 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1474 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1476 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1478 | goto detected. | GJB 4.5.1.2 |
M | 1481 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1359 | Procedure contains UR data flow anomalies. : ip | GJB 4.13.1.4 |
M | 1360 | Procedure contains UR data flow anomalies. : ip_type | GJB 4.13.1.4 |
M | 1339 | Procedure contains UR data flow anomalies. : newip6 | GJB 4.13.1.4 |
M | 1328 | Procedure contains UR data flow anomalies. : record |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_dn_label_to_str (1503 to 1522 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1517 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1520 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1516 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1503 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1503 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1505 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1506 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1508 | Expression needs brackets. | GJB 5.1.2 |
M | 1512 | Expression needs brackets. | GJB 5.1.2 |
M | 1513 | Type conversion without cast. : (int and char): sz = dn | GJB 4.6.1.9 |
M | 1513 | Value is not of appropriate type. : (unsigned int and int): sz = dn [ i | GJB 4.6.1.8 |
M | 1515 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1520 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_str_to_dn_label (1533 to 1564 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1533 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1533 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1535 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1537 | Expression needs brackets. | GJB 5.1.2 |
M | 1544 | Value is not of appropriate type. : (unsigned int and int): str [ i | GJB 4.6.1.8 |
M | 1550 | Expression needs brackets. | GJB 5.1.2 |
M | 1555 | Value is not of appropriate type. : (unsigned int and int): dn [ offset | GJB 4.6.1.8 |
M | 1555 | Type conversion without cast. : (char and int): dn [ offset ] = ( i - offset | GJB 4.6.1.9 |
M | 1559 | Value is not of appropriate type. : (unsigned int and int): dn [ i + 1 | GJB 4.6.1.8 |
M | 1559 | Value is not of appropriate type. : (unsigned int and int): dn [ i + 1 ] = str [ i | GJB 4.6.1.8 |
M | 1561 | Value is not of appropriate type. : (unsigned int and int): dn [ offset | GJB 4.6.1.8 |
M | 1561 | Type conversion without cast. : (char and int): dn [ offset ] = ( i - offset - 1 | GJB 4.6.1.9 |
M | 1562 | Value is not of appropriate type. : (unsigned int and int): dn [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_hostname_validation (1573 to 1610 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1573 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1573 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1575 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1585 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1585 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1586 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1586 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1587 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1587 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1588 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1588 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1589 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1589 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1589 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1589 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1601 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1601 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_pick_resolution (1620 to 1674 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1654 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 1621 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1627 | goto detected. | GJB 4.5.1.2 |
M | 1634 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1635 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1644 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1655 | Signed/unsigned conversion without cast. : (int and unsigned int): res -> uuid = resolution_uuid | GJB 4.6.1.9 |
M | 1665 | Type conversion without cast. : (int and char): res -> hostname_dn = *hostname_dn | GJB 4.6.1.9 |
M | 1673 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_free_resolution (1677 to 1703 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1679 | Procedure contains UR data flow anomalies. : req |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_link_resolution (1708 to 1813 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1722 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1732 | Pointer not checked for null before use. : srvrq | GJB 5.1.15 |
M | 1740 | Pointer not checked for null before use. : stream | GJB 5.1.15 |
M | 1785 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 1798 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 1772 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 1716 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1721 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1731 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1739 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1748 | goto detected. | GJB 4.5.1.2 |
M | 1749 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1752 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1752 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1753 | goto detected. | GJB 4.5.1.2 |
M | 1759 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1759 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1762 | goto detected. | GJB 4.5.1.2 |
M | 1777 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1777 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1778 | goto detected. | GJB 4.5.1.2 |
M | 1790 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1790 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1791 | goto detected. | GJB 4.5.1.2 |
M | 1802 | goto detected. | GJB 4.5.1.2 |
M | 1810 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1752 | Actual and formal parameters inconsistent (MR). : (stream and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_unlink_resolution (1818 to 1859 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1833 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 1841 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 1824 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_resolve_recv (1868 to 2063 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2050 | Pointer not checked for null before use. : tmpns | GJB 5.1.15 |
M | 1896 | Pointer not checked for null before use. : resolvers | GJB 5.1.15 |
M | 1939 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 1889 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1889 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1890 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 1902 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1902 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1902 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1902 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1907 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 1922 | Expression needs brackets. | GJB 5.1.2 |
M | 1949 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1981 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1944 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1989 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1989 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1999 | goto detected. | GJB 4.5.1.2 |
M | 2012 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2021 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2024 | goto detected. | GJB 4.5.1.2 |
M | 2031 | goto detected. | GJB 4.5.1.2 |
M | 2021 | Actual and formal parameters inconsistent (MR). : (dns_resolution and int): param 3 | GJB 4.7.1.9 |
M | 1868 | Static procedure is not explicitly called in code analysed. : dns_resolve_recv | GJB 4.7.1.3 |
M | 2063 | Memory not freed after last reference. : res |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_resolve_send (2066 to 2122 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2087 | Pointer not checked for null before use. : resolvers | GJB 5.1.15 |
M | 2083 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2083 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2100 | goto detected. | GJB 4.5.1.2 |
M | 2104 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2104 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2104 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2109 | goto detected. | GJB 4.5.1.2 |
M | 2095 | Actual and formal parameters inconsistent (MR). : (int and char): param 6 | GJB 4.7.1.9 |
M | 2066 | Static procedure is not explicitly called in code analysed. : dns_resolve_send | GJB 4.7.1.3 |
M | 2070 | Procedure contains UR data flow anomalies. : res |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_process_resolvers (2128 to 2200 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2128 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 2164 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2164 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2187 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2187 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2128 | Static procedure is not explicitly called in code analysed. : dns_process_resolvers | GJB 4.7.1.3 |
M | 2148 | Procedure contains UR data flow anomalies. : req |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_deinit (2209 to 2258 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2220 | Pointer not checked for null before use. : (ns)->id | GJB 5.1.15 |
M | 2224 | Pointer not checked for null before use. : (ns)->dgram | GJB 5.1.15 |
M | 2246 | Pointer not checked for null before use. : (resolvers)->id | GJB 5.1.15 |
M | 2247 | Pointer not checked for null before use. : (resolvers)->conf.file | GJB 5.1.15 |
M | 2254 | Pointer not checked for null before use. : (srvrq)->name | GJB 5.1.15 |
M | 2255 | Pointer not checked for null before use. : (srvrq)->hostname_dn | GJB 5.1.15 |
M | 2223 | Pointer not checked for null before use. : (ns)->conf.file | GJB 5.1.15 |
M | 2219 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2220 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2220 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2222 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2226 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2245 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2246 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2246 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2247 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 2249 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2253 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2254 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2256 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_finalize_config (2264 to 2376 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2281 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2281 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2298 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2298 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2298 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2302 | goto detected. | GJB 4.5.1.2 |
M | 2320 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2320 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2323 | goto detected. | GJB 4.5.1.2 |
M | 2337 | Name reused in inner scope. : resolvers | GJB 4.15.1.2,4.15.1.5 |
M | 2342 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2342 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2369 | goto detected. | GJB 4.5.1.2 |
M | 2342 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 2352 | Actual and formal parameters inconsistent (MR). : (int and void): param 1 | GJB 4.7.1.9 |
M | 2264 | Static procedure is not explicitly called in code analysed. : dns_finalize_config | GJB 4.7.1.3 |
M | 2317 | Memory not freed after last reference. : dgram | GJB 5.1.17 |
M | 2272 | Procedure contains UR data flow anomalies. : ns | GJB 4.13.1.4 |
M | 2266 | Procedure contains UR data flow anomalies. : resolvers |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_dns_to_buffer (2378 to 2408 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2393 | Pointer not checked for null before use. : counters | GJB 5.1.15 |
M | 2393 | Pointer not checked for null before use. : stats | GJB 5.1.15 |
M | 2388 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2388 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2394 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2401 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_dns (2413 to 2454 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2419 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2436 | Pointer not checked for null before use. : rep | GJB 5.1.15 |
M | 2427 | Pointer not checked for null before use. : resolver | GJB 5.1.15 |
M | 2434 | Pointer not checked for null before use. : ns | GJB 5.1.15 |
M | 2437 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_stats_clear_counters (2456 to 2475 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2470 | Pointer not checked for null before use. : counters | GJB 5.1.15 |
M | 2464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2459 | Procedure contains UR data flow anomalies. : ns |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_allocate_counters (2477 to 2514 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2499 | Value is not of appropriate type. : (unsigned int and int): memcpy ( ns -> extra_counters -> data + mod -> counters_off [ ns -> extra_counters -> type | GJB 4.6.1.8 |
M | 2503 | Value is not of appropriate type. : (unsigned int and int): ns -> counters = ( struct dns_counters * ) ns -> extra_counters -> data + mod -> counters_off [ COUNTERS_DNS | GJB 4.6.1.8 |
M | 2481 | Procedure contains UR data flow anomalies. : ns |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_stat_resolvers (2517 to 2532 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2517 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2517 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2517 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2517 | Static procedure is not explicitly called in code analysed. : cli_parse_stat_resolvers | GJB 4.7.1.3 |
M | 2519 | Procedure contains UR data flow anomalies. : presolvers |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_resolvers_to_buffer (2539 to 2598 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2552 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2558 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2558 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2594 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2597 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2539 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_resolvers_to_buffer | GJB 4.7.1.3 |
M | 2543 | Procedure contains UR data flow anomalies. : ns |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_prepare_for_resolution (2616 to 2644 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2633 | Pointer not checked for null before use. : hostname_dn | GJB 5.1.15 |
M | 2626 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 2616 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2618 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2625 | Signed/unsigned conversion without cast. : (int and unsigned int): hostname_len = strlen | GJB 4.6.1.9 |
M | 2630 | goto detected. | GJB 4.5.1.2 |
M | 2636 | goto detected. | GJB 4.5.1.2 |
M | 2640 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2642 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2627 | Actual and formal parameters inconsistent (MR). : (buffer and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_action_do_resolve (2650 to 2761 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2682 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2733 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 2673 | Pointer not checked for null before use. : resolution | GJB 5.1.15 |
M | 2669 | Pointer not checked for null before use. : resolvers | GJB 5.1.15 |
M | 2688 | Pointer not checked for null before use. : ip | GJB 5.1.15 |
M | 2692 | Pointer not checked for null before use. : ip | GJB 5.1.15 |
M | 2651 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2655 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2666 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2674 | goto detected. | GJB 4.5.1.2 |
M | 2678 | Name reused in inner scope. : smp | GJB 4.15.1.2,4.15.1.5 |
M | 2696 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2703 | Value is not of appropriate type. : (int and char): strlen ( rule -> arg.dns.varname | GJB 4.6.1.8 |
M | 2708 | goto detected. | GJB 4.5.1.2 |
M | 2714 | goto detected. | GJB 4.5.1.2 |
M | 2718 | goto detected. | GJB 4.5.1.2 |
M | 2729 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2730 | goto detected. | GJB 4.5.1.2 |
M | 2734 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 2734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2735 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2736 | goto detected. | GJB 4.5.1.2 |
M | 2743 | goto detected. | GJB 4.5.1.2 |
M | 2751 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2760 | goto detected. | GJB 4.5.1.2 |
M | 2650 | Function has no return statement. : dns_action_do_resolve | GJB 4.9.1.1 |
M | 2695 | Procedure contains UR data flow anomalies. : ip | GJB 4.13.1.4 |
M | 2746 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_dns_action (2763 to 2769 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2766 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2767 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2768 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2763 | Static procedure is not explicitly called in code analysed. : release_dns_action | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dns_parse_do_resolve (2784 to 2887 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2784 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2784 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2789 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2795 | Value is not of appropriate type. : (unsigned int and int): beg = strchr ( args [ cur_arg | GJB 4.6.1.8 |
M | 2797 | goto detected. | GJB 4.5.1.2 |
M | 2801 | goto detected. | GJB 4.5.1.2 |
M | 2804 | goto detected. | GJB 4.5.1.2 |
M | 2816 | goto detected. | GJB 4.5.1.2 |
M | 2819 | goto detected. | GJB 4.5.1.2 |
M | 2822 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2824 | goto detected. | GJB 4.5.1.2 |
M | 2838 | goto detected. | GJB 4.5.1.2 |
M | 2847 | goto detected. | GJB 4.5.1.2 |
M | 2853 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2853 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2855 | goto detected. | GJB 4.5.1.2 |
M | 2858 | Signed/unsigned conversion without cast. : (unsigned int and int): where | GJB 4.6.1.9 |
M | 2865 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "fetch method '%s' extracts information from '%s', none of which is available here" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 2868 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2881 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2883 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2884 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "Can't parse '%s'. Expects 'do-resolve(<varname>,<resolvers>[,<options>]) <expr>'. Available options are 'ipv4' and 'ipv6'" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_action_do_resolve (2908 to 2925 dns.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2908 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2917 | Actual and formal parameters inconsistent (MR). : (act_rule and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_get_api_version (19 to 22 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 19 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_create (24 to 27 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 26 | Cast from integral type to pointer. | GJB 4.12.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_set_root (34 to 37 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 34 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_add_patch (38 to 41 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_add_requested_capability (43 to 46 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 43 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_get_error_message (48 to 51 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_has_virtual_capability (53 to 56 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_set_cache_provider (58 to 61 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 58 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_lookup (68 to 76 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 75 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 74 | Pointer not checked for null before use. : hvalue | GJB 5.1.15 |
M | 71 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 74 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_device_get_capability (78 to 81 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 78 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 78 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_device_get_virtual_capability (83 to 86 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 83 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 83 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_device_get_id (93 to 96 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 93 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_device_get_root_id (98 to 101 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_device_get_original_useragent (103 to 106 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 103 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_device_get_normalized_useragent (107 to 110 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 107 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_get_wurfl_info (116 to 119 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 116 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wurfl_get_last_load_time_as_string (121 to 124 dummy-wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 121 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_buffer (29 to 54 dynbuf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | Empty parameter list to procedure/function. : init_buffer | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
buffer_dump (59 to 95 dynbuf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 59 | Name found with length less than 2. : o | GJB 4.8.1.1 |
M | 59 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 69 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 73 | Value is not of appropriate type. : (unsigned int and int): b_orig ( b ) [ from + i | GJB 4.6.1.8 |
M | 77 | Expression needs brackets. | GJB 5.1.2 |
M | 78 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 80 | Expression needs brackets. | GJB 5.1.2 |
M | 81 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 86 | Expression needs brackets. | GJB 5.1.2 |
M | 87 | Value is not of appropriate type. : (unsigned int and int): b_orig ( b ) [ from + i | GJB 4.6.1.8 |
M | 87 | Value is not of appropriate type. : (unsigned int and int): b_orig ( b ) [ from + i | GJB 4.6.1.8 |
M | 88 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__offer_buffer (98 to 125 dynbuf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 113 | Pointer not checked for null before use. : pool_head_buffer | GJB 5.1.15 |
M | 113 | Expression needs brackets. | GJB 5.1.2 |
M | 116 | Signed/unsigned conversion without cast. : (int and unsigned int): avail <= threshold | GJB 4.6.1.9 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 100 | Procedure contains UR data flow anomalies. : wait | GJB 4.13.1.4 |
M | 101 | Procedure contains UR data flow anomalies. : elt1 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32sc_insert_dup (29 to 101 eb32sctree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Pointer not checked for null before use. : head | GJB 5.1.15 |
M | 51 | Pointer not checked for null before use. : eb32 | GJB 5.1.15 |
M | 54 | Pointer not checked for null before use. : sub | GJB 5.1.15 |
M | 60 | Pointer not checked for null before use. : eb32 | GJB 5.1.15 |
M | 68 | Pointer not checked for null before use. : sub | GJB 5.1.15 |
M | 78 | Pointer not checked for null before use. : eb32 | GJB 5.1.15 |
M | 90 | Pointer not checked for null before use. : head | GJB 5.1.15 |
M | 98 | Pointer not checked for null before use. : eb32 | GJB 5.1.15 |
M | 74 | Pointer not checked for null before use. : new_left | GJB 5.1.15 |
M | 73 | Pointer not checked for null before use. : new_rght | GJB 5.1.15 |
M | 76 | Pointer not checked for null before use. : new_leaf | GJB 5.1.15 |
M | 29 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 33 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 34 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 35 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 38 | Value is not of appropriate type. : (unsigned int and int): eb_gettag ( head -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 41 | Value is not of appropriate type. : (unsigned int and int): eb_untag ( head -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 44 | Expression needs brackets. | GJB 5.1.2 |
M | 52 | Signed/unsigned conversion without cast. : (int and unsigned long): eb32 -> node_s |= scope | GJB 4.6.1.9 |
M | 54 | Value is not of appropriate type. : (unsigned int and int): eb_untag ( sub -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 61 | Signed/unsigned conversion without cast. : (int and unsigned long): eb32 -> node_s |= scope | GJB 4.6.1.9 |
M | 67 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 68 | Value is not of appropriate type. : (unsigned int and int): eb_untag ( head -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 70 | Value is not of appropriate type. : (unsigned int and int): head -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 70 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 72 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 73 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 75 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 75 | Value is not of appropriate type. : (unsigned int and int): new -> branches.b [ EB_LEFT | GJB 4.6.1.8 |
M | 76 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 76 | Value is not of appropriate type. : (unsigned int and int): new -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 78 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 87 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 90 | Value is not of appropriate type. : (unsigned int and int): head -> branches.b [ side | GJB 4.6.1.8 |
M | 90 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 92 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 93 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 95 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 95 | Value is not of appropriate type. : (unsigned int and int): new -> branches.b [ EB_LEFT | GJB 4.6.1.8 |
M | 96 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 96 | Value is not of appropriate type. : (unsigned int and int): new -> branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 98 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32sc_insert (107 to 233 eb32sctree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 148 | Pointer not checked for null before use. : old | GJB 5.1.15 |
M | 157 | Pointer not checked for null before use. : old | GJB 5.1.15 |
M | 216 | Pointer not checked for null before use. : up_ptr | GJB 5.1.15 |
M | 213 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 215 | Pointer not checked for null before use. : new_rght | GJB 5.1.15 |
M | 216 | Pointer not checked for null before use. : new_left | GJB 5.1.15 |
M | 214 | Pointer not checked for null before use. : new_leaf | GJB 5.1.15 |
M | 107 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 122 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 123 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 124 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 125 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 125 | Signed/unsigned conversion without cast. : (int and unsigned long): new -> node_s = scope | GJB 4.6.1.9 |
M | 126 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 126 | Signed/unsigned conversion without cast. : (int and unsigned long): new -> leaf_s = scope | GJB 4.6.1.9 |
M | 127 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 141 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 148 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 161 | Signed/unsigned conversion without cast. : (int and unsigned long): old -> node_s |= scope | GJB 4.6.1.9 |
M | 169 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 169 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 169 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 174 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 186 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 187 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 188 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 198 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 199 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 199 | Signed/unsigned conversion without cast. : (int and unsigned long): new -> leaf_s = scope | GJB 4.6.1.9 |
M | 200 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 200 | Signed/unsigned conversion without cast. : (int and unsigned long): new -> node_s = old_scope | GJB 4.6.1.9 |
M | 202 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 203 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 207 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 212 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 213 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 214 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 214 | Value is not of appropriate type. : (unsigned int and int): new -> node.branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 215 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 219 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 220 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 220 | Value is not of appropriate type. : (unsigned int and int): new -> node.branches.b [ EB_RGHT | GJB 4.6.1.8 |
M | 221 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 231 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 232 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 109 | Procedure contains UR data flow anomalies. : old | GJB 4.13.1.4 |
M | 116 | Procedure contains UR data flow anomalies. : old_scope | GJB 4.13.1.4 |
M | 111 | Procedure contains UR data flow anomalies. : up_ptr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32sc_lookup_ge (239 to 300 eb32sctree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 254 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 262 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 299 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 239 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 256 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 274 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 286 | Use of shift operator on signed type. | GJB 4.6.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32sc_lookup_ge_or_first (307 to 372 eb32sctree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 324 | Pointer not checked for null before use. : eb32 | GJB 5.1.15 |
M | 333 | Pointer not checked for null before use. : eb32 | GJB 5.1.15 |
M | 367 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 307 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 354 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 371 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32sc_delete (377 to 472 eb32sctree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 397 | Pointer not checked for null before use. : parent | GJB 5.1.15 |
M | 411 | Pointer not checked for null before use. : gparent | GJB 5.1.15 |
M | 451 | Pointer not checked for null before use. : gparent | GJB 5.1.15 |
M | 400 | goto detected. | GJB 4.5.1.2 |
M | 436 | goto detected. | GJB 4.5.1.2 |
M | 454 | Signed/unsigned conversion without cast. : (unsigned long and int): scope | GJB 4.6.1.9 |
M | 455 | Signed/unsigned conversion without cast. : (unsigned int and int): pside | GJB 4.6.1.9 |
M | 455 | Signed/unsigned conversion without cast. : (unsigned int and int): pside | GJB 4.6.1.9 |
M | 466 | Signed/unsigned conversion without cast. : (int and unsigned long): container_of ( parent , struct eb32sc_node , node ) -> node_s = scope | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32_insert (25 to 28 eb32tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 25 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 27 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32i_insert (30 to 33 eb32tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 30 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 32 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32_lookup (35 to 38 eb32tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 35 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32i_lookup (40 to 43 eb32tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32_lookup_le (49 to 131 eb32tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 64 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 72 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 103 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 125 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 129 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 129 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 86 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 119 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 49 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 87 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 96 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 101 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 119 | Signed/unsigned conversion without cast. : (int and unsigned int): eb_gettag ( troot ) == EB_LEFT | GJB 4.6.1.9 |
M | 130 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32_lookup_ge (137 to 218 eb32tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 160 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 191 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 209 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 216 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 137 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 175 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 184 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 189 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 207 | Signed/unsigned conversion without cast. : (int and unsigned int): eb_gettag ( troot ) != EB_LEFT | GJB 4.6.1.9 |
M | 208 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 212 | Value is not of appropriate type. : (unsigned int and int): troot = ( eb_untag ( troot , EB_LEFT ) ) -> b [ EB_RGHT | GJB 4.6.1.8 |
M | 217 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb64_insert (25 to 28 eb64tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 25 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 27 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb64i_insert (30 to 33 eb64tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 30 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 32 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb64_lookup (35 to 38 eb64tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 35 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb64i_lookup (40 to 43 eb64tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb64_lookup_le (49 to 131 eb64tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 64 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 72 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 103 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 125 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 129 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 129 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 86 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 119 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 49 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 87 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 96 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 101 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 119 | Signed/unsigned conversion without cast. : (int and unsigned int): eb_gettag ( troot ) == EB_LEFT | GJB 4.6.1.9 |
M | 130 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb64_lookup_ge (137 to 218 eb64tree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 160 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 191 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 209 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 216 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 137 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 175 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 184 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 189 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 207 | Signed/unsigned conversion without cast. : (int and unsigned int): eb_gettag ( troot ) != EB_LEFT | GJB 4.6.1.9 |
M | 208 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 212 | Value is not of appropriate type. : (unsigned int and int): troot = ( eb_untag ( troot , EB_LEFT ) ) -> b [ EB_RGHT | GJB 4.6.1.8 |
M | 217 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebim_lookup (29 to 33 ebimtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 30 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebim_insert (40 to 44 ebimtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 43 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebis_lookup (29 to 32 ebistree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 29 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebis_insert (39 to 42 ebistree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 41 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebmb_lookup (28 to 32 ebmbtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebmb_insert (39 to 43 ebmbtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 42 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebmb_lookup_longest (49 to 53 ebmbtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 50 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebmb_lookup_prefix (58 to 62 ebmbtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 59 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebmb_insert_prefix (73 to 77 ebmbtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 74 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 76 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebpt_insert (25 to 28 ebpttree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 25 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 27 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebpt_lookup (30 to 33 ebpttree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 30 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebpt_lookup_le (39 to 121 ebpttree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 45 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 54 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 62 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 93 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 115 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 119 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 119 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 76 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 109 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 39 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 77 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 91 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 102 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 109 | Signed/unsigned conversion without cast. : (int and unsigned int): eb_gettag ( troot ) == EB_LEFT | GJB 4.6.1.9 |
M | 120 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebpt_lookup_ge (127 to 208 ebpttree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 150 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 181 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 199 | Pointer not checked for null before use. : troot | GJB 5.1.15 |
M | 206 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 127 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 165 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 174 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 179 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 190 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 197 | Signed/unsigned conversion without cast. : (int and unsigned int): eb_gettag ( troot ) != EB_LEFT | GJB 4.6.1.9 |
M | 198 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): troot = ( eb_untag ( troot , EB_LEFT ) ) -> b [ EB_RGHT | GJB 4.6.1.8 |
M | 207 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebst_lookup (29 to 32 ebsttree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 29 | Name found with length less than 2. : x | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ebst_insert (39 to 42 ebsttree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 41 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb_insert_dup (29 to 32 ebtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 31 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb_memcmp (39 to 50 ebtree.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 41 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 41 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 42 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 43 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 47 | Operation not appropriate to plain char. : - used with char | GJB 4.1.1.15 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 48 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 49 | Function return type inconsistent. : (int and char) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_handler (17 to 295 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 34 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 57 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 93 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 121 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 123 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 153 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 153 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 166 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 202 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 244 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 285 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 55 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 137 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 176 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 20 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 28 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 28 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 36 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 36 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 37 | goto detected. | GJB 4.5.1.2 |
M | 44 | goto detected. | GJB 4.5.1.2 |
M | 72 | goto detected. | GJB 4.5.1.2 |
M | 82 | goto detected. | GJB 4.5.1.2 |
M | 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 134 | Name reused in inner scope. : ptr | GJB 4.15.1.2,4.15.1.5 |
M | 137 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 139 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Signed/unsigned conversion without cast. : (unsigned long and int): offset += ret | GJB 4.6.1.9 |
M | 170 | goto detected. | GJB 4.5.1.2 |
M | 173 | Signed/unsigned conversion without cast. : (int and unsigned long): max | GJB 4.6.1.9 |
M | 173 | Signed/unsigned conversion without cast. : (int and unsigned long): max < payload_len | GJB 4.6.1.9 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Signed/unsigned conversion without cast. : (unsigned long and int): offset += ret | GJB 4.6.1.9 |
M | 213 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 221 | goto detected. | GJB 4.5.1.2 |
M | 227 | goto detected. | GJB 4.5.1.2 |
M | 233 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 118 | No default case in switch statement. | GJB 4.3.1.4 |
M | 17 | Static procedure is not explicitly called in code analysed. : nst_nosql_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_housekeeping (297 to 386 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 298 | Empty parameter list to procedure/function. : nst_nosql_housekeeping | GJB 4.1.1.10 |
M | 307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 321 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 324 | Expression needs brackets. | GJB 5.1.2 |
M | 324 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start >= ms | GJB 4.6.1.9 |
M | 336 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 336 | Expression needs brackets. | GJB 5.1.2 |
M | 346 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 349 | Expression needs brackets. | GJB 5.1.2 |
M | 349 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start >= ms | GJB 4.6.1.9 |
M | 357 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 357 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 357 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 360 | Expression needs brackets. | GJB 5.1.2 |
M | 360 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start >= ms | GJB 4.6.1.9 |
M | 367 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 367 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 367 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 370 | Expression needs brackets. | GJB 5.1.2 |
M | 370 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start >= ms | GJB 4.6.1.9 |
M | 376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 376 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 376 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 379 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - begin | GJB 4.6.1.9 |
M | 379 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_init (388 to 442 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 389 | Empty parameter list to procedure/function. : nst_nosql_init | GJB 4.1.1.10 |
M | 398 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_check_applet (447 to 485 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 473 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 448 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 450 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 450 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_create_header (487 to 669 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 523 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 554 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 578 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 603 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 629 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 658 | Pointer not checked for null before use. : tail | GJB 5.1.15 |
M | 559 | Pointer not checked for null before use. : tail | GJB 5.1.15 |
M | 583 | Pointer not checked for null before use. : tail | GJB 5.1.15 |
M | 608 | Pointer not checked for null before use. : tail | GJB 5.1.15 |
M | 656 | Pointer not checked for null before use. : tail | GJB 5.1.15 |
M | 634 | Pointer not checked for null before use. : tail | GJB 5.1.15 |
M | 666 | Pointer not checked for null before use. : item_eoh | GJB 5.1.15 |
M | 665 | Pointer not checked for null before use. : item_te | GJB 5.1.15 |
M | 664 | Pointer not checked for null before use. : item_ct | GJB 5.1.15 |
M | 488 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 501 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 504 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 509 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 510 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 517 | goto detected. | GJB 4.5.1.2 |
M | 522 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 541 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 542 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 547 | goto detected. | GJB 4.5.1.2 |
M | 565 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 566 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 571 | goto detected. | GJB 4.5.1.2 |
M | 590 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 591 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 596 | goto detected. | GJB 4.5.1.2 |
M | 616 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 617 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 622 | goto detected. | GJB 4.5.1.2 |
M | 642 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 647 | goto detected. | GJB 4.5.1.2 |
M | 660 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_create (671 to 776 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 754 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 672 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 736 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 752 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 754 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_append (778 to 869 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 853 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 789 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 845 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 814 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 815 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 817 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 836 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 837 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 839 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 842 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 852 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 853 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 861 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 862 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 865 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
M | 868 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_finish (871 to 954 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 891 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 872 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 883 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 896 | Expression needs brackets. | GJB 5.1.2 |
M | 899 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 914 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 918 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 930 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 933 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 933 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 938 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_exists (956 to 1089 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1054 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 979 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 980 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 989 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1012 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1031 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1031 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1034 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1047 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1052 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1052 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1055 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_abort (1091 to 1107 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_nosql_delete (1114 to 1164 engine.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1158 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 1126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1127 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__fd_clo (42 to 53 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 44 | Value is not of appropriate type. : (unsigned int and int): unlikely ( fdtab [ fd | GJB 4.6.1.8 |
M | 45 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 45 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 45 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd ].poll_recv | polled_mask [ fd | GJB 4.6.1.8 |
M | 47 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 50 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 50 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 51 | Value is not of appropriate type. : (unsigned int and int): epoll_ctl ( epoll_fd [ i | GJB 4.6.1.8 |
M | 42 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 46 | Procedure contains UR data flow anomalies. : ev |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_update_fd (55 to 140 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Value is not of appropriate type. : (unsigned int and int): en = fdtab [ fd | GJB 4.6.1.8 |
M | 63 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 65 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 65 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd ].poll_recv & polled_mask [ fd | GJB 4.6.1.8 |
M | 69 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 70 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 73 | goto detected. | GJB 4.5.1.2 |
M | 82 | Value is not of appropriate type. : (unsigned int and int): ( polled_mask [ fd | GJB 4.6.1.8 |
M | 82 | Value is not of appropriate type. : (unsigned int and int): ( polled_mask [ fd ].poll_send | polled_mask [ fd | GJB 4.6.1.8 |
M | 85 | Value is not of appropriate type. : (unsigned int and int): ( polled_mask [ fd | GJB 4.6.1.8 |
M | 85 | Value is not of appropriate type. : (unsigned int and int): ( polled_mask [ fd ].poll_send | polled_mask [ fd | GJB 4.6.1.8 |
M | 86 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 89 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 90 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 91 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 96 | Value is not of appropriate type. : (unsigned int and int): ( polled_mask [ fd | GJB 4.6.1.8 |
M | 96 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 97 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 98 | Value is not of appropriate type. : (unsigned int and int): ( polled_mask [ fd | GJB 4.6.1.8 |
M | 101 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 102 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 104 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 105 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 108 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 109 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 111 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 112 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 118 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 122 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 124 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_poll (145 to 254 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 145 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 156 | Value is not of appropriate type. : (unsigned int and int): fd = fd_updt [ updt_idx | GJB 4.6.1.8 |
M | 158 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 159 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 168 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 168 | Value is not of appropriate type. : (unsigned int and int): fd = fdtab [ fd | GJB 4.6.1.8 |
M | 174 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 177 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 181 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 220 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 220 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 222 | Value is not of appropriate type. : (unsigned int and int): e = epoll_events [ count | GJB 4.6.1.8 |
M | 223 | Value is not of appropriate type. : (unsigned int and int): fd = epoll_events [ count | GJB 4.6.1.8 |
M | 228 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 233 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ fd | GJB 4.6.1.8 |
M | 237 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 238 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 145 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 219 | Procedure contains UR data flow anomalies. : ev |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_epoll_per_thread (256 to 283 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 256 | Empty parameter list to procedure/function. : init_epoll_per_thread | GJB 4.1.1.10 |
M | 260 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 260 | Use of sizeof on a type. | GJB 5.1.8 |
M | 260 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 262 | goto detected. | GJB 4.5.1.2 |
M | 264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Value is not of appropriate type. : (unsigned int and int): epoll_fd [ tid | GJB 4.6.1.8 |
M | 266 | Value is not of appropriate type. : (unsigned int and int): epoll_fd [ tid | GJB 4.6.1.8 |
M | 267 | goto detected. | GJB 4.5.1.2 |
M | 276 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 279 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 256 | Static procedure is not explicitly called in code analysed. : init_epoll_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_epoll_per_thread (285 to 292 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 285 | Empty parameter list to procedure/function. : deinit_epoll_per_thread | GJB 4.1.1.10 |
M | 287 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 288 | Value is not of appropriate type. : (unsigned int and int): close ( epoll_fd [ tid | GJB 4.6.1.8 |
M | 288 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 285 | Static procedure is not explicitly called in code analysed. : deinit_epoll_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_init (299 to 315 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 301 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 305 | goto detected. | GJB 4.5.1.2 |
M | 299 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_term (321 to 330 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 321 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 328 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 321 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_test (336 to 345 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 336 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 336 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_fork (353 to 361 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 353 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 353 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_register (369 to 393 ev_epoll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 372 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 378 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 378 | Value is not of appropriate type. : (unsigned int and int): epoll_fd [ i | GJB 4.6.1.8 |
M | 380 | Value is not of appropriate type. : (unsigned int and int): p = &pollers [ nbpollers ++ | GJB 4.6.1.8 |
M | 382 | Value is not of appropriate type. : (int and char): p -> name = | GJB 4.6.1.8 |
M | 385 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 369 | Static procedure is not explicitly called in code analysed. : _do_register | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
evports_state_to_events (39 to 49 ev_evports.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
evports_resync_fd (55 to 61 ev_evports.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_update_fd (63 to 103 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Value is not of appropriate type. : (unsigned int and int): en = fdtab [ fd | GJB 4.6.1.8 |
M | 70 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 71 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 72 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 78 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 79 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 80 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 87 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 88 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 90 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 91 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 94 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 95 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 97 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 98 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_poll (111 to 283 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 111 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 113 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 124 | Value is not of appropriate type. : (unsigned int and int): fd = fd_updt [ i | GJB 4.6.1.8 |
M | 126 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 127 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 136 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 136 | Value is not of appropriate type. : (unsigned int and int): fd = fdtab [ fd | GJB 4.6.1.8 |
M | 142 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 145 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 149 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 178 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 178 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 189 | Signed/unsigned conversion without cast. : (unsigned int and int): nevlist | GJB 4.6.1.9 |
M | 198 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 210 | Signed/unsigned conversion without cast. : (unsigned int and int): nevlist | GJB 4.6.1.9 |
M | 213 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 213 | Signed/unsigned conversion without cast. : (int and unsigned int): i < nevlist | GJB 4.6.1.9 |
M | 214 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 216 | Value is not of appropriate type. : (unsigned int and int): fd = evports_evlist [ i | GJB 4.6.1.8 |
M | 217 | Value is not of appropriate type. : (unsigned int and int): events = evports_evlist [ i | GJB 4.6.1.8 |
M | 222 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 227 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ fd | GJB 4.6.1.8 |
M | 238 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 262 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 111 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_evports_per_thread (285 to 317 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 285 | Empty parameter list to procedure/function. : init_evports_per_thread | GJB 4.1.1.10 |
M | 290 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 290 | Use of sizeof on a type. | GJB 5.1.8 |
M | 292 | goto detected. | GJB 4.5.1.2 |
M | 295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 296 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 297 | goto detected. | GJB 4.5.1.2 |
M | 307 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 311 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 285 | Static procedure is not explicitly called in code analysed. : init_evports_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_evports_per_thread (319 to 327 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Empty parameter list to procedure/function. : deinit_evports_per_thread | GJB 4.1.1.10 |
M | 321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 322 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 319 | Static procedure is not explicitly called in code analysed. : deinit_evports_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_init (333 to 349 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 333 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 335 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 337 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 337 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 338 | goto detected. | GJB 4.5.1.2 |
M | 333 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_term (355 to 368 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 355 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 362 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 365 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 355 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_test (375 to 385 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 375 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 379 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 379 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 375 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_fork (392 to 403 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 392 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 398 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 398 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 392 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_register (410 to 434 ev_evports.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 413 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 419 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 419 | Value is not of appropriate type. : (unsigned int and int): evports_fd [ i | GJB 4.6.1.8 |
M | 426 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 410 | Static procedure is not explicitly called in code analysed. : _do_register | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_update_fd (34 to 82 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Value is not of appropriate type. : (unsigned int and int): en = fdtab [ fd | GJB 4.6.1.8 |
M | 41 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 42 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 43 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 48 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 48 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 49 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 49 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 50 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 51 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 52 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 53 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 59 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 60 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 60 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 61 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 64 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 65 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 65 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 66 | Value is not of appropriate type. : (unsigned int and int): HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 67 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 70 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 71 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 71 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 72 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 75 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 76 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 76 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 77 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 78 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_poll (87 to 213 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 87 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 100 | Value is not of appropriate type. : (unsigned int and int): fd = fd_updt [ updt_idx | GJB 4.6.1.8 |
M | 102 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 103 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 110 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 110 | Value is not of appropriate type. : (unsigned int and int): fd = fdtab [ fd | GJB 4.6.1.8 |
M | 116 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 119 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 123 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 138 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 138 | Value is not of appropriate type. : (unsigned int and int): EV_SET ( & kev [ changes ++ | GJB 4.6.1.8 |
M | 140 | Name reused in inner scope. : kev | GJB 4.15.1.2,4.15.1.5 |
M | 140 | Name reused in inner scope. : changes | GJB 4.15.1.2,4.15.1.5 |
M | 140 | Name reused in inner scope. : kev_out | GJB 4.15.1.2,4.15.1.5 |
M | 140 | Name reused in inner scope. : changes | GJB 4.15.1.2,4.15.1.5 |
M | 140 | Name reused in inner scope. : timeout_ts | GJB 4.15.1.2,4.15.1.5 |
M | 168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 183 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 184 | Value is not of appropriate type. : (unsigned int and int): fd = kev [ count | GJB 4.6.1.8 |
M | 189 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 194 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ fd | GJB 4.6.1.8 |
M | 199 | Value is not of appropriate type. : (unsigned int and int): kev [ count | GJB 4.6.1.8 |
M | 200 | Value is not of appropriate type. : (unsigned int and int): kev [ count | GJB 4.6.1.8 |
M | 200 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 200 | Value is not of appropriate type. : (unsigned int and int): ! ( kev [ count | GJB 4.6.1.8 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): kev [ count | GJB 4.6.1.8 |
M | 205 | Value is not of appropriate type. : (unsigned int and int): kev [ count | GJB 4.6.1.8 |
M | 207 | Value is not of appropriate type. : (unsigned int and int): kev [ count | GJB 4.6.1.8 |
M | 209 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 87 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_kqueue_per_thread (216 to 248 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 216 | Empty parameter list to procedure/function. : init_kqueue_per_thread | GJB 4.1.1.10 |
M | 225 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 225 | Use of sizeof on a type. | GJB 5.1.8 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Expression needs brackets. | GJB 5.1.2 |
M | 227 | goto detected. | GJB 4.5.1.2 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Value is not of appropriate type. : (unsigned int and int): kqueue_fd [ tid | GJB 4.6.1.8 |
M | 231 | Value is not of appropriate type. : (unsigned int and int): kqueue_fd [ tid | GJB 4.6.1.8 |
M | 232 | goto detected. | GJB 4.5.1.2 |
M | 241 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 244 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 216 | Static procedure is not explicitly called in code analysed. : init_kqueue_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_kqueue_per_thread (250 to 257 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 250 | Empty parameter list to procedure/function. : deinit_kqueue_per_thread | GJB 4.1.1.10 |
M | 252 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 253 | Value is not of appropriate type. : (unsigned int and int): close ( kqueue_fd [ tid | GJB 4.6.1.8 |
M | 253 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 250 | Static procedure is not explicitly called in code analysed. : deinit_kqueue_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_init (264 to 291 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 264 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 266 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 273 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 273 | Use of sizeof on a type. | GJB 5.1.8 |
M | 273 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 273 | Expression needs brackets. | GJB 5.1.2 |
M | 275 | goto detected. | GJB 4.5.1.2 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 285 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 264 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_term (297 to 310 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 297 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 304 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 307 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 297 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_test (316 to 325 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 316 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 316 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_fork (332 to 338 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 332 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 332 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_register (346 to 370 ev_kqueue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 349 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 355 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 355 | Value is not of appropriate type. : (unsigned int and int): kqueue_fd [ i | GJB 4.6.1.8 |
M | 357 | Value is not of appropriate type. : (unsigned int and int): p = &pollers [ nbpollers ++ | GJB 4.6.1.8 |
M | 359 | Value is not of appropriate type. : (int and char): p -> name = | GJB 4.6.1.8 |
M | 362 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 346 | Static procedure is not explicitly called in code analysed. : _do_register | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__fd_clo (40 to 44 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 43 | Pointer not checked for null before use. : fd_evts | GJB 5.1.15 |
M | 40 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_update_fd (46 to 92 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 50 | Value is not of appropriate type. : (unsigned int and int): en = fdtab [ fd | GJB 4.6.1.8 |
M | 57 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 57 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd ].poll_recv | polled_mask [ fd | GJB 4.6.1.8 |
M | 64 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 65 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 71 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 72 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 75 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 76 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 82 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 85 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 86 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_poll (97 to 248 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 97 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 113 | Value is not of appropriate type. : (unsigned int and int): fd = fd_updt [ updt_idx | GJB 4.6.1.8 |
M | 115 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 116 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 124 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 124 | Value is not of appropriate type. : (unsigned int and int): fd = fdtab [ fd | GJB 4.6.1.8 |
M | 130 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 133 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 138 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 142 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 161 | Expression needs brackets. | GJB 5.1.2 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ new_maxfd - 1 | GJB 4.6.1.8 |
M | 162 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 174 | Signed/unsigned conversion without cast. : (unsigned int and int): ( fds * 8 * sizeof ( ** fd_evts ) ) < maxfd | GJB 4.6.1.9 |
M | 175 | Array bound exceeded. : fd_evts[][*]; accessed=8 | GJB 4.6.1.2 |
M | 175 | Value is not of appropriate type. : (unsigned int and int): rn = fd_evts [ DIR_RD ] [ fds | GJB 4.6.1.8 |
M | 176 | Array bound exceeded. : fd_evts[][*]; accessed=8 | GJB 4.6.1.2 |
M | 176 | Value is not of appropriate type. : (unsigned int and int): wn = fd_evts [ DIR_WR ] [ fds | GJB 4.6.1.8 |
M | 181 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 181 | Expression needs brackets. | GJB 5.1.2 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 182 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 182 | Signed/unsigned conversion without cast. : (int and unsigned int): sr = ( rn >> count | GJB 4.6.1.9 |
M | 183 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 183 | Signed/unsigned conversion without cast. : (int and unsigned int): sw = ( wn >> count | GJB 4.6.1.9 |
M | 185 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 192 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ fd | GJB 4.6.1.8 |
M | 197 | Value is not of appropriate type. : (unsigned int and int): poll_events [ nbfd | GJB 4.6.1.8 |
M | 198 | Value is not of appropriate type. : (unsigned int and int): poll_events [ nbfd | GJB 4.6.1.8 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 219 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 219 | Value is not of appropriate type. : (unsigned int and int): poll_events [ count | GJB 4.6.1.8 |
M | 220 | Value is not of appropriate type. : (unsigned int and int): fd = poll_events [ count | GJB 4.6.1.8 |
M | 231 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 97 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_poll_per_thread (251 to 257 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 251 | Empty parameter list to procedure/function. : init_poll_per_thread | GJB 4.1.1.10 |
M | 253 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 253 | Use of sizeof on a type. | GJB 5.1.8 |
M | 253 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 251 | Static procedure is not explicitly called in code analysed. : init_poll_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_poll_per_thread (259 to 263 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 259 | Empty parameter list to procedure/function. : deinit_poll_per_thread | GJB 4.1.1.10 |
M | 261 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 259 | Static procedure is not explicitly called in code analysed. : deinit_poll_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_init (270 to 293 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Name redeclared in another C name space (MR). : fail_swevt | GJB 4.1.1.16 |
M | 290 | Name redeclared in another C name space (MR). : fail_srevt | GJB 4.1.1.16 |
M | 270 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 275 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 276 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 276 | Expression needs brackets. | GJB 5.1.2 |
M | 276 | Signed/unsigned conversion without cast. : (int and unsigned int): fd_evts_bytes = ( global.maxsock + sizeof ( ** fd_evts ) * 8 - 1 | GJB 4.6.1.9 |
M | 276 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 276 | Expression needs brackets. | GJB 5.1.2 |
M | 278 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 278 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 278 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 280 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 280 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 280 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 281 | goto detected. | GJB 4.5.1.2 |
M | 288 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 270 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 288 | Identifier reuse: label vs variable (MR). : fail_swevt | GJB 4.1.1.2 |
M | 290 | Identifier reuse: label vs variable (MR). : fail_srevt |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_term (299 to 305 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 301 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 302 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 303 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 299 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_test (311 to 314 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 311 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 311 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_register (322 to 340 ev_poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 328 | Value is not of appropriate type. : (unsigned int and int): p = &pollers [ nbpollers ++ | GJB 4.6.1.8 |
M | 330 | Value is not of appropriate type. : (int and char): p -> name = | GJB 4.6.1.8 |
M | 333 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 322 | Static procedure is not explicitly called in code analysed. : _do_register | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__fd_clo (31 to 35 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 34 | Pointer not checked for null before use. : fd_evts | GJB 5.1.15 |
M | 31 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_update_fd (37 to 83 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Value is not of appropriate type. : (unsigned int and int): en = fdtab [ fd | GJB 4.6.1.8 |
M | 48 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 48 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd ].poll_recv | polled_mask [ fd | GJB 4.6.1.8 |
M | 55 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 56 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 62 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 63 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 66 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 67 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 72 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 73 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & polled_mask [ fd | GJB 4.6.1.8 |
M | 76 | Value is not of appropriate type. : (unsigned int and int): ! ( polled_mask [ fd | GJB 4.6.1.8 |
M | 77 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & polled_mask [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_poll (88 to 222 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 88 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 91 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 105 | Value is not of appropriate type. : (unsigned int and int): fd = fd_updt [ updt_idx | GJB 4.6.1.8 |
M | 107 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 108 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 115 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 115 | Value is not of appropriate type. : (unsigned int and int): fd = fdtab [ fd | GJB 4.6.1.8 |
M | 121 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 124 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 129 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
M | 133 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 153 | Expression needs brackets. | GJB 5.1.2 |
M | 153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 153 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ new_maxfd - 1 | GJB 4.6.1.8 |
M | 154 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 165 | Expression needs brackets. | GJB 5.1.2 |
M | 165 | Expression needs brackets. | GJB 5.1.2 |
M | 165 | Value is not of appropriate type. : (bool and unsigned char): 8 * | GJB 4.6.1.8 |
M | 165 | Use of sizeof on a type. | GJB 5.1.8 |
M | 166 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 166 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 167 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 167 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 194 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 194 | Value is not of appropriate type. : (unsigned int and int): ( int * ) ( tmp_evts [ DIR_RD ] ) ) [ fds | GJB 4.6.1.8 |
M | 194 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 194 | Value is not of appropriate type. : (unsigned int and int): ( int * ) ( tmp_evts [ DIR_WR ] ) ) [ fds | GJB 4.6.1.8 |
M | 197 | Type conversion without cast. : (char and int): count = BITS_PER_INT | GJB 4.6.1.9 |
M | 197 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 197 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 197 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 198 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 203 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ fd | GJB 4.6.1.8 |
M | 208 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ fd | GJB 4.6.1.8 |
M | 88 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_select_per_thread (224 to 240 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 224 | Empty parameter list to procedure/function. : init_select_per_thread | GJB 4.1.1.10 |
M | 228 | Use of sizeof on a type. | GJB 5.1.8 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Expression needs brackets. | GJB 5.1.2 |
M | 228 | Expression needs brackets. | GJB 5.1.2 |
M | 229 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 231 | goto detected. | GJB 4.5.1.2 |
M | 232 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 234 | goto detected. | GJB 4.5.1.2 |
M | 236 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 238 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 224 | Static procedure is not explicitly called in code analysed. : init_select_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_select_per_thread (242 to 248 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | Empty parameter list to procedure/function. : deinit_select_per_thread | GJB 4.1.1.10 |
M | 244 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 246 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 242 | Static procedure is not explicitly called in code analysed. : deinit_select_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_init (255 to 281 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 255 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 259 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 262 | goto detected. | GJB 4.5.1.2 |
M | 264 | Use of sizeof on a type. | GJB 5.1.8 |
M | 264 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 264 | Expression needs brackets. | GJB 5.1.2 |
M | 264 | Expression needs brackets. | GJB 5.1.2 |
M | 266 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 266 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 266 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 267 | goto detected. | GJB 4.5.1.2 |
M | 268 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 268 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 268 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 269 | goto detected. | GJB 4.5.1.2 |
M | 276 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 255 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_term (287 to 293 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 287 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 289 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 290 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 291 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 287 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_test (299 to 305 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 299 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_do_register (313 to 331 ev_select.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Value is not of appropriate type. : (unsigned int and int): p = &pollers [ nbpollers ++ | GJB 4.6.1.8 |
M | 321 | Value is not of appropriate type. : (int and char): p -> name = | GJB 4.6.1.8 |
M | 324 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 313 | Static procedure is not explicitly called in code analysed. : _do_register | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_run_span (50 to 108 event.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 61 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 87 | Pointer not checked for null before use. : text_map | GJB 5.1.15 |
M | 50 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 50 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 67 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 84 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 89 | Empty then clause. | GJB 4.3.1.1 |
M | 90 | Value is not of appropriate type. : (unsigned int and int): flt_ot_var_register ( FLT_OT_VARS_SCOPE , conf_span -> ctx_id , text_map -> key [ i | GJB 4.6.1.8 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): flt_ot_var_set ( s , FLT_OT_VARS_SCOPE , conf_span -> ctx_id , text_map -> key [ i | GJB 4.6.1.8 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): flt_ot_var_set ( s , FLT_OT_VARS_SCOPE , conf_span -> ctx_id , text_map -> key [ i ] , text_map -> value [ i | GJB 4.6.1.8 |
M | 93 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 96 | Empty then clause. | GJB 4.3.1.1 |
M | 97 | Value is not of appropriate type. : (unsigned int and int): flt_ot_http_header_set ( chn , conf_span -> ctx_id , text_map -> key [ i | GJB 4.6.1.8 |
M | 97 | Value is not of appropriate type. : (unsigned int and int): flt_ot_http_header_set ( chn , conf_span -> ctx_id , text_map -> key [ i ] , text_map -> value [ i | GJB 4.6.1.8 |
M | 98 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 50 | Function has no return statement. : flt_ot_scope_run_span | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_run (131 to 261 event.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 202 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 131 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 131 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 131 | Function has no return statement. : flt_ot_scope_run | GJB 4.9.1.1 |
M | 136 | Procedure contains UR data flow anomalies. : finish | GJB 4.13.1.4 |
M | 137 | Procedure contains UR data flow anomalies. : ts_now |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_event_run (282 to 323 event.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 282 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 282 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 282 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 292 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_DBG ( 3 , "run event '%s' %d" , flt_ot_event_data [ event | GJB 4.6.1.8 |
M | 298 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_RT_CTX ( f -> ctx ) -> analyzers |= flt_ot_event_data [ event | GJB 4.6.1.8 |
M | 310 | Empty then clause. | GJB 4.3.1.1 |
M | 313 | Value is not of appropriate type. : (unsigned int and int): s , f , chn , conf_scope , & ts , flt_ot_event_data [ event | GJB 4.6.1.8 |
M | 314 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 282 | Function has no return statement. : flt_ot_event_run | GJB 4.9.1.1 |
M | 286 | Procedure contains UR data flow anomalies. : ts |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
block_sigchld (96 to 102 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 101 | Use of banned function or variable. : assert | GJB 4.7.1.4 |
M | 98 | Procedure contains UR data flow anomalies. : set |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
unblock_sigchld (104 to 110 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 109 | Use of banned function or variable. : assert | GJB 4.7.1.4 |
M | 106 | Procedure contains UR data flow anomalies. : set |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pid_list_add (112 to 131 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 117 | Pointer not checked for null before use. : pool_head_pid_list | GJB 5.1.15 |
M | 112 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 130 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pid_list_del (133 to 150 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 148 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 147 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pid_list_expire (153 to 168 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 155 | Procedure contains UR data flow anomalies. : elem |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sigchld_handler (170 to 177 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 175 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 175 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 176 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 170 | Static procedure is not explicitly called in code analysed. : sigchld_handler | GJB 4.7.1.3 |
M | 173 | Procedure contains UR data flow anomalies. : status |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_pid_list (179 to 199 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 186 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 187 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 191 | Use of sizeof on a type. | GJB 5.1.8 |
M | 193 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 194 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
extchk_setenv (209 to 256 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 213 | Name redeclared in another C name space (MR). : vmaxlen | GJB 4.1.1.16 |
M | 233 | Pointer not checked for null before use. : envname | GJB 5.1.15 |
M | 209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 215 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 215 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 220 | Value is not of appropriate type. : (unsigned int and int): envname = extcheck_envs [ idx | GJB 4.6.1.8 |
M | 221 | Value is not of appropriate type. : (unsigned int and int): vmaxlen = extcheck_envs [ idx | GJB 4.6.1.8 |
M | 225 | Value is not of appropriate type. : (unsigned int and int): ( check -> envp [ idx | GJB 4.6.1.8 |
M | 233 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Signed/unsigned conversion without cast. : (int and unsigned int): len += strlen | GJB 4.6.1.9 |
M | 239 | Value is not of appropriate type. : (unsigned int and int): ! check -> envp [ idx | GJB 4.6.1.8 |
M | 240 | Value is not of appropriate type. : (unsigned int and int): check -> envp [ idx | GJB 4.6.1.8 |
M | 240 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 242 | Value is not of appropriate type. : (unsigned int and int): ! check -> envp [ idx | GJB 4.6.1.8 |
M | 246 | Value is not of appropriate type. : (unsigned int and int): ret = snprintf ( check -> envp [ idx | GJB 4.6.1.8 |
M | 248 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 248 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 254 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prepare_external_check (258 to 372 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 306 | Pointer not checked for null before use. : un | GJB 5.1.15 |
M | 321 | Pointer not checked for null before use. : (check)->argv | GJB 5.1.15 |
M | 295 | Pointer not checked for null before use. : listener | GJB 5.1.15 |
M | 314 | Pointer not checked for null before use. : (check)->argv | GJB 5.1.15 |
M | 262 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 262 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 263 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 264 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 265 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 277 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 277 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 280 | goto detected. | GJB 4.5.1.2 |
M | 283 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 286 | goto detected. | GJB 4.5.1.2 |
M | 295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 297 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 299 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 311 | goto detected. | GJB 4.5.1.2 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 316 | goto detected. | GJB 4.5.1.2 |
M | 319 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 319 | Value is not of appropriate type. : (char and signed char): check -> argv [ 3 ] = calloc ( INET6_ADDRSTRLEN | GJB 4.6.1.8 |
M | 320 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 323 | goto detected. | GJB 4.5.1.2 |
M | 326 | Value is not of appropriate type. : (char and signed char): addr_to_str ( & s -> addr , check -> argv [ 3 ] , INET6_ADDRSTRLEN | GJB 4.6.1.8 |
M | 327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | Value is not of appropriate type. : (unsigned int and int): ! check -> argv [ i | GJB 4.6.1.8 |
M | 333 | goto detected. | GJB 4.5.1.2 |
M | 337 | goto detected. | GJB 4.5.1.2 |
M | 339 | goto detected. | GJB 4.5.1.2 |
M | 340 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 340 | goto detected. | GJB 4.5.1.2 |
M | 341 | goto detected. | GJB 4.5.1.2 |
M | 342 | goto detected. | GJB 4.5.1.2 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 345 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 345 | goto detected. | GJB 4.5.1.2 |
M | 346 | goto detected. | GJB 4.5.1.2 |
M | 347 | goto detected. | GJB 4.5.1.2 |
M | 348 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 348 | goto detected. | GJB 4.5.1.2 |
M | 349 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 349 | goto detected. | GJB 4.5.1.2 |
M | 352 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 353 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 353 | Value is not of appropriate type. : (unsigned int and int): ! check -> envp [ i | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | goto detected. | GJB 4.5.1.2 |
M | 359 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 359 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 360 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 360 | Value is not of appropriate type. : (unsigned int and int): free ( check -> envp [ i | GJB 4.6.1.8 |
M | 360 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 366 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 367 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 367 | Value is not of appropriate type. : (unsigned int and int): free ( check -> argv [ i | GJB 4.6.1.8 |
M | 367 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 337 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 339 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 340 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 341 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 342 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 344 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 345 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 346 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 347 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 348 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 349 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 265 | Procedure contains UR data flow anomalies. : buf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
connect_proc_chk (384 to 471 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 384 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 386 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 401 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 402 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 403 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 403 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 404 | goto detected. | GJB 4.5.1.2 |
M | 408 | extern not in nominated include file. | GJB 4.7.1.5 |
M | 408 | Extern used in function body. | GJB 5.1.21 |
M | 408 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 430 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 430 | goto detected. | GJB 4.5.1.2 |
M | 432 | Value is not of appropriate type. : (char and signed char): addr_to_str ( & s -> addr , check -> argv [ 3 ] , INET6_ADDRSTRLEN | GJB 4.6.1.8 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 438 | goto detected. | GJB 4.5.1.2 |
M | 442 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 443 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 458 | goto detected. | GJB 4.5.1.2 |
M | 461 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 461 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 466 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 466 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 430 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 433 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 438 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 386 | Procedure contains UR data flow anomalies. : buf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_chk_proc (480 to 603 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 480 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 492 | goto detected. | GJB 4.5.1.2 |
M | 499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 500 | goto detected. | GJB 4.5.1.2 |
M | 516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 521 | goto detected. | GJB 4.5.1.2 |
M | 551 | Name reused in inner scope. : status | GJB 4.15.1.2,4.15.1.5 |
M | 559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 567 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 582 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 590 | Expression needs brackets. | GJB 5.1.2 |
M | 591 | Value is not of appropriate type. : (int and double): rv -= ( int ) ( 2 * rv * ( ha_random32 () | GJB 4.6.1.8 |
M | 591 | Value is not of appropriate type. : (int and double) | GJB 4.6.1.8 |
M | 598 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_extcheck (606 to 649 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 606 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 607 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 608 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 613 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg | GJB 4.6.1.8 |
M | 615 | goto detected. | GJB 4.5.1.2 |
M | 618 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 620 | goto detected. | GJB 4.5.1.2 |
M | 621 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 622 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "missing argument after '%s'." , args [ cur_arg | GJB 4.6.1.8 |
M | 623 | goto detected. | GJB 4.5.1.2 |
M | 625 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 626 | Value is not of appropriate type. : (unsigned int and int): curpx -> check_command = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 628 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 630 | goto detected. | GJB 4.5.1.2 |
M | 631 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 632 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "missing argument after '%s'." , args [ cur_arg | GJB 4.6.1.8 |
M | 633 | goto detected. | GJB 4.5.1.2 |
M | 635 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 636 | Value is not of appropriate type. : (unsigned int and int): curpx -> check_path = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 641 | goto detected. | GJB 4.5.1.2 |
M | 626 | Attempt to read from freed memory. : curpx | GJB 5.1.16 |
M | 636 | Attempt to read from freed memory. : curpx | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_external_check_opt (651 to 663 extcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 651 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 652 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 659 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_param_name (50 to 63 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 62 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 56 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs2 | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_app_find_by_name (68 to 78 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Pointer not checked for null before use. : fcgi_apps | GJB 5.1.15 |
M | 68 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_px_fcgi_conf (80 to 89 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Procedure contains UR data flow anomalies. : fconf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_strm_fcgi_ctx (91 to 103 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 91 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 93 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_px_fcgi_app (105 to 112 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 112 | Memory not freed after last reference. : (rule)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_strm_fcgi_app (114 to 121 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 114 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_release_rule_conf (123 to 134 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 126 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 128 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 131 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 133 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 130 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_release_rule (136 to 153 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 148 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 147 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 148 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 152 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fcgi_docroot (159 to 172 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 160 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 159 | Static procedure is not explicitly called in code analysed. : smp_fetch_fcgi_docroot | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fcgi_index (174 to 187 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 175 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 175 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | Static procedure is not explicitly called in code analysed. : smp_fetch_fcgi_index | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_flt_init (192 to 196 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 192 | Static procedure is not explicitly called in code analysed. : fcgi_flt_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_flt_deinit (198 to 219 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 214 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 218 | Pointer not checked for null before use. : (fcgi_conf)->name | GJB 5.1.15 |
M | 204 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 218 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 198 | Static procedure is not explicitly called in code analysed. : fcgi_flt_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_flt_check (221 to 285 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 233 | goto detected. | GJB 4.5.1.2 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 239 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | goto detected. | GJB 4.5.1.2 |
M | 250 | goto detected. | GJB 4.5.1.2 |
M | 251 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 255 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 258 | goto detected. | GJB 4.5.1.2 |
M | 269 | goto detected. | GJB 4.5.1.2 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 282 | free used on string. | GJB 5.1.19 |
M | 283 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 229 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 221 | Static procedure is not explicitly called in code analysed. : fcgi_flt_check | GJB 4.7.1.3 |
M | 285 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 224 | Procedure contains UR data flow anomalies. : crule | GJB 4.13.1.4 |
M | 226 | Procedure contains UR data flow anomalies. : f | GJB 4.13.1.4 |
M | 281 | Identifier reuse: label vs variable (MR). : err |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_flt_start (287 to 303 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 298 | Pointer not checked for null before use. : fcgi_conf | GJB 5.1.15 |
M | 287 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 287 | Static procedure is not explicitly called in code analysed. : fcgi_flt_start | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_flt_stop (305 to 313 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 305 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 305 | Static procedure is not explicitly called in code analysed. : fcgi_flt_stop | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_flt_http_headers (315 to 505 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 369 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 450 | Pointer not checked for null before use. : param_rule | GJB 5.1.15 |
M | 467 | Pointer not checked for null before use. : hdr_rule | GJB 5.1.15 |
M | 491 | Pointer not checked for null before use. : hdr_rule | GJB 5.1.15 |
M | 500 | Pointer not checked for null before use. : param_rule | GJB 5.1.15 |
M | 384 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 406 | Pointer not checked for null before use. : param_rule | GJB 5.1.15 |
M | 436 | Pointer not checked for null before use. : hdr_rule | GJB 5.1.15 |
M | 315 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 338 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 357 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 366 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 380 | goto detected. | GJB 4.5.1.2 |
M | 403 | goto detected. | GJB 4.5.1.2 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 456 | goto detected. | GJB 4.5.1.2 |
M | 470 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 475 | goto detected. | GJB 4.5.1.2 |
M | 315 | Static procedure is not explicitly called in code analysed. : fcgi_flt_http_headers | GJB 4.7.1.3 |
M | 320 | Procedure contains UR data flow anomalies. : rule | GJB 4.13.1.4 |
M | 502 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_fcgi_flt (521 to 581 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 578 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 547 | Pointer not checked for null before use. : fcgi_conf | GJB 5.1.15 |
M | 573 | Pointer not checked for null before use. : fcgi_conf | GJB 5.1.15 |
M | 567 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 522 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 523 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 527 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 531 | Value is not of appropriate type. : (unsigned int and int): ! * args [ pos + 1 | GJB 4.6.1.8 |
M | 532 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s : expects a <name> argument" , args [ pos | GJB 4.6.1.8 |
M | 533 | goto detected. | GJB 4.5.1.2 |
M | 535 | Value is not of appropriate type. : (unsigned int and int): name = strdup ( args [ pos + 1 | GJB 4.6.1.8 |
M | 537 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s '%s' : out of memory" , args [ pos | GJB 4.6.1.8 |
M | 537 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "%s '%s' : out of memory" , args [ pos ] , args [ pos + 1 | GJB 4.6.1.8 |
M | 538 | goto detected. | GJB 4.5.1.2 |
M | 554 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 555 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 555 | free used on string. | GJB 5.1.19 |
M | 562 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 565 | goto detected. | GJB 4.5.1.2 |
M | 578 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 579 | free used on string. | GJB 5.1.19 |
M | 521 | Static procedure is not explicitly called in code analysed. : parse_fcgi_flt | GJB 4.7.1.3 |
M | 581 | Memory not freed after last reference. : fcgi_conf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_use_fcgi_app (584 to 644 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 636 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 622 | Pointer not checked for null before use. : (fcgi_conf)->name | GJB 5.1.15 |
M | 639 | Pointer not checked for null before use. : (fcgi_conf)->name | GJB 5.1.15 |
M | 584 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 585 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 586 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 595 | goto detected. | GJB 4.5.1.2 |
M | 601 | goto detected. | GJB 4.5.1.2 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 610 | goto detected. | GJB 4.5.1.2 |
M | 613 | goto detected. | GJB 4.5.1.2 |
M | 618 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 620 | goto detected. | GJB 4.5.1.2 |
M | 626 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 628 | goto detected. | GJB 4.5.1.2 |
M | 638 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 639 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 643 | goto detected. | GJB 4.5.1.2 |
M | 584 | Function has no return statement. : proxy_parse_use_fcgi_app | GJB 4.9.1.1 |
M | 584 | Static procedure is not explicitly called in code analysed. : proxy_parse_use_fcgi_app | GJB 4.7.1.3 |
M | 644 | Memory not freed after last reference. : fconf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_fcgi_apps_postparser (647 to 718 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 647 | Empty parameter list to procedure/function. : cfg_fcgi_apps_postparser | GJB 4.1.1.10 |
M | 659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 663 | goto detected. | GJB 4.5.1.2 |
M | 667 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 674 | goto detected. | GJB 4.5.1.2 |
M | 677 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 681 | goto detected. | GJB 4.5.1.2 |
M | 690 | goto detected. | GJB 4.5.1.2 |
M | 706 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 647 | Static procedure is not explicitly called in code analysed. : cfg_fcgi_apps_postparser | GJB 4.7.1.3 |
M | 652 | Procedure contains UR data flow anomalies. : logsrv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_app_add_rule (720 to 763 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 751 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 754 | Pointer not checked for null before use. : (rule)->name | GJB 5.1.15 |
M | 755 | Pointer not checked for null before use. : (rule)->value | GJB 5.1.15 |
M | 748 | Pointer not checked for null before use. : (rule)->name | GJB 5.1.15 |
M | 720 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 720 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 721 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 726 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 728 | goto detected. | GJB 4.5.1.2 |
M | 731 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 731 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 740 | goto detected. | GJB 4.5.1.2 |
M | 745 | goto detected. | GJB 4.5.1.2 |
M | 753 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 753 | free used on string. | GJB 5.1.19 |
M | 754 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 754 | free used on string. | GJB 5.1.19 |
M | 755 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 759 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 763 | Memory not freed after last reference. : rule |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_fcgi_app (766 to 1074 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 811 | Pointer not checked for null before use. : fcgi_apps | GJB 5.1.15 |
M | 825 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 826 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 833 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 834 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 835 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 836 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 837 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 838 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 839 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 840 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 841 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 842 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 770 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 773 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 781 | goto detected. | GJB 4.5.1.2 |
M | 784 | goto detected. | GJB 4.5.1.2 |
M | 791 | goto detected. | GJB 4.5.1.2 |
M | 802 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 806 | goto detected. | GJB 4.5.1.2 |
M | 825 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 826 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 826 | Expression with more than one function. | GJB 4.7.1.6 |
M | 833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 834 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 834 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 835 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 835 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 836 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 836 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 838 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 838 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 839 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 839 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 840 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 840 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 841 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 841 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 842 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 842 | Expression with more than one function. | GJB 4.7.1.6 |
M | 853 | goto detected. | GJB 4.5.1.2 |
M | 856 | goto detected. | GJB 4.5.1.2 |
M | 869 | goto detected. | GJB 4.5.1.2 |
M | 872 | goto detected. | GJB 4.5.1.2 |
M | 886 | goto detected. | GJB 4.5.1.2 |
M | 889 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 898 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 898 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 904 | goto detected. | GJB 4.5.1.2 |
M | 911 | goto detected. | GJB 4.5.1.2 |
M | 913 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 913 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 917 | goto detected. | GJB 4.5.1.2 |
M | 921 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 925 | goto detected. | GJB 4.5.1.2 |
M | 935 | goto detected. | GJB 4.5.1.2 |
M | 938 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 938 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 941 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 941 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 941 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 976 | goto detected. | GJB 4.5.1.2 |
M | 983 | goto detected. | GJB 4.5.1.2 |
M | 1009 | goto detected. | GJB 4.5.1.2 |
M | 1013 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1017 | goto detected. | GJB 4.5.1.2 |
M | 1021 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1025 | goto detected. | GJB 4.5.1.2 |
M | 1029 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1036 | goto detected. | GJB 4.5.1.2 |
M | 1042 | goto detected. | GJB 4.5.1.2 |
M | 1045 | goto detected. | GJB 4.5.1.2 |
M | 1052 | goto detected. | GJB 4.5.1.2 |
M | 1071 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1072 | free used on string. | GJB 5.1.19 |
M | 766 | Static procedure is not explicitly called in code analysed. : cfg_parse_fcgi_app | GJB 4.7.1.3 |
M | 980 | Procedure contains UR data flow anomalies. : value |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_apps_deinit (1080 to 1107 fcgi-app.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1085 | Pointer not checked for null before use. : fcgi_apps | GJB 5.1.15 |
M | 1095 | Pointer not checked for null before use. : log | GJB 5.1.15 |
M | 1089 | Pointer not checked for null before use. : (fcgi_apps)->conf.file | GJB 5.1.15 |
M | 1080 | Empty parameter list to procedure/function. : fcgi_apps_deinit | GJB 4.1.1.10 |
M | 1088 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1092 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1096 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1105 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1101 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 1107 | Memory not freed after last reference. : curapp |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_encode_record_hdr (36 to 54 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 36 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 40 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 40 | Expression needs brackets. | GJB 5.1.2 |
M | 45 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 47 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 52 | Signed/unsigned conversion without cast. : (int and unsigned int): out -> data = len | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_decode_record_hdr (67 to 80 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | Name found with length less than 2. : o | GJB 4.8.1.1 |
M | 67 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 69 | Signed/unsigned conversion without cast. : (int and unsigned int): b_data ( in ) < o | GJB 4.6.1.9 |
M | 69 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 69 | Expression needs brackets. | GJB 5.1.2 |
M | 73 | Value is not of appropriate type. : (int and unsigned char): h -> type = ( uint8_t | GJB 4.6.1.8 |
M | 73 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 74 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 74 | Shifting value too far. | GJB 4.6.1.4 |
M | 75 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 75 | Shifting value too far. | GJB 4.6.1.4 |
M | 76 | Value is not of appropriate type. : (int and unsigned char): h -> padding = ( uint8_t | GJB 4.6.1.8 |
M | 76 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 79 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_encode_begin_request (87 to 101 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 87 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 91 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 91 | Expression needs brackets. | GJB 5.1.2 |
M | 94 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 97 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 99 | Signed/unsigned conversion without cast. : (int and unsigned int): out -> data = len | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_encode_param (110 to 151 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 110 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 117 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 138 | Signed/unsigned conversion without cast. : (unsigned int and int): off | GJB 4.6.1.9 |
M | 145 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 146 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 149 | Signed/unsigned conversion without cast. : (int and unsigned int): out -> data = len | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_decode_param (157 to 207 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 157 | Name found with length less than 2. : o | GJB 4.8.1.1 |
M | 157 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 163 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 163 | Expression needs brackets. | GJB 5.1.2 |
M | 165 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 171 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 171 | Expression needs brackets. | GJB 5.1.2 |
M | 173 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 174 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 175 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Shifting value too far. | GJB 4.6.1.4 |
M | 177 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Expression needs brackets. | GJB 5.1.2 |
M | 182 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Expression needs brackets. | GJB 5.1.2 |
M | 190 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 191 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 192 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Shifting value too far. | GJB 4.6.1.4 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Expression needs brackets. | GJB 5.1.2 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_aligned_decode_param (214 to 264 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 214 | Name found with length less than 2. : o | GJB 4.8.1.1 |
M | 214 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Expression needs brackets. | GJB 5.1.2 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Expression needs brackets. | GJB 5.1.2 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Shifting value too far. | GJB 4.6.1.4 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Expression needs brackets. | GJB 5.1.2 |
M | 245 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 245 | Expression needs brackets. | GJB 5.1.2 |
M | 250 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 250 | Shifting value too far. | GJB 4.6.1.4 |
M | 251 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 254 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 254 | Expression needs brackets. | GJB 5.1.2 |
M | 259 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 261 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcgi_decode_end_request (271 to 287 fcgi.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 271 | Name found with length less than 2. : o | GJB 4.8.1.1 |
M | 275 | Signed/unsigned conversion without cast. : (int and unsigned int): b_data ( in ) < o | GJB 4.6.1.9 |
M | 275 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 275 | Expression needs brackets. | GJB 5.1.2 |
M | 278 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 279 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 280 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 281 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 282 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 282 | Shifting value too far. | GJB 4.6.1.4 |
M | 282 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 283 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 284 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 286 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fd_add_to_fd_list (120 to 175 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 134 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 144 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 160 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 170 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 171 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 123 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 128 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 128 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 131 | goto detected. | GJB 4.5.1.2 |
M | 133 | goto detected. | GJB 4.5.1.2 |
M | 134 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 134 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 134 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 135 | goto detected. | GJB 4.5.1.2 |
M | 138 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 144 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 144 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 150 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 151 | goto detected. | GJB 4.5.1.2 |
M | 154 | Volatile variable in complex expression. : list | GJB 4.15.1.6 |
M | 160 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 160 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ last | GJB 4.6.1.8 |
M | 160 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 160 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 161 | goto detected. | GJB 4.5.1.2 |
M | 164 | Volatile variable in complex expression. : list | GJB 4.15.1.6 |
M | 170 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 170 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 170 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 170 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 171 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 171 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 171 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 171 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fd_rm_from_fd_list (178 to 292 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 215 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 220 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 223 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 226 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 236 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 241 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 243 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 253 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 259 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 262 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 264 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 282 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 285 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 288 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 188 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 192 | Multiple labels declared. : "lock_self" and "lock_self_next" | GJB 4.1.1.4 |
M | 215 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 215 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 215 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 217 | goto detected. | GJB 4.5.1.2 |
M | 219 | goto detected. | GJB 4.5.1.2 |
M | 220 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 220 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 220 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 220 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 221 | goto detected. | GJB 4.5.1.2 |
M | 223 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 223 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 223 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 225 | goto detected. | GJB 4.5.1.2 |
M | 226 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 226 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 226 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 226 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 227 | goto detected. | GJB 4.5.1.2 |
M | 236 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 236 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 236 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ prev | GJB 4.6.1.8 |
M | 236 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 236 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 241 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 241 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 241 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 241 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 243 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 243 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 243 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 243 | Casting operation on a pointer. | GJB 4.12.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 245 | goto detected. | GJB 4.5.1.2 |
M | 247 | goto detected. | GJB 4.5.1.2 |
M | 253 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 253 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ next | GJB 4.6.1.8 |
M | 253 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 253 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 259 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 259 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 259 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ prev | GJB 4.6.1.8 |
M | 259 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 262 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 262 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 262 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 262 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 264 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 264 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 264 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 264 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 266 | goto detected. | GJB 4.5.1.2 |
M | 268 | goto detected. | GJB 4.5.1.2 |
M | 271 | Volatile variable in complex expression. : list | GJB 4.15.1.6 |
M | 272 | Volatile variable in complex expression. : list | GJB 4.15.1.6 |
M | 275 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 282 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 282 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 282 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ prev | GJB 4.6.1.8 |
M | 282 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 285 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 285 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 285 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ next | GJB 4.6.1.8 |
M | 285 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 288 | Volatile variable in complex expression. : fdlist_entry | GJB 4.15.1.6 |
M | 288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 288 | Value is not of appropriate type. : (unsigned int and int): ( char * ) ( & fdtab [ fd | GJB 4.6.1.8 |
M | 288 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fd_delete (300 to 337 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 302 | Pointer not checked for null before use. : fdtab | GJB 5.1.15 |
M | 302 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 314 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 316 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 316 | Use of sizeof on a type. | GJB 5.1.8 |
M | 321 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd | GJB 4.6.1.8 |
M | 321 | Value is not of appropriate type. : (unsigned int and int): polled_mask [ fd ].poll_recv = polled_mask [ fd | GJB 4.6.1.8 |
M | 321 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 323 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 328 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 328 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 329 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 330 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 331 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 332 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fd_takeover (348 to 393 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 353 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_OR ( & fdtab [ fd | GJB 4.6.1.8 |
M | 355 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 356 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 384 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_AND ( & fdtab [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
updt_fd_polling (395 to 421 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 397 | Value is not of appropriate type. : (int and unsigned long): all_threads_mask == 1UL | GJB 4.6.1.8 |
M | 397 | Signed/unsigned conversion without cast. : (int and unsigned long): all_threads_mask | GJB 4.6.1.9 |
M | 397 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 397 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 397 | Value is not of appropriate type. : (unsigned int and int): ( fdtab [ fd | GJB 4.6.1.8 |
M | 398 | Value is not of appropriate type. : (unsigned int and int): HA_ATOMIC_BTS ( & fdtab [ fd | GJB 4.6.1.8 |
M | 401 | Value is not of appropriate type. : (unsigned int and int): fd_updt [ fd_nbupdt ++ | GJB 4.6.1.8 |
M | 403 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 405 | Value is not of appropriate type. : (unsigned int and int): update_mask == fdtab [ fd | GJB 4.6.1.8 |
M | 407 | Value is not of appropriate type. : (unsigned int and int): ! _HA_ATOMIC_CAS ( & fdtab [ fd | GJB 4.6.1.8 |
M | 407 | Value is not of appropriate type. : (unsigned int and int): ! _HA_ATOMIC_CAS ( & fdtab [ fd ].update_mask , & update_mask , fdtab [ fd | GJB 4.6.1.8 |
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | Value is not of appropriate type. : (unsigned int and int): ( fdtab [ fd | GJB 4.6.1.8 |
M | 415 | Value is not of appropriate type. : (unsigned int and int): my_ffsl ( fdtab [ fd | GJB 4.6.1.8 |
M | 417 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 409 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fd_write_frag_line (434 to 503 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 452 | Use of sizeof on a type. | GJB 5.1.8 |
M | 452 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 452 | Use of sizeof on a type. | GJB 5.1.8 |
M | 452 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 452 | Expression needs brackets. | GJB 5.1.2 |
M | 456 | Signed/unsigned conversion without cast. : (unsigned int and int): nmsg | GJB 4.6.1.9 |
M | 461 | Value is not of appropriate type. : (unsigned int and int): iovec [ vec | GJB 4.6.1.8 |
M | 462 | Value is not of appropriate type. : (unsigned int and int): iovec [ vec | GJB 4.6.1.8 |
M | 463 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 463 | Value is not of appropriate type. : (unsigned int and int): maxlen -= iovec [ vec | GJB 4.6.1.8 |
M | 464 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 464 | Value is not of appropriate type. : (unsigned int and int): totlen += iovec [ vec | GJB 4.6.1.8 |
M | 465 | Value is not of appropriate type. : (unsigned int and int): iovec [ vec | GJB 4.6.1.8 |
M | 471 | Value is not of appropriate type. : (unsigned int and int): iovec [ vec | GJB 4.6.1.8 |
M | 472 | Value is not of appropriate type. : (unsigned int and int): iovec [ vec | GJB 4.6.1.8 |
M | 483 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 483 | Expression needs brackets. | GJB 5.1.2 |
M | 486 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 487 | goto detected. | GJB 4.5.1.2 |
M | 492 | Value is not of appropriate type. : (unsigned int and int): unlikely ( ! fdtab [ fd | GJB 4.6.1.8 |
M | 493 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_closefrom (574 to 589 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 588 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 588 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
disable_poller (593 to 600 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 595 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 598 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 598 | Value is not of appropriate type. : (unsigned int and int): strcmp ( pollers [ p | GJB 4.6.1.8 |
M | 599 | Value is not of appropriate type. : (unsigned int and int): pollers [ p | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
poller_pipe_io_handler (602 to 608 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 604 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 606 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_pollers_per_thread (613 to 617 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 613 | Empty parameter list to procedure/function. : alloc_pollers_per_thread | GJB 4.1.1.10 |
M | 615 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 613 | Static procedure is not explicitly called in code analysed. : alloc_pollers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_pollers_per_thread (620 to 634 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 620 | Empty parameter list to procedure/function. : init_pollers_per_thread | GJB 4.1.1.10 |
M | 620 | Static procedure is not explicitly called in code analysed. : init_pollers_per_thread | GJB 4.7.1.3 |
M | 622 | Procedure contains UR data flow anomalies. : mypipe |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_pollers_per_thread (637 to 647 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 637 | Empty parameter list to procedure/function. : deinit_pollers_per_thread | GJB 4.1.1.10 |
M | 637 | Static procedure is not explicitly called in code analysed. : deinit_pollers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_pollers_per_thread (650 to 654 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 650 | Empty parameter list to procedure/function. : free_pollers_per_thread | GJB 4.1.1.10 |
M | 652 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 650 | Static procedure is not explicitly called in code analysed. : free_pollers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_pollers (660 to 709 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 660 | Empty parameter list to procedure/function. : init_pollers | GJB 4.1.1.10 |
M | 662 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 665 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 665 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 665 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 670 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 670 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 670 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 672 | goto detected. | GJB 4.5.1.2 |
M | 675 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 675 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 675 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 677 | goto detected. | GJB 4.5.1.2 |
M | 680 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 684 | Value is not of appropriate type. : (unsigned int and int): fdtab [ p | GJB 4.6.1.8 |
M | 690 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 690 | Value is not of appropriate type. : (unsigned int and int): ( pollers [ p | GJB 4.6.1.8 |
M | 691 | Value is not of appropriate type. : (unsigned int and int): bp = &pollers [ p | GJB 4.6.1.8 |
M | 693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 700 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 702 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 703 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 705 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_pollers (714 to 729 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 714 | Empty parameter list to procedure/function. : deinit_pollers | GJB 4.1.1.10 |
M | 717 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 720 | Value is not of appropriate type. : (unsigned int and int): bp = &pollers [ p | GJB 4.6.1.8 |
M | 726 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 727 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 728 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
list_pollers (735 to 784 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 782 | Pointer not checked for null before use. : bp | GJB 5.1.15 |
M | 737 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 746 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 749 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 749 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 749 | Value is not of appropriate type. : (unsigned int and int): pollers [ p | GJB 4.6.1.8 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 750 | Value is not of appropriate type. : (unsigned int and int): pollers [ p | GJB 4.6.1.8 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): next = pollers [ p | GJB 4.6.1.8 |
M | 752 | Value is not of appropriate type. : (unsigned int and int): ( pollers [ p | GJB 4.6.1.8 |
M | 753 | Value is not of appropriate type. : (unsigned int and int): bp = &pollers [ p | GJB 4.6.1.8 |
M | 761 | Value is not of appropriate type. : (unsigned int and int): pollers [ p | GJB 4.6.1.8 |
M | 762 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , " %10s : " , pollers [ p | GJB 4.6.1.8 |
M | 763 | Value is not of appropriate type. : (unsigned int and int): pollers [ p | GJB 4.6.1.8 |
M | 766 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , "pref=%3d, " , pollers [ p | GJB 4.6.1.8 |
M | 767 | Value is not of appropriate type. : (unsigned int and int): pollers [ p | GJB 4.6.1.8 |
M | 767 | Value is not of appropriate type. : (unsigned int and int): pollers [ p ].test ( & pollers [ p | GJB 4.6.1.8 |
M | 773 | Value is not of appropriate type. : (unsigned int and int): bp == & pollers [ p | GJB 4.6.1.8 |
M | 745 | Procedure contains UR data flow anomalies. : bp | GJB 4.13.1.4 |
M | 774 | Procedure contains UR data flow anomalies. : bp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fork_poller (793 to 809 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 793 | Empty parameter list to procedure/function. : fork_poller | GJB 4.1.1.10 |
M | 797 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 798 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_tune_fd_edge_triggered (812 to 828 fd.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 812 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 813 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 814 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 820 | Bit operator with boolean operand. : |= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 820 | Bit operator with boolean operand. : |= used with bool: GTUNE_FD_ET | GJB 4.6.1.17,4.6.1.18 |
M | 822 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 822 | Bit operator with boolean operand. : ~ used with bool: GTUNE_FD_ET | GJB 4.6.1.17,4.6.1.18 |
M | 812 | Static procedure is not explicitly called in code analysed. : cfg_parse_tune_fd_edge_triggered | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
has_zero32 (38 to 72 fgets2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 38 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 40 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 68 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
has_zero64 (75 to 82 fgets2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 75 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 77 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 79 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
has_zero (84 to 87 fgets2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 86 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_lf (92 to 198 fgets2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 117 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 120 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 123 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 126 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 129 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 132 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 135 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 160 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 163 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 166 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 169 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 172 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 175 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 178 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 92 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 92 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 92 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 102 | Use of sizeof on a type. | GJB 5.1.8 |
M | 107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 107 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 114 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 117 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 120 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 123 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 126 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 129 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 132 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 135 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 147 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 151 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 151 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 151 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 157 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 160 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 163 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 166 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 169 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 172 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 175 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 178 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 184 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 114 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 117 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 120 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 123 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 126 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 129 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 132 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 135 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 151 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 157 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 160 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 163 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 166 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 169 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 172 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 175 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 178 | Actual and formal parameters inconsistent (MR). : (uns long long): param 1 | GJB 4.7.1.9 |
M | 184 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fgets2 (200 to 250 fgets2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 247 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 200 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 203 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 204 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 216 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 231 | Expression needs brackets. | GJB 5.1.2 |
M | 235 | Expression needs brackets. | GJB 5.1.2 |
M | 247 | Modification of string literal. : end | GJB 5.1.19 |
M | 200 | Function has no return statement. : fgets2 | GJB 4.9.1.1 |
M | 200 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
queue_by_weight (36 to 40 filltab25.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : queue_by_weight | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 36 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 36 | Procedure is not called or referenced in code analysed. : queue_by_weight | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
queue_by_weight_0 (43 to 51 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 43 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 49 | Procedure contains UR data flow anomalies. : srv.tree |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dequeue_srv (53 to 55 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
put_srv (58 to 86 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 58 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 59 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 60 | Expression needs brackets. | GJB 5.1.2 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Expression needs brackets. | GJB 5.1.2 |
M | 78 | Expression needs brackets. | GJB 5.1.2 |
M | 78 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_srv_init (89 to 91 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 89 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 90 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_srv_next (94 to 96 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_srv_down (99 to 101 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 99 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_srv (104 to 114 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 104 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 113 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_next_server (120 to 144 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 121 | Name redeclared in another C name space (MR). : node | GJB 4.1.1.16 |
M | 125 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 133 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 134 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 127 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 120 | Empty parameter list to procedure/function. : get_next_server | GJB 4.1.1.10 |
M | 127 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 136 | Procedure contains UR data flow anomalies. : node |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
update_position (146 to 170 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 146 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 151 | Expression needs brackets. | GJB 5.1.2 |
M | 160 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 161 | Comment possibly contains code. | GJB 4.10.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
switch_trees (176 to 183 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 176 | Empty parameter list to procedure/function. : switch_trees | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (185 to 398 filltab25.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | Name redeclared in another C name space (MR). : node | GJB 4.1.1.16 |
M | 316 | Name redeclared in another C name space (MR). : w | GJB 4.1.1.16 |
M | 317 | Name redeclared in another C name space (MR). : num | GJB 4.1.1.16 |
M | 388 | Name redeclared in another C name space (MR). : w | GJB 4.1.1.16 |
M | 203 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 185 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 185 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 187 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 197 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 197 | Use of sizeof on a type. | GJB 5.1.8 |
M | 201 | Value is not of appropriate type. : (unsigned int and int): s = &srv [ i | GJB 4.6.1.8 |
M | 203 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 203 | Value is not of appropriate type. : (unsigned int and int): s -> w = atol ( argv [ i | GJB 4.6.1.8 |
M | 218 | Value is not of appropriate type. : (unsigned int and int): s = &srv [ i | GJB 4.6.1.8 |
M | 241 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 242 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 245 | goto detected. | GJB 4.5.1.2 |
M | 256 | goto detected. | GJB 4.5.1.2 |
M | 258 | Expression needs brackets. | GJB 5.1.2 |
M | 259 | Expression needs brackets. | GJB 5.1.2 |
M | 260 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 264 | Value is not of appropriate type. : (unsigned int and int): srv [ i | GJB 4.6.1.8 |
M | 271 | Value is not of appropriate type. : (unsigned int and int): srv [ i | GJB 4.6.1.8 |
M | 284 | Expression needs brackets. | GJB 5.1.2 |
M | 286 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 293 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 299 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 300 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 303 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 308 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 309 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 315 | Expression needs brackets. | GJB 5.1.2 |
M | 316 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 318 | Name reused in inner scope. : s | GJB 4.15.1.2,4.15.1.5 |
M | 318 | Value is not of appropriate type. : (unsigned int and int): & srv [ num | GJB 4.6.1.8 |
M | 320 | Expression needs brackets. | GJB 5.1.2 |
M | 321 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 335 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 337 | Expression needs brackets. | GJB 5.1.2 |
M | 337 | Expression needs brackets. | GJB 5.1.2 |
M | 354 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 364 | Expression needs brackets. | GJB 5.1.2 |
M | 384 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 384 | Expression needs brackets. | GJB 5.1.2 |
M | 388 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 389 | Value is not of appropriate type. : (unsigned int and int): s = &srv [ i | GJB 4.6.1.8 |
M | 390 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_init (18 to 26 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 18 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_deinit (28 to 37 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 28 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_deinit | GJB 4.7.1.3 |
M | 37 | Memory not freed after last reference. : conf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_check (39 to 47 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_attach (49 to 91 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 63 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 50 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 53 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 53 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 63 | Value is not of appropriate type. : (unsigned int and int): rule_cnt = nuster.proxy [ conf -> pid | GJB 4.6.1.8 |
M | 64 | Value is not of appropriate type. : (unsigned int and int): key_cnt = nuster.proxy [ conf -> pid | GJB 4.6.1.8 |
M | 66 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 66 | Expression needs brackets. | GJB 5.1.2 |
M | 68 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 80 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 89 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 49 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_attach | GJB 4.7.1.3 |
M | 86 | Memory not freed after last reference. : ctx |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_detach (93 to 118 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 98 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 100 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 100 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 105 | Value is not of appropriate type. : (unsigned int and int): ctx -> key = &ctx -> keys [ i | GJB 4.6.1.8 |
M | 108 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 114 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 93 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_detach | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_http_headers (120 to 332 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 247 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 141 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 121 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 138 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 146 | Value is not of appropriate type. : (unsigned int and int): ctx -> rule = nuster.proxy [ px -> uuid | GJB 4.6.1.8 |
M | 151 | Value is not of appropriate type. : (unsigned int and int): ctx -> key = &( ctx -> keys [ idx | GJB 4.6.1.8 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 228 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 120 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_http_headers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_http_payload (334 to 352 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 335 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 340 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 351 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 334 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_http_payload | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_nosql_filter_http_end (354 to 378 filter.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 368 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 355 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 362 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 362 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 354 | Static procedure is not explicitly called in code analysed. : _nst_nosql_filter_http_end | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_find_kw (103 to 127 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 117 | Pointer not checked for null before use. : kwend | GJB 5.1.15 |
M | 104 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 107 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 116 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 117 | Value is not of appropriate type. : (unsigned int and int): strncmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 119 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 120 | Value is not of appropriate type. : (unsigned int and int): & kwl -> kw [ index | GJB 4.6.1.8 |
M | 122 | Value is not of appropriate type. : (unsigned int and int): ret = &kwl -> kw [ index | GJB 4.6.1.8 |
M | 126 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 108 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_dump_kws (133 to 154 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 145 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 145 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 146 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 146 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index ].kw ) == & kwl -> kw [ index | GJB 4.6.1.8 |
M | 148 | Value is not of appropriate type. : (unsigned int and int): kwl -> scope , kwl -> kw [ index | GJB 4.6.1.8 |
M | 148 | Value is not of appropriate type. : (unsigned int and int): kwl -> scope , kwl -> kw [ index ].kw , kwl -> kw [ index | GJB 4.6.1.8 |
M | 146 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 136 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
list_filters (159 to 169 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 162 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 162 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 166 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 167 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 167 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 168 | free used on string. | GJB 5.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_filter (175 to 250 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 176 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 177 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 177 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 195 | goto detected. | GJB 4.5.1.2 |
M | 197 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 200 | goto detected. | GJB 4.5.1.2 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 208 | Value is not of appropriate type. : (unsigned int and int): not implemented in this version (check build options)." , file , line , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 210 | goto detected. | GJB 4.5.1.2 |
M | 212 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : error encountered while processing '%s'" , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 219 | goto detected. | GJB 4.5.1.2 |
M | 225 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown keyword '%s'.%s%s" , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 228 | goto detected. | GJB 4.5.1.2 |
M | 230 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 231 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' : unknown keyword '%s'." , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 233 | goto detected. | GJB 4.5.1.2 |
M | 238 | goto detected. | GJB 4.5.1.2 |
M | 245 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 175 | Static procedure is not explicitly called in code analysed. : parse_filter | GJB 4.7.1.3 |
M | 250 | Memory not freed after last reference. : fconf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_init (257 to 267 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_init_per_thread (274 to 284 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 280 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 280 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_init_all (287 to 306 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Empty parameter list to procedure/function. : flt_init_all | GJB 4.1.1.10 |
M | 287 | Static procedure is not explicitly called in code analysed. : flt_init_all | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_init_all_per_thread (310 to 328 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 311 | Empty parameter list to procedure/function. : flt_init_all_per_thread | GJB 4.1.1.10 |
M | 310 | Static procedure is not explicitly called in code analysed. : flt_init_all_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_check (335 to 347 filters.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_deinit (353 to 364 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 362 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_deinit_per_thread (370 to 379 filters.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_deinit_all_per_thread (383 to 390 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 384 | Empty parameter list to procedure/function. : flt_deinit_all_per_thread | GJB 4.1.1.10 |
M | 389 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 383 | Static procedure is not explicitly called in code analysed. : flt_deinit_all_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_stream_add_filter (393 to 419 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 405 | Pointer not checked for null before use. : f | GJB 5.1.15 |
M | 394 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 398 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 406 | Signed/unsigned conversion without cast. : (int and unsigned int): f -> flags |= flags | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_stream_init (425 to 437 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 433 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 426 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 428 | Procedure contains UR data flow anomalies. : fconf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_stream_release (445 to 460 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 446 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_stream_start (467 to 477 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 468 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 473 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 473 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 470 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_stream_stop (483 to 492 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 484 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 486 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_stream_check_timeouts (498 to 507 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 499 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 501 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_set_stream_backend (514 to 536 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 515 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 521 | goto detected. | GJB 4.5.1.2 |
M | 530 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 531 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 518 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_http_end (546 to 578 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 556 | Pointer not checked for null before use. : strm_off | GJB 5.1.15 |
M | 555 | Pointer not checked for null before use. : filter | GJB 5.1.15 |
M | 547 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 554 | goto detected. | GJB 4.5.1.2 |
M | 556 | Type conversion without cast. : (unsigned int and uns long long): offset = flt_off | GJB 4.6.1.9 |
M | 556 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 568 | goto detected. | GJB 4.5.1.2 |
M | 573 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 554 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_http_reset (584 to 597 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 585 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 587 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_http_reply (603 to 616 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 604 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 606 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_http_payload (627 to 667 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 639 | Pointer not checked for null before use. : flt_off | GJB 5.1.15 |
M | 639 | Pointer not checked for null before use. : strm_off | GJB 5.1.15 |
M | 654 | Pointer not checked for null before use. : flt_off | GJB 5.1.15 |
M | 628 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 635 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 635 | Signed/unsigned conversion without cast. : (int and unsigned int): ret = data = len | GJB 4.6.1.9 |
M | 635 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 639 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 645 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 645 | Signed/unsigned conversion without cast. : (uns long long and int): flt_off += data | GJB 4.6.1.9 |
M | 651 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 654 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 654 | Expression needs brackets. | GJB 5.1.2 |
M | 655 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 655 | Signed/unsigned conversion without cast. : (uns long long and int): flt_off += ret | GJB 4.6.1.9 |
M | 662 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 662 | Signed/unsigned conversion without cast. : (uns long long and int): strm_off += ret | GJB 4.6.1.9 |
M | 630 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_start_analyze (678 to 716 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 694 | Pointer not checked for null before use. : filter | GJB 5.1.15 |
M | 679 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 691 | goto detected. | GJB 4.5.1.2 |
M | 693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 708 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_pre_analyze (728 to 748 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 729 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 735 | goto detected. | GJB 4.5.1.2 |
M | 736 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 740 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_post_analyze (759 to 778 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 760 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_analyze_http_headers (785 to 815 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 792 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 786 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 794 | goto detected. | GJB 4.5.1.2 |
M | 799 | goto detected. | GJB 4.5.1.2 |
M | 808 | Signed/unsigned conversion without cast. : (int and unsigned int): FLT_OFF ( f , chn ) = data | GJB 4.6.1.9 |
M | 805 | Procedure contains UR data flow anomalies. : f | GJB 4.13.1.4 |
M | 794 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_end_analyze (824 to 883 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 876 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 837 | Pointer not checked for null before use. : filter | GJB 5.1.15 |
M | 825 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 834 | goto detected. | GJB 4.5.1.2 |
M | 836 | goto detected. | GJB 4.5.1.2 |
M | 844 | goto detected. | GJB 4.5.1.2 |
M | 836 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_tcp_payload (895 to 936 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 907 | Pointer not checked for null before use. : flt_off | GJB 5.1.15 |
M | 907 | Pointer not checked for null before use. : strm_off | GJB 5.1.15 |
M | 923 | Pointer not checked for null before use. : flt_off | GJB 5.1.15 |
M | 896 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 903 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 903 | Signed/unsigned conversion without cast. : (int and unsigned int): ret = data = len | GJB 4.6.1.9 |
M | 903 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 907 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 913 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 913 | Signed/unsigned conversion without cast. : (uns long long and int): flt_off += data | GJB 4.6.1.9 |
M | 920 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 922 | goto detected. | GJB 4.5.1.2 |
M | 923 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 923 | Expression needs brackets. | GJB 5.1.2 |
M | 924 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 924 | Signed/unsigned conversion without cast. : (uns long long and int): flt_off += ret | GJB 4.6.1.9 |
M | 931 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 931 | Signed/unsigned conversion without cast. : (uns long long and int): strm_off += ret | GJB 4.6.1.9 |
M | 898 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_xfer_data (946 to 998 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 966 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 947 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 956 | goto detected. | GJB 4.5.1.2 |
M | 961 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 962 | goto detected. | GJB 4.5.1.2 |
M | 973 | goto detected. | GJB 4.5.1.2 |
M | 980 | goto detected. | GJB 4.5.1.2 |
M | 983 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 983 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 985 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
handle_analyzer_result (1004 to 1063 filters.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1005 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1012 | goto detected. | GJB 4.5.1.2 |
M | 1014 | goto detected. | GJB 4.5.1.2 |
M | 1016 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fix_check_id (34 to 76 fix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 40 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 35 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 35 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 47 | Signed/unsigned conversion without cast. : (unsigned int and int): ret | GJB 4.6.1.9 |
M | 55 | Signed/unsigned conversion without cast. : (unsigned int and int): ret | GJB 4.6.1.9 |
M | 55 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 55 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 55 | Signed/unsigned conversion without cast. : (unsigned int and int): ret | GJB 4.6.1.9 |
M | 59 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 59 | Signed/unsigned conversion without cast. : (unsigned int and int): ( ret | GJB 4.6.1.9 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Signed/unsigned conversion without cast. : (unsigned int and int): ( ret | GJB 4.6.1.9 |
M | 63 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 63 | Signed/unsigned conversion without cast. : (unsigned int and int): ( ret | GJB 4.6.1.9 |
M | 65 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 65 | Signed/unsigned conversion without cast. : (unsigned int and int): ( ret | GJB 4.6.1.9 |
M | 67 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 67 | Signed/unsigned conversion without cast. : (unsigned int and int): ( ret | GJB 4.6.1.9 |
M | 72 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 72 | Signed/unsigned conversion without cast. : (unsigned int and int): ( ret | GJB 4.6.1.9 |
M | 73 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fix_validate_message (93 to 209 fix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 157 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 157 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 103 | goto detected. | GJB 4.5.1.2 |
M | 112 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 112 | Signed/unsigned conversion without cast. : (unsigned int and int): checksum = tagnum = bodylen | GJB 4.6.1.9 |
M | 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 117 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 125 | goto detected. | GJB 4.5.1.2 |
M | 128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 129 | goto detected. | GJB 4.5.1.2 |
M | 138 | goto detected. | GJB 4.5.1.2 |
M | 141 | Signed/unsigned conversion without cast. : (unsigned int and int): tagnum | GJB 4.6.1.9 |
M | 144 | goto detected. | GJB 4.5.1.2 |
M | 148 | goto detected. | GJB 4.5.1.2 |
M | 150 | Signed/unsigned conversion without cast. : (unsigned int and int): tagnum | GJB 4.6.1.9 |
M | 153 | goto detected. | GJB 4.5.1.2 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | goto detected. | GJB 4.5.1.2 |
M | 167 | Signed/unsigned conversion without cast. : (unsigned int and int): tagnum | GJB 4.6.1.9 |
M | 170 | goto detected. | GJB 4.5.1.2 |
M | 172 | Signed/unsigned conversion without cast. : (unsigned int and int): tagnum | GJB 4.6.1.9 |
M | 172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 177 | Expression needs brackets. | GJB 5.1.2 |
M | 178 | goto detected. | GJB 4.5.1.2 |
M | 181 | goto detected. | GJB 4.5.1.2 |
M | 183 | goto detected. | GJB 4.5.1.2 |
M | 187 | goto detected. | GJB 4.5.1.2 |
M | 188 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 192 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Type conversion without cast. : (unsigned char and char): checksum += *p | GJB 4.6.1.9 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Type conversion without cast. : (unsigned char and char): checksum += '=' | GJB 4.6.1.9 |
M | 195 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Type conversion without cast. : (unsigned char and char): checksum += *p | GJB 4.6.1.9 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Signed/unsigned conversion without cast. : (unsigned char and int): checksum += FIX_DELIMITER | GJB 4.6.1.9 |
M | 113 | Procedure contains UR data flow anomalies. : body | GJB 4.13.1.4 |
M | 207 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fix_tag_value (225 to 264 fix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 239 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 239 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 240 | goto detected. | GJB 4.5.1.2 |
M | 247 | goto detected. | GJB 4.5.1.2 |
M | 255 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_show_as (33 to 44 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 35 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 38 | Expression needs brackets. | GJB 5.1.2 |
M | 40 | Value is not of appropriate type. : (unsigned int and int): strcmp ( word , show_as_words [ w | GJB 4.6.1.8 |
M | 41 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 41 | Function return type inconsistent. : (unsigned int and int) | GJB 4.9.1.4 |
M | 33 | Function has no return statement. : get_show_as | GJB 4.9.1.1 |
M | 33 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_chn_ana (46 to 90 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 46 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_chn_flags (92 to 137 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 92 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_conn_flags (139 to 175 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 139 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_cs_flags (176 to 201 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 176 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_si_et (203 to 227 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 203 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_si_flags (229 to 261 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_task_state (263 to 285 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 263 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_txn_flags (287 to 333 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 287 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 304 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 306 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 315 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 317 | Comment possibly contains code. | GJB 4.10.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
show_strm_flags (335 to 389 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 335 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 347 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 348 | No default case in switch statement. | GJB 4.3.1.4 |
M | 358 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage_exit (391 to 395 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 391 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (397 to 471 flags.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 414 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 412 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 397 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 401 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 402 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 403 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 407 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 431 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 437 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 441 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 441 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 442 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
M | 442 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 442 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 442 | Type conversion without cast. : (int and char): ) != 'U' | GJB 4.6.1.9 |
M | 442 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 442 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 442 | Type conversion without cast. : (int and char): ) != 'L' | GJB 4.6.1.9 |
M | 443 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_flt_init (59 to 64 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 59 | Static procedure is not explicitly called in code analysed. : comp_flt_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_flt_init_per_thread (66 to 74 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 66 | Static procedure is not explicitly called in code analysed. : comp_flt_init_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_flt_deinit_per_thread (76 to 83 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 76 | Static procedure is not explicitly called in code analysed. : comp_flt_deinit_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_strm_init (85 to 104 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 86 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 85 | Static procedure is not explicitly called in code analysed. : comp_strm_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_strm_deinit (106 to 119 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 107 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 106 | Static procedure is not explicitly called in code analysed. : comp_strm_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_http_headers (121 to 143 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 122 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 127 | goto detected. | GJB 4.5.1.2 |
M | 136 | goto detected. | GJB 4.5.1.2 |
M | 121 | Static procedure is not explicitly called in code analysed. : comp_http_headers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_http_post_analyze (145 to 163 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 146 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 154 | goto detected. | GJB 4.5.1.2 |
M | 156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 157 | goto detected. | GJB 4.5.1.2 |
M | 145 | Static procedure is not explicitly called in code analysed. : comp_http_post_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_http_payload (165 to 269 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 171 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 177 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 166 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 183 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 186 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 191 | Type conversion without cast. : (bool and unsigned int): v.len = len | GJB 4.6.1.9 |
M | 194 | goto detected. | GJB 4.5.1.2 |
M | 198 | goto detected. | GJB 4.5.1.2 |
M | 200 | goto detected. | GJB 4.5.1.2 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Signed/unsigned conversion without cast. : (unsigned int and int): len -= ret | GJB 4.6.1.9 |
M | 204 | Signed/unsigned conversion without cast. : (int and unsigned int): ret == sz | GJB 4.6.1.9 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 205 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
M | 213 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 214 | Null case in switch statement. | GJB 4.3.1.8 |
M | 214 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 215 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 219 | goto detected. | GJB 4.5.1.2 |
M | 222 | goto detected. | GJB 4.5.1.2 |
M | 226 | goto detected. | GJB 4.5.1.2 |
M | 229 | goto detected. | GJB 4.5.1.2 |
M | 237 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Signed/unsigned conversion without cast. : (int and unsigned int): consumed += sz | GJB 4.6.1.9 |
M | 242 | Signed/unsigned conversion without cast. : (int and unsigned int): to_forward += sz | GJB 4.6.1.9 |
M | 243 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 247 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Static procedure is not explicitly called in code analysed. : comp_http_payload | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
comp_http_end (272 to 287 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 273 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 272 | Static procedure is not explicitly called in code analysed. : comp_http_end | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_compression_response_header (290 to 345 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 291 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | goto detected. | GJB 4.5.1.2 |
M | 313 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 319 | goto detected. | GJB 4.5.1.2 |
M | 328 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 328 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 329 | goto detected. | GJB 4.5.1.2 |
M | 332 | goto detected. | GJB 4.5.1.2 |
M | 337 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
select_compression_request_header (350 to 458 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 417 | Pointer not checked for null before use. : qval | GJB 5.1.15 |
M | 351 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 360 | Nested comment found. | GJB 4.10.1.1 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 364 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 367 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 367 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 368 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 376 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 376 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 377 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 377 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 377 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 383 | Name found with length less than 2. : q | GJB 4.8.1.1 |
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 389 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 393 | Expression needs brackets. | GJB 5.1.2 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 394 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 396 | Expression needs brackets. | GJB 5.1.2 |
M | 396 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 396 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 402 | Expression needs brackets. | GJB 5.1.2 |
M | 402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 403 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 405 | Expression needs brackets. | GJB 5.1.2 |
M | 409 | Expression needs brackets. | GJB 5.1.2 |
M | 412 | Expression needs brackets. | GJB 5.1.2 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 423 | Expression needs brackets. | GJB 5.1.2 |
M | 423 | Type conversion without cast. : (int and char): * ( ctx.value.ptr ) == '*' | GJB 4.6.1.9 |
M | 423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 435 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 435 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 440 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 446 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 446 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 446 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 447 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 447 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 447 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 449 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 449 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 397 | Procedure contains UR data flow anomalies. : qval | GJB 4.13.1.4 |
M | 406 | Procedure contains UR data flow anomalies. : qval |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
select_compression_response_header (463 to 569 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 464 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 473 | goto detected. | GJB 4.5.1.2 |
M | 477 | goto detected. | GJB 4.5.1.2 |
M | 481 | goto detected. | GJB 4.5.1.2 |
M | 484 | goto detected. | GJB 4.5.1.2 |
M | 491 | goto detected. | GJB 4.5.1.2 |
M | 493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 494 | goto detected. | GJB 4.5.1.2 |
M | 499 | goto detected. | GJB 4.5.1.2 |
M | 505 | goto detected. | GJB 4.5.1.2 |
M | 512 | goto detected. | GJB 4.5.1.2 |
M | 518 | goto detected. | GJB 4.5.1.2 |
M | 529 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 529 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 530 | goto detected. | GJB 4.5.1.2 |
M | 532 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 532 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 532 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 533 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 533 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 533 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 535 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 536 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 542 | goto detected. | GJB 4.5.1.2 |
M | 546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 548 | goto detected. | GJB 4.5.1.2 |
M | 554 | goto detected. | GJB 4.5.1.2 |
M | 558 | goto detected. | GJB 4.5.1.2 |
M | 562 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_compression_buffer_init (572 to 583 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 579 | Expression needs brackets. | GJB 5.1.2 |
M | 579 | Use of shift operator on signed type. | GJB 4.6.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_compression_buffer_add_data (585 to 590 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 586 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_compression_buffer_end (592 to 599 flt_http_comp.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_compression_options (618 to 680 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 627 | Pointer not checked for null before use. : comp | GJB 5.1.15 |
M | 659 | Pointer not checked for null before use. : comp | GJB 5.1.15 |
M | 619 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 621 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 626 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 636 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 641 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 642 | Value is not of appropriate type. : (unsigned int and int): comp_append_algo ( comp , args [ cur_arg | GJB 4.6.1.8 |
M | 643 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : '%s' is not a supported algorithm.\n" , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 650 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : Can't init '%s' algorithm.\n" , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 663 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 667 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 668 | Value is not of appropriate type. : (unsigned int and int): comp_append_type ( comp , args [ cur_arg | GJB 4.6.1.8 |
M | 618 | Static procedure is not explicitly called in code analysed. : parse_compression_options | GJB 4.7.1.3 |
M | 680 | Memory not freed after last reference. : comp | GJB 5.1.17 |
M | 633 | Procedure contains UR data flow anomalies. : ctx |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_comp_flt (682 to 701 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 683 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 684 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 684 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 682 | Static procedure is not explicitly called in code analysed. : parse_http_comp_flt | GJB 4.7.1.3 |
M | 686 | Procedure contains UR data flow anomalies. : fc |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_implicit_http_comp_flt (704 to 757 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 709 | Name reused in inner scope. : comp | GJB 4.15.1.2,4.15.1.5 |
M | 713 | goto detected. | GJB 4.5.1.2 |
M | 724 | goto detected. | GJB 4.5.1.2 |
M | 734 | goto detected. | GJB 4.5.1.2 |
M | 739 | goto detected. | GJB 4.5.1.2 |
M | 740 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 744 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 749 | goto detected. | GJB 4.5.1.2 |
M | 757 | Memory not freed after last reference. : fconf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_res_comp (763 to 772 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 764 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 765 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 763 | Static procedure is not explicitly called in code analysed. : smp_fetch_res_comp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_res_comp_algo (777 to 802 flt_http_comp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 779 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 779 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 792 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 777 | Static procedure is not explicitly called in code analysed. : smp_fetch_res_comp_algo | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_release_placeholder (108 to 115 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 112 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 114 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_release_message (117 to 143 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | Pointer not checked for null before use. : (arg)->name | GJB 5.1.15 |
M | 124 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 126 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 129 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 131 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 136 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 140 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 142 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 139 | Attempt to read from freed memory. : msg | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_release_group (145 to 153 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 149 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 151 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 152 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_release_agent (155 to 186 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 163 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 165 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 166 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 167 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 168 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 169 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 180 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 180 | Value is not of appropriate type. : (unsigned int and int): free ( agent -> rt [ i | GJB 4.6.1.8 |
M | 181 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_DESTROY ( & agent -> rt [ i | GJB 4.6.1.8 |
M | 184 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 185 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 172 | Attempt to read from freed memory. : msg | GJB 5.1.16 |
M | 181 | Attempt to read from freed memory. : agent | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
generate_pseudo_uuid (249 to 254 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 249 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 250 | Empty parameter list to procedure/function. : generate_pseudo_uuid | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_update_stat_time (257 to 265 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 258 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_str_to_vsn (302 to 356 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 306 | Name redeclared in another C name space (MR). : min | GJB 4.1.1.16 |
M | 303 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 305 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 310 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 314 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 315 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 319 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 319 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 319 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 319 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 319 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 320 | goto detected. | GJB 4.5.1.2 |
M | 322 | Type conversion without cast. : (int and char): maj += ( * p - '0' | GJB 4.6.1.9 |
M | 328 | goto detected. | GJB 4.5.1.2 |
M | 331 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 331 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 332 | goto detected. | GJB 4.5.1.2 |
M | 336 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 336 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 339 | Type conversion without cast. : (int and char): min += ( * p - '0' | GJB 4.6.1.9 |
M | 345 | goto detected. | GJB 4.5.1.2 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 348 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 349 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 351 | goto detected. | GJB 4.5.1.2 |
M | 353 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_prepare_hahello_frame (361 to 447 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 403 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 374 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 379 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 382 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 389 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 414 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 362 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 366 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 366 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 374 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 378 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 378 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 382 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 382 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 388 | Use of sizeof on a type. | GJB 5.1.8 |
M | 388 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 390 | goto detected. | GJB 4.5.1.2 |
M | 392 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 393 | Use of sizeof on a type. | GJB 5.1.8 |
M | 393 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 395 | goto detected. | GJB 4.5.1.2 |
M | 398 | Use of sizeof on a type. | GJB 5.1.8 |
M | 398 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 400 | goto detected. | GJB 4.5.1.2 |
M | 402 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 404 | goto detected. | GJB 4.5.1.2 |
M | 407 | Use of sizeof on a type. | GJB 5.1.8 |
M | 407 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 409 | goto detected. | GJB 4.5.1.2 |
M | 411 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 417 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 418 | Value is not of appropriate type. : (unsigned int and int): chk -> area [ chk -> data ++ | GJB 4.6.1.8 |
M | 422 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 423 | Value is not of appropriate type. : (unsigned int and int): chk -> area [ chk -> data ++ | GJB 4.6.1.8 |
M | 428 | goto detected. | GJB 4.5.1.2 |
M | 431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 432 | Use of sizeof on a type. | GJB 5.1.8 |
M | 432 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 434 | goto detected. | GJB 4.5.1.2 |
M | 436 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 439 | goto detected. | GJB 4.5.1.2 |
M | 445 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOO_BIG | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_prepare_hadiscon_frame (452 to 506 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 485 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 464 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 469 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 472 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 497 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 481 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 453 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 456 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 456 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 464 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 468 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 468 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 472 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 472 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 475 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_UNKNOWN | GJB 4.6.1.9 |
M | 480 | Use of sizeof on a type. | GJB 5.1.8 |
M | 480 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 482 | goto detected. | GJB 4.5.1.2 |
M | 484 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 486 | goto detected. | GJB 4.5.1.2 |
M | 489 | Use of sizeof on a type. | GJB 5.1.8 |
M | 489 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 491 | goto detected. | GJB 4.5.1.2 |
M | 494 | Value is not of appropriate type. : (unsigned int and int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code | GJB 4.6.1.8 |
M | 496 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 499 | goto detected. | GJB 4.5.1.2 |
M | 504 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOO_BIG | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_prepare_hanotify_frame (511 to 561 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 541 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 544 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 554 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 536 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 544 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 513 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 515 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 515 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 529 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_FRAG_NOT_SUPPORTED | GJB 4.6.1.9 |
M | 536 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 540 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 540 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 545 | goto detected. | GJB 4.5.1.2 |
M | 547 | goto detected. | GJB 4.5.1.2 |
M | 551 | Expression needs brackets. | GJB 5.1.2 |
M | 552 | goto detected. | GJB 4.5.1.2 |
M | 559 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOO_BIG | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_prepare_hafrag_frame (566 to 622 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 616 | Name redeclared in another C name space (MR). : end | GJB 4.1.1.16 |
M | 598 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 601 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 614 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 593 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 601 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 568 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 570 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 570 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 593 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 597 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 597 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 602 | goto detected. | GJB 4.5.1.2 |
M | 604 | goto detected. | GJB 4.5.1.2 |
M | 607 | goto detected. | GJB 4.5.1.2 |
M | 611 | Expression needs brackets. | GJB 5.1.2 |
M | 612 | goto detected. | GJB 4.5.1.2 |
M | 620 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOO_BIG | GJB 4.6.1.9 |
M | 616 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_agenthello_frame (627 to 812 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 673 | Name redeclared in another C name space (MR). : str | GJB 4.1.1.16 |
M | 776 | Pointer not checked for null before use. : delim | GJB 5.1.15 |
M | 686 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 754 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 758 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 763 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 768 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 773 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 628 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 631 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 631 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 639 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 639 | Expression needs brackets. | GJB 5.1.2 |
M | 640 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 644 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 645 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 650 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 650 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 656 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_FRAG_NOT_SUPPORTED | GJB 4.6.1.9 |
M | 661 | Value is not of appropriate type. : (char and signed char): * p != 0 | GJB 4.6.1.8 |
M | 661 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 661 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 661 | Value is not of appropriate type. : (char and signed char): * ( p + 1 ) != 0 | GJB 4.6.1.8 |
M | 662 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 671 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 671 | Signed/unsigned conversion without cast. : (int and unsigned int): vsn = max_frame_size = flags | GJB 4.6.1.9 |
M | 671 | Signed/unsigned conversion without cast. : (unsigned int and int): vsn = max_frame_size = flags | GJB 4.6.1.9 |
M | 673 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 680 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 686 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 690 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 694 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 700 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_BAD_VSN | GJB 4.6.1.9 |
M | 703 | Value is not of appropriate type. : (unsigned int and int): supported_versions [ i | GJB 4.6.1.8 |
M | 704 | Value is not of appropriate type. : (unsigned int and int): vsn >= supported_versions [ i | GJB 4.6.1.8 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Value is not of appropriate type. : (unsigned int and int): vsn <= supported_versions [ i | GJB 4.6.1.8 |
M | 708 | Value is not of appropriate type. : (unsigned int and int): supported_versions [ i | GJB 4.6.1.8 |
M | 709 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_BAD_VSN | GJB 4.6.1.9 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 721 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 726 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 729 | Signed/unsigned conversion without cast. : (unsigned long and int): sz | GJB 4.6.1.9 |
M | 729 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 731 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_BAD_FRAME_SIZE | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 734 | Signed/unsigned conversion without cast. : (int and unsigned long): max_frame_size = sz | GJB 4.6.1.9 |
M | 737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 742 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 746 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 751 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 754 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 754 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 756 | Signed/unsigned conversion without cast. : (unsigned long and int): sz | GJB 4.6.1.9 |
M | 756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 757 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 758 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 761 | Signed/unsigned conversion without cast. : (unsigned long and int): sz | GJB 4.6.1.9 |
M | 761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 762 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 763 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 766 | Signed/unsigned conversion without cast. : (unsigned long and int): sz | GJB 4.6.1.9 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 767 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 772 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 773 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 773 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 773 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 776 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 777 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 783 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 791 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_NO_VSN | GJB 4.6.1.9 |
M | 795 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_NO_FRAME_SIZE | GJB 4.6.1.9 |
M | 807 | Value is not of appropriate type. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> version = ( unsigned int | GJB 4.6.1.8 |
M | 807 | Value is not of appropriate type. : (unsigned int and int): ( appctx ) -> ctx.spoe.ptr ) ) -> version = ( unsigned int ) | GJB 4.6.1.8 |
M | 808 | Value is not of appropriate type. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> max_frame_size = ( unsigned int | GJB 4.6.1.8 |
M | 808 | Value is not of appropriate type. : (unsigned int and int): ( appctx ) -> ctx.spoe.ptr ) ) -> max_frame_size = ( unsigned int ) | GJB 4.6.1.8 |
M | 809 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> flags |= flags | GJB 4.6.1.9 |
M | 751 | Procedure contains UR data flow anomalies. : delim | GJB 4.13.1.4 |
M | 673 | Procedure contains UR data flow anomalies. : str | GJB 4.13.1.4 |
M | 674 | Procedure contains UR data flow anomalies. : sz |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_agentdiscon_frame (817 to 918 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 859 | Name redeclared in another C name space (MR). : str | GJB 4.1.1.16 |
M | 872 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 818 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 820 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 820 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 827 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 827 | Expression needs brackets. | GJB 5.1.2 |
M | 828 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 832 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 833 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 838 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 838 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 844 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_FRAG_NOT_SUPPORTED | GJB 4.6.1.9 |
M | 849 | Value is not of appropriate type. : (char and signed char): * p != 0 | GJB 4.6.1.8 |
M | 849 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 849 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 849 | Value is not of appropriate type. : (char and signed char): * ( p + 1 ) != 0 | GJB 4.6.1.8 |
M | 850 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 859 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 866 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 871 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 871 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 875 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 877 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 877 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 879 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 883 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 886 | Signed/unsigned conversion without cast. : (int and unsigned long): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = sz | GJB 4.6.1.9 |
M | 890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 895 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 899 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 899 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 899 | Signed/unsigned conversion without cast. : (unsigned long and int): sz | GJB 4.6.1.9 |
M | 900 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 911 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 859 | Procedure contains UR data flow anomalies. : str | GJB 4.13.1.4 |
M | 860 | Procedure contains UR data flow anomalies. : sz |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_agentack_frame (923 to 1052 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1017 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1026 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1027 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1034 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1035 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1044 | Name redeclared in another C name space (MR). : end | GJB 4.1.1.16 |
M | 992 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1039 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 960 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 960 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 925 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 928 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 928 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 938 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 938 | Expression needs brackets. | GJB 5.1.2 |
M | 939 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 943 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 944 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 949 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 949 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 955 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_FRAG_NOT_SUPPORTED | GJB 4.6.1.9 |
M | 961 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 965 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 972 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 974 | goto detected. | GJB 4.5.1.2 |
M | 979 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 981 | goto detected. | GJB 4.5.1.2 |
M | 985 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 986 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 995 | goto detected. | GJB 4.5.1.2 |
M | 999 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_INVALID | GJB 4.6.1.9 |
M | 1011 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_FRAMEID_NOTFOUND | GJB 4.6.1.9 |
M | 1017 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 929 | Procedure contains UR data flow anomalies. : frame_id | GJB 4.13.1.4 |
M | 929 | Procedure contains UR data flow anomalies. : stream_id |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_prepare_healthcheck_request (1057 to 1095 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1083 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 1088 | Pointer not checked for null before use. : len | GJB 5.1.15 |
M | 1079 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 1058 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1062 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1062 | Value is not of appropriate type. : (unsigned int and signed char): buf [ global.tune.bufsize - 4 + 4 | GJB 4.6.1.8 |
M | 1066 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1067 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1074 | Expression needs brackets. | GJB 5.1.2 |
M | 1082 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1082 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1085 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1085 | Operation not appropriate to plain char. : | used with char: SPOE_DATA_T_BOOL | GJB 4.1.1.15 |
M | 1085 | Operation not appropriate to plain char. : | used with char: SPOE_DATA_FL_TRUE | GJB 4.1.1.15 |
M | 1087 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1089 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1089 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1091 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1091 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1091 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_healthcheck_response (1100 to 1126 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1106 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1107 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1114 | goto detected. | GJB 4.5.1.2 |
M | 1117 | goto detected. | GJB 4.5.1.2 |
M | 1123 | Signed/unsigned conversion without cast. : (int and unsigned int): ( & appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_UNKNOWN | GJB 4.6.1.9 |
M | 1124 | Value is not of appropriate type. : (unsigned int and int): ( & appctx ) -> ctx.spoe.ptr ) ) -> status_code | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_send_frame (1131 to 1152 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1142 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 1132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1141 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1141 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1142 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1148 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1151 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_recv_frame (1157 to 1181 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1158 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1164 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1164 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1168 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOO_BIG | GJB 4.6.1.9 |
M | 1177 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1180 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 1162 | Procedure contains UR data flow anomalies. : netint |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_process_appctx (1197 to 1209 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1207 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1197 | Static procedure is not explicitly called in code analysed. : spoe_process_appctx | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_release_appctx (1213 to 1321 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1232 | Pointer not checked for null before use. : agent | GJB 5.1.15 |
M | 1275 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1248 | Signed/unsigned conversion without cast. : (int and unsigned int): spoe_appctx -> status_code == SPOE_FRM_ERR_NONE | GJB 4.6.1.9 |
M | 1249 | Signed/unsigned conversion without cast. : (int and unsigned int): spoe_appctx -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1284 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1286 | goto detected. | GJB 4.5.1.2 |
M | 1264 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 | GJB 4.7.1.9 |
M | 1294 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 | GJB 4.7.1.9 |
M | 1304 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 | GJB 4.7.1.9 |
M | 1213 | Static procedure is not explicitly called in code analysed. : spoe_release_appctx | GJB 4.7.1.3 |
M | 1219 | Procedure contains UR data flow anomalies. : ctx |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_connect_appctx (1323 to 1387 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1361 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1328 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1333 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1334 | goto detected. | GJB 4.5.1.2 |
M | 1341 | goto detected. | GJB 4.5.1.2 |
M | 1348 | Empty then clause. | GJB 4.3.1.1 |
M | 1349 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOUT | GJB 4.6.1.9 |
M | 1350 | goto detected. | GJB 4.5.1.2 |
M | 1367 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1368 | goto detected. | GJB 4.5.1.2 |
M | 1368 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1371 | goto detected. | GJB 4.5.1.2 |
M | 1371 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1377 | goto detected. | GJB 4.5.1.2 |
M | 1378 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1360 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_connecting_appctx (1389 to 1459 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1414 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1439 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1442 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1413 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 1394 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1398 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1398 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1399 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1400 | goto detected. | GJB 4.5.1.2 |
M | 1407 | Empty then clause. | GJB 4.3.1.1 |
M | 1408 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOUT | GJB 4.6.1.9 |
M | 1409 | goto detected. | GJB 4.5.1.2 |
M | 1418 | goto detected. | GJB 4.5.1.2 |
M | 1426 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1428 | goto detected. | GJB 4.5.1.2 |
M | 1428 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1431 | goto detected. | GJB 4.5.1.2 |
M | 1431 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1443 | goto detected. | GJB 4.5.1.2 |
M | 1444 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1413 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_sending_frame_appctx (1462 to 1580 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1477 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1487 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1554 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1559 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1476 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1486 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1467 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1482 | goto detected. | GJB 4.5.1.2 |
M | 1497 | goto detected. | GJB 4.5.1.2 |
M | 1497 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1501 | goto detected. | GJB 4.5.1.2 |
M | 1521 | goto detected. | GJB 4.5.1.2 |
M | 1531 | goto detected. | GJB 4.5.1.2 |
M | 1533 | goto detected. | GJB 4.5.1.2 |
M | 1534 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1535 | goto detected. | GJB 4.5.1.2 |
M | 1545 | goto detected. | GJB 4.5.1.2 |
M | 1569 | goto detected. | GJB 4.5.1.2 |
M | 1576 | goto detected. | GJB 4.5.1.2 |
M | 1476 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1486 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1507 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 | GJB 4.7.1.9 |
M | 1527 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_receiving_frame_appctx (1582 to 1642 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1592 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1591 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 1615 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1587 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1597 | goto detected. | GJB 4.5.1.2 |
M | 1624 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1632 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1591 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1618 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_processing_appctx (1644 to 1736 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1725 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1651 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1651 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1652 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1653 | goto detected. | GJB 4.5.1.2 |
M | 1657 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOUT | GJB 4.6.1.9 |
M | 1660 | goto detected. | GJB 4.5.1.2 |
M | 1678 | goto detected. | GJB 4.5.1.2 |
M | 1678 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1698 | goto detected. | GJB 4.5.1.2 |
M | 1698 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_disconnect_appctx (1738 to 1789 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1756 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1743 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1747 | goto detected. | GJB 4.5.1.2 |
M | 1750 | goto detected. | GJB 4.5.1.2 |
M | 1762 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1763 | goto detected. | GJB 4.5.1.2 |
M | 1763 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1766 | goto detected. | GJB 4.5.1.2 |
M | 1766 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1777 | goto detected. | GJB 4.5.1.2 |
M | 1778 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1755 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_disconnecting_appctx (1791 to 1853 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1810 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1809 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 1813 | Pointer not checked for null before use. : frame | GJB 5.1.15 |
M | 1795 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1798 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1798 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1799 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_IO | GJB 4.6.1.9 |
M | 1800 | goto detected. | GJB 4.5.1.2 |
M | 1804 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_TOUT | GJB 4.6.1.9 |
M | 1805 | goto detected. | GJB 4.5.1.2 |
M | 1824 | goto detected. | GJB 4.5.1.2 |
M | 1824 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1827 | goto detected. | GJB 4.5.1.2 |
M | 1827 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1830 | goto detected. | GJB 4.5.1.2 |
M | 1830 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1839 | goto detected. | GJB 4.5.1.2 |
M | 1840 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1809 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_appctx (1856 to 1934 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1887 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1890 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1933 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1886 | Pointer not checked for null before use. : agent | GJB 5.1.15 |
M | 1865 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_NONE | GJB 4.6.1.9 |
M | 1877 | goto detected. | GJB 4.5.1.2 |
M | 1878 | goto detected. | GJB 4.5.1.2 |
M | 1878 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1882 | goto detected. | GJB 4.5.1.2 |
M | 1883 | goto detected. | GJB 4.5.1.2 |
M | 1883 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1889 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1889 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1894 | goto detected. | GJB 4.5.1.2 |
M | 1899 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1900 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1903 | goto detected. | GJB 4.5.1.2 |
M | 1904 | goto detected. | GJB 4.5.1.2 |
M | 1904 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1908 | goto detected. | GJB 4.5.1.2 |
M | 1909 | goto detected. | GJB 4.5.1.2 |
M | 1909 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1913 | goto detected. | GJB 4.5.1.2 |
M | 1914 | goto detected. | GJB 4.5.1.2 |
M | 1914 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1925 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1927 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1874 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1856 | Static procedure is not explicitly called in code analysed. : spoe_handle_appctx | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_create_appctx (1945 to 2018 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1977 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1952 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1952 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1953 | goto detected. | GJB 4.5.1.2 |
M | 1957 | goto detected. | GJB 4.5.1.2 |
M | 1961 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1961 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1962 | goto detected. | GJB 4.5.1.2 |
M | 1971 | Signed/unsigned conversion without cast. : (int and unsigned int): ( appctx ) -> ctx.spoe.ptr ) ) -> status_code = SPOE_FRM_ERR_NONE | GJB 4.6.1.9 |
M | 1984 | goto detected. | GJB 4.5.1.2 |
M | 1986 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1986 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1987 | goto detected. | GJB 4.5.1.2 |
M | 2005 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_queue_context (2020 to 2115 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2024 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2106 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 2108 | Pointer not checked for null before use. : spoe_appctx | GJB 5.1.15 |
M | 2029 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2030 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2030 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2031 | goto detected. | GJB 4.5.1.2 |
M | 2040 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2040 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2044 | Empty then clause. | GJB 4.3.1.1 |
M | 2045 | goto detected. | GJB 4.5.1.2 |
M | 2055 | Empty then clause. | GJB 4.3.1.1 |
M | 2056 | goto detected. | GJB 4.5.1.2 |
M | 2065 | Empty then clause. | GJB 4.3.1.1 |
M | 2070 | goto detected. | GJB 4.5.1.2 |
M | 2107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2088 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_encode_message (2123 to 2202 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2164 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 2180 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 2180 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 2124 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2126 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2126 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2140 | goto detected. | GJB 4.5.1.2 |
M | 2146 | goto detected. | GJB 4.5.1.2 |
M | 2150 | goto detected. | GJB 4.5.1.2 |
M | 2155 | Value is not of appropriate type. : (char and signed char): * buf | GJB 4.6.1.8 |
M | 2155 | Expression needs brackets. | GJB 5.1.2 |
M | 2156 | goto detected. | GJB 4.5.1.2 |
M | 2160 | goto detected. | GJB 4.5.1.2 |
M | 2177 | goto detected. | GJB 4.5.1.2 |
M | 2181 | goto detected. | GJB 4.5.1.2 |
M | 2193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2194 | goto detected. | GJB 4.5.1.2 |
M | 2129 | Procedure contains UR data flow anomalies. : arg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_encode_messages (2208 to 2307 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2213 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2209 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2215 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2215 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2218 | Expression needs brackets. | GJB 5.1.2 |
M | 2224 | goto detected. | GJB 4.5.1.2 |
M | 2234 | goto detected. | GJB 4.5.1.2 |
M | 2241 | goto detected. | GJB 4.5.1.2 |
M | 2251 | goto detected. | GJB 4.5.1.2 |
M | 2255 | goto detected. | GJB 4.5.1.2 |
M | 2259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2260 | goto detected. | GJB 4.5.1.2 |
M | 2282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_set_var (2314 to 2329 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2319 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2315 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2315 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2320 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_unset_var (2332 to 2344 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2337 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2338 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_decode_action_set_var (2347 to 2398 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2351 | Name redeclared in another C name space (MR). : str | GJB 4.1.1.16 |
M | 2348 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2349 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2349 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2351 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2351 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2356 | Expression needs brackets. | GJB 5.1.2 |
M | 2357 | goto detected. | GJB 4.5.1.2 |
M | 2360 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2360 | Expression needs brackets. | GJB 5.1.2 |
M | 2361 | goto detected. | GJB 4.5.1.2 |
M | 2363 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2364 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2365 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2366 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2367 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2368 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2369 | goto detected. | GJB 4.5.1.2 |
M | 2370 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2373 | goto detected. | GJB 4.5.1.2 |
M | 2378 | goto detected. | GJB 4.5.1.2 |
M | 2393 | Type conversion without cast. : (int and char): ret = ( p - * buf | GJB 4.6.1.9 |
M | 2394 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2389 | Actual and formal parameters inconsistent (MR). : (unsigned long and int): param 4 | GJB 4.7.1.9 |
M | 2391 | Actual and formal parameters inconsistent (MR). : (unsigned long and int): param 4 | GJB 4.7.1.9 |
M | 2351 | Procedure contains UR data flow anomalies. : str | GJB 4.13.1.4 |
M | 2353 | Procedure contains UR data flow anomalies. : sz |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_decode_action_unset_var (2400 to 2445 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2404 | Name redeclared in another C name space (MR). : str | GJB 4.1.1.16 |
M | 2401 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2402 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2402 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2404 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2409 | Expression needs brackets. | GJB 5.1.2 |
M | 2410 | goto detected. | GJB 4.5.1.2 |
M | 2413 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2413 | Expression needs brackets. | GJB 5.1.2 |
M | 2414 | goto detected. | GJB 4.5.1.2 |
M | 2416 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2417 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2418 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2419 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2420 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2421 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 2422 | goto detected. | GJB 4.5.1.2 |
M | 2423 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2426 | goto detected. | GJB 4.5.1.2 |
M | 2440 | Type conversion without cast. : (int and char): ret = ( p - * buf | GJB 4.6.1.9 |
M | 2441 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2438 | Actual and formal parameters inconsistent (MR). : (unsigned long and int): param 4 | GJB 4.7.1.9 |
M | 2404 | Procedure contains UR data flow anomalies. : str | GJB 4.13.1.4 |
M | 2406 | Procedure contains UR data flow anomalies. : sz |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_process_actions (2449 to 2483 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2464 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 2470 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 2450 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2452 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2452 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2461 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2463 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2466 | goto detected. | GJB 4.5.1.2 |
M | 2469 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2472 | goto detected. | GJB 4.5.1.2 |
M | 2476 | goto detected. | GJB 4.5.1.2 |
M | 2477 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2462 | Switch has missing or extra cases. | GJB 5.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_update_stats (2488 to 2524 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2489 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2510 | Value is not of appropriate type. : (int and char): strlen ( agent -> var_t_process | GJB 4.6.1.8 |
M | 2522 | Value is not of appropriate type. : (int and char): strlen ( agent -> var_t_total | GJB 4.6.1.8 |
M | 2493 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 | GJB 4.7.1.9 |
M | 2509 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 | GJB 4.7.1.9 |
M | 2521 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_handle_processing_error (2526 to 2548 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2527 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2542 | Value is not of appropriate type. : (int and char): strlen ( agent -> var_on_error | GJB 4.6.1.8 |
M | 2541 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_start_processing (2550 to 2575 flt_spoe.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_stop_processing (2577 to 2618 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2604 | Procedure contains UR data flow anomalies. : (ctx)->frag_ctx.curmsg | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_process_messages (2625 to 2723 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2630 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2626 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2634 | goto detected. | GJB 4.5.1.2 |
M | 2636 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2636 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2640 | Empty then clause. | GJB 4.3.1.1 |
M | 2642 | goto detected. | GJB 4.5.1.2 |
M | 2651 | Empty then clause. | GJB 4.3.1.1 |
M | 2652 | goto detected. | GJB 4.5.1.2 |
M | 2663 | goto detected. | GJB 4.5.1.2 |
M | 2673 | goto detected. | GJB 4.5.1.2 |
M | 2676 | goto detected. | GJB 4.5.1.2 |
M | 2678 | goto detected. | GJB 4.5.1.2 |
M | 2680 | goto detected. | GJB 4.5.1.2 |
M | 2688 | goto detected. | GJB 4.5.1.2 |
M | 2693 | goto detected. | GJB 4.5.1.2 |
M | 2702 | goto detected. | GJB 4.5.1.2 |
M | 2701 | Actual and formal parameters inconsistent (MR). : (int and long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_process_group (2727 to 2767 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2732 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2728 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2755 | Empty then clause. | GJB 4.3.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_process_event (2771 to 2813 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2776 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2772 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2801 | Empty then clause. | GJB 4.3.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_acquire_buffer (2818 to 2832 flt_spoe.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_release_buffer (2834 to 2845 flt_spoe.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_wakeup_context (2847 to 2852 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2847 | Static procedure is not explicitly called in code analysed. : spoe_wakeup_context | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_create_context (2854 to 2898 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2874 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2865 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 2869 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2855 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2897 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_destroy_context (2900 to 2912 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2909 | Pointer not checked for null before use. : conf |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_reset_context (2914 to 2931 flt_spoe.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_sig_stop (2938 to 2968 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2957 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 2960 | Pointer not checked for null before use. : agent | GJB 5.1.15 |
M | 2951 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2960 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_LOCK ( SPOE_APPLET_LOCK , & agent -> rt [ i | GJB 4.6.1.8 |
M | 2961 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry ( spoe_appctx , & agent -> rt [ i | GJB 4.6.1.8 |
M | 2963 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_UNLOCK ( SPOE_APPLET_LOCK , & agent -> rt [ i | GJB 4.6.1.8 |
M | 2938 | Static procedure is not explicitly called in code analysed. : spoe_sig_stop | GJB 4.7.1.3 |
M | 2945 | Procedure contains UR data flow anomalies. : fconf | GJB 4.13.1.4 |
M | 2950 | Procedure contains UR data flow anomalies. : spoe_appctx |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_init (2972 to 2998 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2972 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_deinit (3001 to 3014 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3011 | Pointer not checked for null before use. : (conf)->id | GJB 5.1.15 |
M | 3010 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3011 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3001 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_check (3018 to 3089 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3024 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3070 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3070 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3070 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3076 | Value is not of appropriate type. : (unsigned int and int): conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3077 | Value is not of appropriate type. : (unsigned int and int): conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3078 | Value is not of appropriate type. : (unsigned int and int): conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3079 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3080 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3081 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3082 | Value is not of appropriate type. : (unsigned int and int): HA_SPIN_INIT ( & conf -> agent -> rt [ i | GJB 4.6.1.8 |
M | 3085 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3018 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 3021 | Procedure contains UR data flow anomalies. : f |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_init_per_thread (3093 to 3103 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3094 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3093 | Static procedure is not explicitly called in code analysed. : spoe_init_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_start (3110 to 3151 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3114 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 3111 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3121 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3121 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3125 | Empty then clause. | GJB 4.3.1.1 |
M | 3110 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_stop (3155 to 3163 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3156 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3155 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_check_timeouts (3169 to 3176 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3170 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3169 | Static procedure is not explicitly called in code analysed. : spoe_check_timeouts | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_start_analyze (3179 to 3227 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3180 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3192 | goto detected. | GJB 4.5.1.2 |
M | 3201 | goto detected. | GJB 4.5.1.2 |
M | 3206 | goto detected. | GJB 4.5.1.2 |
M | 3214 | goto detected. | GJB 4.5.1.2 |
M | 3220 | goto detected. | GJB 4.5.1.2 |
M | 3179 | Static procedure is not explicitly called in code analysed. : spoe_start_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_chn_pre_analyze (3230 to 3274 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3231 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3245 | goto detected. | GJB 4.5.1.2 |
M | 3247 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3230 | Static procedure is not explicitly called in code analysed. : spoe_chn_pre_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_end_analyze (3277 to 3293 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3278 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3277 | Static procedure is not explicitly called in code analysed. : spoe_end_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_spoe_agent (3317 to 3764 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3494 | Pointer not checked for null before use. : tv | GJB 5.1.15 |
M | 3318 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3318 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3320 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3321 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3323 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3323 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3326 | goto detected. | GJB 4.5.1.2 |
M | 3333 | goto detected. | GJB 4.5.1.2 |
M | 3337 | goto detected. | GJB 4.5.1.2 |
M | 3345 | goto detected. | GJB 4.5.1.2 |
M | 3352 | goto detected. | GJB 4.5.1.2 |
M | 3354 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3354 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3354 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3357 | goto detected. | GJB 4.5.1.2 |
M | 3380 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3380 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & curagent -> events [ i | GJB 4.6.1.8 |
M | 3389 | goto detected. | GJB 4.5.1.2 |
M | 3392 | goto detected. | GJB 4.5.1.2 |
M | 3392 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3398 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3402 | Value is not of appropriate type. : (unsigned int and int): strcmp ( ph -> id , args [ cur_arg | GJB 4.6.1.8 |
M | 3403 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: spoe-message '%s' already used.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 3406 | goto detected. | GJB 4.5.1.2 |
M | 3410 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3410 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3410 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3413 | goto detected. | GJB 4.5.1.2 |
M | 3415 | Value is not of appropriate type. : (unsigned int and int): ph -> id = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3422 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3426 | Value is not of appropriate type. : (unsigned int and int): strcmp ( ph -> id , args [ cur_arg | GJB 4.6.1.8 |
M | 3427 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: spoe-group '%s' already used.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 3430 | goto detected. | GJB 4.5.1.2 |
M | 3434 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3434 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3434 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3437 | goto detected. | GJB 4.5.1.2 |
M | 3439 | Value is not of appropriate type. : (unsigned int and int): ph -> id = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3446 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3453 | goto detected. | GJB 4.5.1.2 |
M | 3456 | goto detected. | GJB 4.5.1.2 |
M | 3467 | goto detected. | GJB 4.5.1.2 |
M | 3473 | goto detected. | GJB 4.5.1.2 |
M | 3480 | goto detected. | GJB 4.5.1.2 |
M | 3486 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3492 | goto detected. | GJB 4.5.1.2 |
M | 3493 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3501 | goto detected. | GJB 4.5.1.2 |
M | 3506 | goto detected. | GJB 4.5.1.2 |
M | 3511 | goto detected. | GJB 4.5.1.2 |
M | 3515 | goto detected. | GJB 4.5.1.2 |
M | 3520 | goto detected. | GJB 4.5.1.2 |
M | 3524 | goto detected. | GJB 4.5.1.2 |
M | 3529 | goto detected. | GJB 4.5.1.2 |
M | 3533 | goto detected. | GJB 4.5.1.2 |
M | 3538 | goto detected. | GJB 4.5.1.2 |
M | 3539 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3546 | goto detected. | GJB 4.5.1.2 |
M | 3550 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3557 | goto detected. | GJB 4.5.1.2 |
M | 3560 | goto detected. | GJB 4.5.1.2 |
M | 3563 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3567 | goto detected. | GJB 4.5.1.2 |
M | 3575 | goto detected. | GJB 4.5.1.2 |
M | 3580 | goto detected. | GJB 4.5.1.2 |
M | 3584 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3591 | goto detected. | GJB 4.5.1.2 |
M | 3594 | goto detected. | GJB 4.5.1.2 |
M | 3597 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3601 | goto detected. | GJB 4.5.1.2 |
M | 3608 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3615 | goto detected. | GJB 4.5.1.2 |
M | 3618 | goto detected. | GJB 4.5.1.2 |
M | 3621 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3625 | goto detected. | GJB 4.5.1.2 |
M | 3632 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3639 | goto detected. | GJB 4.5.1.2 |
M | 3642 | goto detected. | GJB 4.5.1.2 |
M | 3645 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3649 | goto detected. | GJB 4.5.1.2 |
M | 3659 | goto detected. | GJB 4.5.1.2 |
M | 3667 | goto detected. | GJB 4.5.1.2 |
M | 3670 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3678 | goto detected. | GJB 4.5.1.2 |
M | 3681 | goto detected. | GJB 4.5.1.2 |
M | 3689 | goto detected. | GJB 4.5.1.2 |
M | 3692 | goto detected. | GJB 4.5.1.2 |
M | 3694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3695 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3695 | Expression needs brackets. | GJB 5.1.2 |
M | 3699 | goto detected. | GJB 4.5.1.2 |
M | 3707 | goto detected. | GJB 4.5.1.2 |
M | 3710 | goto detected. | GJB 4.5.1.2 |
M | 3716 | goto detected. | GJB 4.5.1.2 |
M | 3726 | goto detected. | GJB 4.5.1.2 |
M | 3729 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3732 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3732 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3732 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3735 | goto detected. | GJB 4.5.1.2 |
M | 3737 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3737 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3737 | Value is not of appropriate type. : (unsigned int and int): ( vph -> name = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3738 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3741 | goto detected. | GJB 4.5.1.2 |
M | 3748 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3753 | goto detected. | GJB 4.5.1.2 |
M | 3760 | goto detected. | GJB 4.5.1.2 |
M | 3761 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3317 | Static procedure is not explicitly called in code analysed. : cfg_parse_spoe_agent | GJB 4.7.1.3 |
M | 3745 | Memory not freed after last reference. : vph | GJB 5.1.17 |
M | 3447 | Procedure contains UR data flow anomalies. : timeout |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_spoe_group (3765 to 3852 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3769 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3772 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3772 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3775 | goto detected. | GJB 4.5.1.2 |
M | 3782 | goto detected. | GJB 4.5.1.2 |
M | 3786 | goto detected. | GJB 4.5.1.2 |
M | 3794 | goto detected. | GJB 4.5.1.2 |
M | 3803 | goto detected. | GJB 4.5.1.2 |
M | 3807 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3807 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3807 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3810 | goto detected. | GJB 4.5.1.2 |
M | 3822 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3826 | Value is not of appropriate type. : (unsigned int and int): strcmp ( ph -> id , args [ cur_arg | GJB 4.6.1.8 |
M | 3827 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: spoe-message '%s' already used.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 3830 | goto detected. | GJB 4.5.1.2 |
M | 3834 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3834 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3834 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3837 | goto detected. | GJB 4.5.1.2 |
M | 3839 | Value is not of appropriate type. : (unsigned int and int): ph -> id = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3848 | goto detected. | GJB 4.5.1.2 |
M | 3849 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3765 | Static procedure is not explicitly called in code analysed. : cfg_parse_spoe_group | GJB 4.7.1.3 |
M | 3768 | Procedure contains UR data flow anomalies. : grp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_spoe_message (3854 to 4047 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3949 | Pointer not checked for null before use. : (arg)->name | GJB 5.1.15 |
M | 3942 | Pointer not checked for null before use. : delim | GJB 5.1.15 |
M | 3948 | Pointer not checked for null before use. : (arg)->name | GJB 5.1.15 |
M | 3855 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3855 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3859 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3860 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3863 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3863 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3864 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3864 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3866 | goto detected. | GJB 4.5.1.2 |
M | 3873 | goto detected. | GJB 4.5.1.2 |
M | 3877 | goto detected. | GJB 4.5.1.2 |
M | 3885 | goto detected. | GJB 4.5.1.2 |
M | 3894 | goto detected. | GJB 4.5.1.2 |
M | 3898 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3898 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3898 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3901 | goto detected. | GJB 4.5.1.2 |
M | 3905 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> id_len = strlen | GJB 4.6.1.9 |
M | 3905 | Value is not of appropriate type. : (int and char): curmsg -> id_len = strlen ( curmsg -> id | GJB 4.6.1.8 |
M | 3922 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3923 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3923 | Value is not of appropriate type. : (unsigned int and int): strchr ( args [ cur_arg | GJB 4.6.1.8 |
M | 3926 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3926 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3926 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3929 | goto detected. | GJB 4.5.1.2 |
M | 3935 | Value is not of appropriate type. : (unsigned int and int): delim = args [ cur_arg | GJB 4.6.1.8 |
M | 3938 | Value is not of appropriate type. : (unsigned int and int): arg -> name = my_strndup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3938 | Value is not of appropriate type. : (unsigned int and int): arg -> name = my_strndup ( args [ cur_arg ] , delim - args [ cur_arg | GJB 4.6.1.8 |
M | 3939 | Value is not of appropriate type. : (unsigned int and int): arg -> name_len = delim - args [ cur_arg | GJB 4.6.1.8 |
M | 3942 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3948 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3949 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3950 | goto detected. | GJB 4.5.1.2 |
M | 3965 | goto detected. | GJB 4.5.1.2 |
M | 3972 | goto detected. | GJB 4.5.1.2 |
M | 3974 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3974 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3978 | goto detected. | GJB 4.5.1.2 |
M | 3985 | goto detected. | GJB 4.5.1.2 |
M | 3988 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 3991 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_CLIENT_SESS | GJB 4.6.1.9 |
M | 3993 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_SERVER_SESS | GJB 4.6.1.9 |
M | 3996 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_TCP_REQ_FE | GJB 4.6.1.9 |
M | 3998 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_TCP_REQ_BE | GJB 4.6.1.9 |
M | 4000 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_TCP_RSP | GJB 4.6.1.9 |
M | 4003 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_HTTP_REQ_FE | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 4005 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_HTTP_REQ_BE | GJB 4.6.1.9 |
M | 4007 | Signed/unsigned conversion without cast. : (int and unsigned int): curmsg -> event = SPOE_EV_ON_HTTP_RSP | GJB 4.6.1.9 |
M | 4012 | goto detected. | GJB 4.5.1.2 |
M | 4015 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4015 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4018 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4018 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4026 | goto detected. | GJB 4.5.1.2 |
M | 4035 | goto detected. | GJB 4.5.1.2 |
M | 4036 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4042 | goto detected. | GJB 4.5.1.2 |
M | 4043 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4044 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4045 | free used on string. | GJB 5.1.19 |
M | 3854 | Static procedure is not explicitly called in code analysed. : cfg_parse_spoe_message | GJB 4.7.1.3 |
M | 4047 | Memory not freed after last reference. : arg | GJB 5.1.17 |
M | 3857 | Procedure contains UR data flow anomalies. : msg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_spoe_flt (4050 to 4471 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4409 | Pointer not checked for null before use. : ph | GJB 5.1.15 |
M | 4430 | Pointer not checked for null before use. : (vph)->name | GJB 5.1.15 |
M | 4449 | Pointer not checked for null before use. : ph | GJB 5.1.15 |
M | 4455 | Pointer not checked for null before use. : (vph)->name | GJB 5.1.15 |
M | 4445 | Pointer not checked for null before use. : ph | GJB 5.1.15 |
M | 4443 | Pointer not checked for null before use. : curagent | GJB 5.1.15 |
M | 4051 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4052 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4052 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4061 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4073 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4076 | goto detected. | GJB 4.5.1.2 |
M | 4080 | Value is not of appropriate type. : (unsigned int and int): * args [ pos | GJB 4.6.1.8 |
M | 4081 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 4082 | Value is not of appropriate type. : (unsigned int and int): ! * args [ pos + 1 | GJB 4.6.1.8 |
M | 4083 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : '%s' option without value" , args [ * cur_arg ] , args [ pos | GJB 4.6.1.8 |
M | 4085 | goto detected. | GJB 4.5.1.2 |
M | 4087 | Value is not of appropriate type. : (unsigned int and int): file = args [ pos + 1 | GJB 4.6.1.8 |
M | 4090 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 4091 | Value is not of appropriate type. : (unsigned int and int): ! * args [ pos + 1 | GJB 4.6.1.8 |
M | 4092 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : '%s' option without value" , args [ * cur_arg ] , args [ pos | GJB 4.6.1.8 |
M | 4094 | goto detected. | GJB 4.5.1.2 |
M | 4096 | Value is not of appropriate type. : (unsigned int and int): engine = args [ pos + 1 | GJB 4.6.1.8 |
M | 4100 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown keyword '%s'" , args [ pos | GJB 4.6.1.8 |
M | 4101 | goto detected. | GJB 4.5.1.2 |
M | 4106 | goto detected. | GJB 4.5.1.2 |
M | 4117 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4130 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 4131 | goto detected. | GJB 4.5.1.2 |
M | 4135 | goto detected. | GJB 4.5.1.2 |
M | 4141 | goto detected. | GJB 4.5.1.2 |
M | 4146 | goto detected. | GJB 4.5.1.2 |
M | 4148 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4158 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4161 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4165 | goto detected. | GJB 4.5.1.2 |
M | 4185 | goto detected. | GJB 4.5.1.2 |
M | 4202 | goto detected. | GJB 4.5.1.2 |
M | 4219 | goto detected. | GJB 4.5.1.2 |
M | 4223 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4223 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4226 | goto detected. | GJB 4.5.1.2 |
M | 4238 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event == SPOE_EV_ON_TCP_REQ_BE | GJB 4.6.1.9 |
M | 4239 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event = SPOE_EV_ON_TCP_REQ_FE | GJB 4.6.1.9 |
M | 4240 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event == SPOE_EV_ON_HTTP_REQ_BE | GJB 4.6.1.9 |
M | 4241 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event = SPOE_EV_ON_HTTP_REQ_FE | GJB 4.6.1.9 |
M | 4243 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event == SPOE_EV_ON_CLIENT_SESS | GJB 4.6.1.9 |
M | 4243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4244 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event == SPOE_EV_ON_TCP_REQ_FE | GJB 4.6.1.9 |
M | 4245 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 4245 | Signed/unsigned conversion without cast. : (int and unsigned int): msg -> event == SPOE_EV_ON_HTTP_REQ_FE | GJB 4.6.1.9 |
M | 4248 | goto detected. | GJB 4.5.1.2 |
M | 4253 | goto detected. | GJB 4.5.1.2 |
M | 4256 | Signed/unsigned conversion without cast. : (unsigned int and int): where | GJB 4.6.1.9 |
M | 4258 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4262 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4266 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4270 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4277 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4284 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4288 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4295 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 4314 | goto detected. | GJB 4.5.1.2 |
M | 4319 | Value is not of appropriate type. : (unsigned int and int): LIST_ADDQ ( & curagent -> events [ msg -> event | GJB 4.6.1.8 |
M | 4320 | goto detected. | GJB 4.5.1.2 |
M | 4325 | goto detected. | GJB 4.5.1.2 |
M | 4338 | goto detected. | GJB 4.5.1.2 |
M | 4343 | goto detected. | GJB 4.5.1.2 |
M | 4360 | goto detected. | GJB 4.5.1.2 |
M | 4369 | goto detected. | GJB 4.5.1.2 |
M | 4374 | goto detected. | GJB 4.5.1.2 |
M | 4382 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 4383 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 4425 | goto detected. | GJB 4.5.1.2 |
M | 4429 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4430 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4454 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4455 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4467 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4469 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4050 | Static procedure is not explicitly called in code analysed. : parse_spoe_flt | GJB 4.7.1.3 |
M | 4410 | Attempt to read from freed memory. : ph | GJB 5.1.16 |
M | 4450 | Attempt to read from freed memory. : ph | GJB 5.1.16 |
M | 4471 | Memory not freed after last reference. : conf | GJB 5.1.17 |
M | 4446 | Attempt to read from freed memory. : ph | GJB 5.1.16 |
M | 4233 | Procedure contains UR data flow anomalies. : arg | GJB 4.13.1.4 |
M | 4054 | Procedure contains UR data flow anomalies. : backup_sections |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoe_send_group (4478 to 4535 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4498 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 4480 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4515 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 4525 | Empty then clause. | GJB 4.3.1.1 |
M | 4478 | Static procedure is not explicitly called in code analysed. : spoe_send_group | GJB 4.7.1.3 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->buffer | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->buffer_wait | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->flags | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->frag_ctx | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->frag_ctx.curarg | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->frag_ctx.curmsg | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->frag_ctx.curoff | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->frag_ctx.flags | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->list | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->process_exp | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->spoe_appctx | GJB 4.13.1.4 |
M | 4527 | Procedure contains UR data flow anomalies. : (ctx)->state | GJB 4.13.1.4 |
M | 4482 | Procedure contains UR data flow anomalies. : filter |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_send_spoe_group (4551 to 4639 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4586 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 4586 | Pointer not checked for null before use. : engine_id | GJB 5.1.15 |
M | 4552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4559 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4560 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4573 | goto detected. | GJB 4.5.1.2 |
M | 4574 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 4594 | goto detected. | GJB 4.5.1.2 |
M | 4606 | goto detected. | GJB 4.5.1.2 |
M | 4622 | goto detected. | GJB 4.5.1.2 |
M | 4627 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4627 | free used on string. | GJB 5.1.19 |
M | 4628 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4628 | free used on string. | GJB 5.1.19 |
M | 4635 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4636 | free used on string. | GJB 5.1.19 |
M | 4637 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4637 | free used on string. | GJB 5.1.19 |
M | 4551 | Static procedure is not explicitly called in code analysed. : check_send_spoe_group | GJB 4.7.1.3 |
M | 4612 | Procedure contains UR data flow anomalies. : arg | GJB 4.13.1.4 |
M | 4554 | Procedure contains UR data flow anomalies. : fconf | GJB 4.13.1.4 |
M | 4557 | Procedure contains UR data flow anomalies. : group | GJB 4.13.1.4 |
M | 4558 | Procedure contains UR data flow anomalies. : msg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_send_spoe_group (4649 to 4667 flt_spoe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4650 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4651 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4653 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4653 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4653 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4654 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4654 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4654 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4659 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4649 | Static procedure is not explicitly called in code analysed. : parse_send_spoe_group | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
channel_label (61 to 65 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 61 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_mode (67 to 73 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 68 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_pos (75 to 79 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 75 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 76 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_type (81 to 85 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 81 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_hexdump (87 to 112 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 90 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 90 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 92 | Expression needs brackets. | GJB 5.1.2 |
M | 93 | Expression needs brackets. | GJB 5.1.2 |
M | 97 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 100 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 105 | Expression needs brackets. | GJB 5.1.2 |
M | 107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 108 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_raw_hexdump (114 to 128 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 117 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 120 | Signed/unsigned conversion without cast. : (int and unsigned int): block1 = len | GJB 4.6.1.9 |
M | 123 | Signed/unsigned conversion without cast. : (int and unsigned int): block2 = len | GJB 4.6.1.9 |
M | 123 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_htx_hexdump (130 to 156 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 141 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 148 | Signed/unsigned conversion without cast. : (unsigned int and int): offset | GJB 4.6.1.9 |
M | 151 | Type conversion without cast. : (bool and unsigned int): v.len = len | GJB 4.6.1.9 |
M | 152 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_get_htx_datalen (158 to 180 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 167 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 172 | goto detected. | GJB 4.5.1.2 |
M | 174 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_init (186 to 204 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 186 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_deinit (207 to 218 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 215 | Pointer not checked for null before use. : (conf)->name | GJB 5.1.15 |
M | 214 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 215 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 207 | Static procedure is not explicitly called in code analysed. : trace_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_check (222 to 226 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 222 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_init_per_thread (229 to 236 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | Static procedure is not explicitly called in code analysed. : trace_init_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_deinit_per_thread (239 to 246 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 239 | Static procedure is not explicitly called in code analysed. : trace_deinit_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_attach (252 to 261 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 257 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 253 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 257 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 252 | Static procedure is not explicitly called in code analysed. : trace_attach | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_detach (265 to 272 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 270 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 266 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 270 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 265 | Static procedure is not explicitly called in code analysed. : trace_detach | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_stream_start (275 to 283 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 280 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 276 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 280 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 275 | Static procedure is not explicitly called in code analysed. : trace_stream_start | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_stream_set_backend (287 to 296 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 293 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 288 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 293 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 287 | Static procedure is not explicitly called in code analysed. : trace_stream_set_backend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_stream_stop (299 to 306 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 304 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 300 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 304 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 299 | Static procedure is not explicitly called in code analysed. : trace_stream_stop | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_check_timeouts (309 to 316 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 314 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 310 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 314 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 309 | Static procedure is not explicitly called in code analysed. : trace_check_timeouts | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_chn_start_analyze (322 to 335 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 328 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 323 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 328 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 322 | Static procedure is not explicitly called in code analysed. : trace_chn_start_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_chn_analyze (338 to 410 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 404 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 339 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 343 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 402 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 404 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 338 | Static procedure is not explicitly called in code analysed. : trace_chn_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_chn_end_analyze (413 to 423 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 419 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 414 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 419 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 413 | Static procedure is not explicitly called in code analysed. : trace_chn_end_analyze | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_http_headers (428 to 460 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 434 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 437 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 446 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 437 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 429 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 437 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 456 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 428 | Static procedure is not explicitly called in code analysed. : trace_http_headers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_http_payload (462 to 491 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 469 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 479 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 463 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 467 | Signed/unsigned conversion without cast. : (int and unsigned int): len | GJB 4.6.1.9 |
M | 474 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 474 | Signed/unsigned conversion without cast. : (int and unsigned int): ret >= data | GJB 4.6.1.9 |
M | 475 | Signed/unsigned conversion without cast. : (int and unsigned int): ret = len | GJB 4.6.1.9 |
M | 479 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 488 | Signed/unsigned conversion without cast. : (int and unsigned int): ret != len | GJB 4.6.1.9 |
M | 462 | Static procedure is not explicitly called in code analysed. : trace_http_payload | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_http_end (493 to 503 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 499 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 494 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 499 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 493 | Static procedure is not explicitly called in code analysed. : trace_http_end | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_http_reset (505 to 514 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 511 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 506 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 511 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 505 | Static procedure is not explicitly called in code analysed. : trace_http_reset | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_http_reply (516 to 524 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 522 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 517 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 522 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 516 | Static procedure is not explicitly called in code analysed. : trace_http_reply | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_tcp_payload (529 to 574 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 537 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 558 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 530 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 534 | Signed/unsigned conversion without cast. : (int and unsigned int): len | GJB 4.6.1.9 |
M | 542 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 542 | Signed/unsigned conversion without cast. : (int and unsigned int): ret >= data | GJB 4.6.1.9 |
M | 543 | Signed/unsigned conversion without cast. : (int and unsigned int): ret = len | GJB 4.6.1.9 |
M | 547 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 561 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 571 | Signed/unsigned conversion without cast. : (int and unsigned int): ret != len | GJB 4.6.1.9 |
M | 529 | Static procedure is not explicitly called in code analysed. : trace_tcp_payload | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_trace_flt (612 to 668 flt_trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 666 | Pointer not checked for null before use. : (conf)->name | GJB 5.1.15 |
M | 613 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 614 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 614 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 619 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 625 | Signed/unsigned conversion without cast. : (unsigned int and int): conf -> flags | GJB 4.6.1.9 |
M | 626 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 629 | Value is not of appropriate type. : (unsigned int and int): * args [ pos | GJB 4.6.1.8 |
M | 630 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 631 | Value is not of appropriate type. : (unsigned int and int): ! * args [ pos + 1 | GJB 4.6.1.8 |
M | 632 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : '%s' option without value" , args [ * cur_arg ] , args [ pos | GJB 4.6.1.8 |
M | 634 | goto detected. | GJB 4.5.1.2 |
M | 636 | Value is not of appropriate type. : (unsigned int and int): conf -> name = strdup ( args [ pos + 1 | GJB 4.6.1.8 |
M | 639 | goto detected. | GJB 4.5.1.2 |
M | 643 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 645 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 647 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 649 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ pos | GJB 4.6.1.8 |
M | 664 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 665 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 612 | Static procedure is not explicitly called in code analysed. : parse_trace_flt | GJB 4.7.1.3 |
M | 668 | Memory not freed after last reference. : conf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_freq_ctr (30 to 67 freq_ctr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 50 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 50 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 50 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 54 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 55 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( age | GJB 4.6.1.9 |
M | 60 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 63 | Signed/unsigned conversion without cast. : (unsigned int and int): past | GJB 4.6.1.9 |
M | 63 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 63 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 66 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 32 | Procedure contains UR data flow anomalies. : curr | GJB 4.13.1.4 |
M | 33 | Procedure contains UR data flow anomalies. : curr_sec | GJB 4.13.1.4 |
M | 32 | Procedure contains UR data flow anomalies. : past |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
freq_ctr_remain (73 to 112 freq_ctr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 97 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 98 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( age | GJB 4.6.1.9 |
M | 99 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 101 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( age | GJB 4.6.1.9 |
M | 103 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 105 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 107 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 111 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 75 | Procedure contains UR data flow anomalies. : curr | GJB 4.13.1.4 |
M | 76 | Procedure contains UR data flow anomalies. : curr_sec | GJB 4.13.1.4 |
M | 75 | Procedure contains UR data flow anomalies. : past |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
next_event_delay (120 to 161 freq_ctr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 140 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 140 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 140 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 144 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 145 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( age | GJB 4.6.1.9 |
M | 146 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 148 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( age | GJB 4.6.1.9 |
M | 150 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 152 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 154 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 159 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Function return type inconsistent. : (unsigned int and int) | GJB 4.9.1.4 |
M | 122 | Procedure contains UR data flow anomalies. : curr | GJB 4.13.1.4 |
M | 123 | Procedure contains UR data flow anomalies. : curr_sec | GJB 4.13.1.4 |
M | 122 | Procedure contains UR data flow anomalies. : past |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_freq_ctr_period (179 to 219 freq_ctr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 199 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Expression needs brackets. | GJB 5.1.2 |
M | 204 | Value is not of appropriate type. : (int and unsigned int): ( int ) | GJB 4.6.1.8 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Value is not of appropriate type. : (int and unsigned int): ( int ) | GJB 4.6.1.8 |
M | 212 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 214 | Signed/unsigned conversion without cast. : (unsigned int and int): past | GJB 4.6.1.9 |
M | 214 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 214 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Procedure contains UR data flow anomalies. : curr | GJB 4.13.1.4 |
M | 182 | Procedure contains UR data flow anomalies. : curr_tick | GJB 4.13.1.4 |
M | 181 | Procedure contains UR data flow anomalies. : past |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
freq_ctr_remain_period (225 to 269 freq_ctr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 246 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 246 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 246 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 250 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 250 | Expression needs brackets. | GJB 5.1.2 |
M | 251 | Value is not of appropriate type. : (int and unsigned int): ( int ) | GJB 4.6.1.8 |
M | 256 | Signed/unsigned conversion without cast. : (unsigned int and int): curr | GJB 4.6.1.9 |
M | 257 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 258 | Value is not of appropriate type. : (int and unsigned int): ( int ) | GJB 4.6.1.8 |
M | 259 | Signed/unsigned conversion without cast. : (unsigned int and int): past | GJB 4.6.1.9 |
M | 262 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 262 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 264 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 265 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 266 | Value is not of appropriate type. : (int and unsigned int): ( int ) | GJB 4.6.1.8 |
M | 267 | Signed/unsigned conversion without cast. : (unsigned int and int): freq | GJB 4.6.1.9 |
M | 228 | Procedure contains UR data flow anomalies. : curr | GJB 4.13.1.4 |
M | 229 | Procedure contains UR data flow anomalies. : curr_tick | GJB 4.13.1.4 |
M | 228 | Procedure contains UR data flow anomalies. : past |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
frontend_accept (48 to 172 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 55 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 55 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 60 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 63 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 68 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 73 | Null case in switch statement. | GJB 4.3.1.8 |
M | 71 | No default case in switch statement. | GJB 4.3.1.4 |
M | 93 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 99 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 99 | Array initialisation has insufficient items. : alpn[*]; given=7, expected=16 | GJB 5.1.20 |
M | 100 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 105 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 106 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 106 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 108 | Value is not of appropriate type. : (unsigned int and int): alpn [ len | GJB 4.6.1.8 |
M | 119 | Null case in switch statement. | GJB 4.3.1.8 |
M | 117 | No default case in switch statement. | GJB 4.3.1.4 |
M | 139 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 139 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 140 | goto detected. | GJB 4.5.1.2 |
M | 141 | Use of sizeof on a type. | GJB 5.1.8 |
M | 145 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 145 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 146 | goto detected. | GJB 4.5.1.2 |
M | 147 | Use of sizeof on a type. | GJB 5.1.8 |
M | 156 | goto detected. | GJB 4.5.1.2 |
M | 101 | Procedure contains UR data flow anomalies. : alpn_len | GJB 4.13.1.4 |
M | 68 | Procedure contains UR data flow anomalies. : pn | GJB 4.13.1.4 |
M | 98 | Procedure contains UR data flow anomalies. : pn | GJB 4.13.1.4 |
M | 68 | Procedure contains UR data flow anomalies. : sn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_id (179 to 186 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 180 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 180 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 179 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_name (189 to 200 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 190 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 190 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 192 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 189 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_name | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_defbe (203 to 216 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 204 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 204 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 208 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 203 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_defbe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_req_rate (222 to 229 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 223 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 222 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_req_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_sess_rate (235 to 242 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 236 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 236 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 235 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_sess_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_conn (248 to 255 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 249 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 249 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 248 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fe_client_timeout (257 to 264 frontend.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 258 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 258 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 257 | Static procedure is not explicitly called in code analysed. : smp_fetch_fe_client_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_hdr_rank (77 to 86 gen-enc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 81 | Signed/unsigned conversion without cast. : (int and unsigned int): i < sizeof | GJB 4.6.1.9 |
M | 81 | Expression needs brackets. | GJB 5.1.2 |
M | 82 | Value is not of appropriate type. : (unsigned int and int): strcmp ( ranks [ i | GJB 4.6.1.8 |
M | 83 | Value is not of appropriate type. : (unsigned int and int): ranks [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cmp_idx (91 to 121 gen-enc.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : cmp_idx | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 91 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 91 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 93 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 100 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 110 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (123 to 205 gen-enc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | Name redeclared in another C name space (MR). : len | GJB 4.1.1.16 |
M | 159 | Pointer not checked for null before use. : idxhdr.ptr | GJB 5.1.15 |
M | 123 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 131 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 131 | Value is not of appropriate type. : (unsigned int and int): positions [ len | GJB 4.6.1.8 |
M | 134 | Value is not of appropriate type. : (unsigned int and int): idxhdr [ i | GJB 4.6.1.8 |
M | 134 | Value is not of appropriate type. : (unsigned int and int): idxhdr [ i ].ptr = hpack_sht [ i | GJB 4.6.1.8 |
M | 135 | Value is not of appropriate type. : (unsigned int and int): idxhdr [ i | GJB 4.6.1.8 |
M | 135 | Value is not of appropriate type. : (unsigned int and int): idxhdr [ i ].len = hpack_sht [ i | GJB 4.6.1.8 |
M | 136 | Value is not of appropriate type. : (unsigned int and int): idxhdr [ i | GJB 4.6.1.8 |
M | 144 | Use of banned function or variable. : qsort | GJB 4.7.1.4 |
M | 144 | Use of sizeof on a type. | GJB 5.1.8 |
M | 149 | Value is not of appropriate type. : (unsigned int and int): len = idxhdr [ i | GJB 4.6.1.8 |
M | 151 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 156 | Value is not of appropriate type. : (unsigned int and int): positions [ len | GJB 4.6.1.8 |
M | 157 | Value is not of appropriate type. : (unsigned int and int): positions [ len | GJB 4.6.1.8 |
M | 158 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 159 | Array bound exceeded. : known_hdr[*]; accessed=-1 | GJB 4.6.1.2 |
M | 159 | Value is not of appropriate type. : (unsigned int and int): memcmp ( & known_hdr [ prev | GJB 4.6.1.8 |
M | 159 | Value is not of appropriate type. : (unsigned int and int): idxhdr [ i | GJB 4.6.1.8 |
M | 162 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 166 | Expression needs brackets. | GJB 5.1.2 |
M | 170 | Value is not of appropriate type. : (unsigned int and int): known_hdr [ pos ++ | GJB 4.6.1.8 |
M | 170 | Type conversion without cast. : (char and int): known_hdr [ pos ++ ] = len | GJB 4.6.1.9 |
M | 171 | Value is not of appropriate type. : (unsigned int and int): known_hdr [ pos ++ | GJB 4.6.1.8 |
M | 171 | Value is not of appropriate type. : (unsigned int and int): known_hdr [ pos ++ ] = idxhdr [ i | GJB 4.6.1.8 |
M | 172 | Value is not of appropriate type. : (unsigned int and int): memcpy ( & known_hdr [ pos | GJB 4.6.1.8 |
M | 172 | Value is not of appropriate type. : (unsigned int and int): memcpy ( & known_hdr [ pos ] , idxhdr [ i | GJB 4.6.1.8 |
M | 174 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 177 | Expression needs brackets. | GJB 5.1.2 |
M | 179 | Value is not of appropriate type. : (unsigned int and int): known_hdr [ pos ++ | GJB 4.6.1.8 |
M | 186 | Value is not of appropriate type. : (unsigned int and int): printf ( " 0x%02x," , known_hdr [ i | GJB 4.6.1.8 |
M | 188 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 188 | Expression needs brackets. | GJB 5.1.2 |
M | 198 | Value is not of appropriate type. : (unsigned int and int): printf ( " % 4d," , positions [ i | GJB 4.6.1.8 |
M | 200 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 200 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (282 to 369 gen-rht.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 284 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 282 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 284 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 284 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 284 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 289 | Expression needs brackets. | GJB 5.1.2 |
M | 294 | Expression needs brackets. | GJB 5.1.2 |
M | 294 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 304 | Expression needs brackets. | GJB 5.1.2 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 309 | Expression needs brackets. | GJB 5.1.2 |
M | 309 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 309 | Value is not of appropriate type. : (signed char and int): ( c ^ ( j << 17 ) ) & - ( 1 << ( 32 - ht [ i ].b ) ) | GJB 4.6.1.8 |
M | 319 | Expression needs brackets. | GJB 5.1.2 |
M | 320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Expression needs brackets. | GJB 5.1.2 |
M | 326 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 326 | Value is not of appropriate type. : (signed char and short): ( c ^ ( j << 11 ) ) & - ( 1 << ( 32 - ht [ i ].b ) ) | GJB 4.6.1.8 |
M | 336 | Expression needs brackets. | GJB 5.1.2 |
M | 337 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 337 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Expression needs brackets. | GJB 5.1.2 |
M | 343 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 343 | Value is not of appropriate type. : (signed char and short): ( c ^ ( j << 8 ) ) & - ( 1 << ( 32 - ht [ i ].b ) ) | GJB 4.6.1.8 |
M | 354 | Expression needs brackets. | GJB 5.1.2 |
M | 359 | Expression needs brackets. | GJB 5.1.2 |
M | 359 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 359 | Value is not of appropriate type. : (signed char and short): ( c ^ ( j << 4 ) ) & - ( 1 << ( 32 - ht [ i ].b ) ) | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_group_action (47 to 121 group.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 73 | Pointer not checked for null before use. : conf_group | GJB 5.1.15 |
M | 47 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 56 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 104 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 104 | Value is not of appropriate type. : (unsigned int and int): flt_ot_group_data [ i | GJB 4.6.1.8 |
M | 47 | Function has no return statement. : flt_ot_group_action | GJB 4.9.1.1 |
M | 47 | Static procedure is not explicitly called in code analysed. : flt_ot_group_action | GJB 4.7.1.3 |
M | 49 | Procedure contains UR data flow anomalies. : filter | GJB 4.13.1.4 |
M | 54 | Procedure contains UR data flow anomalies. : ph_scope | GJB 4.13.1.4 |
M | 64 | Procedure contains UR data flow anomalies. : struct | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_group_check (141 to 222 group.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 156 | Pointer not checked for null before use. : filter_id | GJB 5.1.15 |
M | 156 | Pointer not checked for null before use. : group_id | GJB 5.1.15 |
M | 217 | Pointer not checked for null before use. : fconf | GJB 5.1.15 |
M | 183 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 201 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 141 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 147 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 163 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 163 | Value is not of appropriate type. : (unsigned int and int): flt_ot_group_data [ i | GJB 4.6.1.8 |
M | 188 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 141 | Function has no return statement. : flt_ot_group_check | GJB 4.9.1.1 |
M | 141 | Static procedure is not explicitly called in code analysed. : flt_ot_group_check | GJB 4.7.1.3 |
M | 143 | Procedure contains UR data flow anomalies. : fconf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_group_release (239 to 244 group.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 239 | Static procedure is not explicitly called in code analysed. : flt_ot_group_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_group_parse (264 to 304 group.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 264 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 264 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 272 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 287 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 289 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 264 | Function has no return statement. : flt_ot_group_parse | GJB 4.9.1.1 |
M | 264 | Static procedure is not explicitly called in code analysed. : flt_ot_group_parse | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_cont_len_header (25 to 88 h1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 27 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 27 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 27 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 35 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 35 | Expression needs brackets. | GJB 5.1.2 |
M | 41 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 42 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 43 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( c | GJB 4.6.1.9 |
M | 46 | goto detected. | GJB 4.5.1.2 |
M | 49 | Expression needs brackets. | GJB 5.1.2 |
M | 49 | Value is not of appropriate type. : (long long and unsigned char) | GJB 4.6.1.8 |
M | 50 | goto detected. | GJB 4.5.1.2 |
M | 52 | Type conversion without cast. : (unsigned int and long long): unlikely ( cl + c | GJB 4.6.1.9 |
M | 52 | Expression needs brackets. | GJB 5.1.2 |
M | 53 | goto detected. | GJB 4.5.1.2 |
M | 64 | goto detected. | GJB 4.5.1.2 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | goto detected. | GJB 4.5.1.2 |
M | 75 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 75 | Type conversion without cast. : (int and long long): h1m -> curr_len = h1m -> body_len = cl | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_xfer_enc_header (97 to 126 h1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 114 | Pointer not checked for null before use. : n | GJB 5.1.15 |
M | 99 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 99 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 99 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 108 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 108 | Expression needs brackets. | GJB 5.1.2 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 118 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_connection_header (136 to 187 h1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 153 | Pointer not checked for null before use. : n | GJB 5.1.15 |
M | 138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 138 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 138 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 138 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 147 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 147 | Expression needs brackets. | GJB 5.1.2 |
M | 156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 156 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 157 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 162 | goto detected. | GJB 4.5.1.2 |
M | 167 | goto detected. | GJB 4.5.1.2 |
M | 170 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 173 | Expression needs brackets. | GJB 5.1.2 |
M | 179 | Value is not of appropriate type. : (unsigned int and int): value -> ptr [ value -> len ++ | GJB 4.6.1.8 |
M | 179 | Type conversion without cast. : (int and char): value -> ptr [ value -> len ++ ] = ',' | GJB 4.6.1.9 |
M | 185 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_headers_to_hdr_list (267 to 967 h1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 307 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 307 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 349 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 548 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 661 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 947 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 956 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 929 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 272 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 273 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 286 | Signed/unsigned conversion without cast. : (unsigned int and int): skip | GJB 4.6.1.9 |
M | 289 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 289 | Signed/unsigned conversion without cast. : (unsigned int and int): hdr_count = sol = col = eol = sov | GJB 4.6.1.9 |
M | 291 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 308 | goto detected. | GJB 4.5.1.2 |
M | 315 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 321 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 322 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 324 | Signed/unsigned conversion without cast. : (unsigned int and int): sol | GJB 4.6.1.9 |
M | 326 | Signed/unsigned conversion without cast. : (unsigned int and int): hdr_count | GJB 4.6.1.9 |
M | 328 | goto detected. | GJB 4.5.1.2 |
M | 333 | goto detected. | GJB 4.5.1.2 |
M | 337 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 337 | Expression needs brackets. | GJB 5.1.2 |
M | 337 | goto detected. | GJB 4.5.1.2 |
M | 337 | goto detected. | GJB 4.5.1.2 |
M | 338 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 338 | Expression needs brackets. | GJB 5.1.2 |
M | 338 | goto detected. | GJB 4.5.1.2 |
M | 338 | goto detected. | GJB 4.5.1.2 |
M | 341 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 341 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 343 | goto detected. | GJB 4.5.1.2 |
M | 344 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 344 | Expression needs brackets. | GJB 5.1.2 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 347 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 347 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 350 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 350 | Expression needs brackets. | GJB 5.1.2 |
M | 350 | goto detected. | GJB 4.5.1.2 |
M | 350 | goto detected. | GJB 4.5.1.2 |
M | 355 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 355 | Expression needs brackets. | GJB 5.1.2 |
M | 355 | goto detected. | GJB 4.5.1.2 |
M | 355 | goto detected. | GJB 4.5.1.2 |
M | 369 | goto detected. | GJB 4.5.1.2 |
M | 372 | goto detected. | GJB 4.5.1.2 |
M | 372 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 374 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 378 | goto detected. | GJB 4.5.1.2 |
M | 381 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 381 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 381 | goto detected. | GJB 4.5.1.2 |
M | 381 | goto detected. | GJB 4.5.1.2 |
M | 383 | goto detected. | GJB 4.5.1.2 |
M | 383 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 385 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 403 | goto detected. | GJB 4.5.1.2 |
M | 406 | Value is not of appropriate type. : (char and signed char): ( unsigned char ) ( * ptr | GJB 4.6.1.8 |
M | 406 | Value is not of appropriate type. : (unsigned char and signed char): ( unsigned char ) ( * ptr - 33 | GJB 4.6.1.8 |
M | 407 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 407 | Expression needs brackets. | GJB 5.1.2 |
M | 407 | goto detected. | GJB 4.5.1.2 |
M | 407 | goto detected. | GJB 4.5.1.2 |
M | 411 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 411 | Expression needs brackets. | GJB 5.1.2 |
M | 411 | goto detected. | GJB 4.5.1.2 |
M | 411 | goto detected. | GJB 4.5.1.2 |
M | 413 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 413 | Signed/unsigned conversion without cast. : (unsigned char and int): ( unsigned char ) * ptr | GJB 4.6.1.9 |
M | 419 | goto detected. | GJB 4.5.1.2 |
M | 421 | Expression needs brackets. | GJB 5.1.2 |
M | 422 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 422 | Expression needs brackets. | GJB 5.1.2 |
M | 422 | goto detected. | GJB 4.5.1.2 |
M | 422 | goto detected. | GJB 4.5.1.2 |
M | 427 | goto detected. | GJB 4.5.1.2 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 433 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 435 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 439 | goto detected. | GJB 4.5.1.2 |
M | 442 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 442 | Expression needs brackets. | GJB 5.1.2 |
M | 442 | goto detected. | GJB 4.5.1.2 |
M | 442 | goto detected. | GJB 4.5.1.2 |
M | 444 | goto detected. | GJB 4.5.1.2 |
M | 444 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 447 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 450 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 450 | Expression needs brackets. | GJB 5.1.2 |
M | 450 | goto detected. | GJB 4.5.1.2 |
M | 450 | goto detected. | GJB 4.5.1.2 |
M | 464 | Type conversion without cast. : (unsigned char and char): * ( sl.rq.v.ptr + 5 ) > '1' | GJB 4.6.1.9 |
M | 464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 465 | Type conversion without cast. : (unsigned char and char): * ( sl.rq.v.ptr + 5 ) == '1' | GJB 4.6.1.9 |
M | 465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 465 | Type conversion without cast. : (unsigned char and char): * ( sl.rq.v.ptr + 7 ) >= '1' | GJB 4.6.1.9 |
M | 470 | goto detected. | GJB 4.5.1.2 |
M | 473 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 477 | goto detected. | GJB 4.5.1.2 |
M | 480 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 485 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 485 | Expression needs brackets. | GJB 5.1.2 |
M | 485 | goto detected. | GJB 4.5.1.2 |
M | 485 | goto detected. | GJB 4.5.1.2 |
M | 486 | goto detected. | GJB 4.5.1.2 |
M | 491 | goto detected. | GJB 4.5.1.2 |
M | 491 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 493 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 502 | goto detected. | GJB 4.5.1.2 |
M | 505 | goto detected. | GJB 4.5.1.2 |
M | 507 | goto detected. | GJB 4.5.1.2 |
M | 508 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 508 | Expression needs brackets. | GJB 5.1.2 |
M | 508 | goto detected. | GJB 4.5.1.2 |
M | 508 | goto detected. | GJB 4.5.1.2 |
M | 514 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 514 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 520 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 521 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 523 | Signed/unsigned conversion without cast. : (unsigned int and int): sol | GJB 4.6.1.9 |
M | 525 | Signed/unsigned conversion without cast. : (unsigned int and int): hdr_count | GJB 4.6.1.9 |
M | 527 | goto detected. | GJB 4.5.1.2 |
M | 532 | goto detected. | GJB 4.5.1.2 |
M | 536 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 536 | Expression needs brackets. | GJB 5.1.2 |
M | 536 | goto detected. | GJB 4.5.1.2 |
M | 536 | goto detected. | GJB 4.5.1.2 |
M | 537 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 537 | Expression needs brackets. | GJB 5.1.2 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 540 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 540 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 542 | goto detected. | GJB 4.5.1.2 |
M | 543 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 543 | Expression needs brackets. | GJB 5.1.2 |
M | 543 | goto detected. | GJB 4.5.1.2 |
M | 543 | goto detected. | GJB 4.5.1.2 |
M | 546 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 546 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 549 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 549 | Expression needs brackets. | GJB 5.1.2 |
M | 549 | goto detected. | GJB 4.5.1.2 |
M | 549 | goto detected. | GJB 4.5.1.2 |
M | 555 | Type conversion without cast. : (unsigned char and char): * ( sl.st.v.ptr + 5 ) > '1' | GJB 4.6.1.9 |
M | 555 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 556 | Type conversion without cast. : (unsigned char and char): * ( sl.st.v.ptr + 5 ) == '1' | GJB 4.6.1.9 |
M | 556 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 556 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 556 | Type conversion without cast. : (unsigned char and char): * ( sl.st.v.ptr + 7 ) >= '1' | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 559 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 559 | Expression needs brackets. | GJB 5.1.2 |
M | 559 | goto detected. | GJB 4.5.1.2 |
M | 559 | goto detected. | GJB 4.5.1.2 |
M | 562 | goto detected. | GJB 4.5.1.2 |
M | 562 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 564 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 569 | goto detected. | GJB 4.5.1.2 |
M | 572 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 572 | Expression needs brackets. | GJB 5.1.2 |
M | 572 | goto detected. | GJB 4.5.1.2 |
M | 572 | goto detected. | GJB 4.5.1.2 |
M | 575 | goto detected. | GJB 4.5.1.2 |
M | 575 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 577 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 580 | Expression needs brackets. | GJB 5.1.2 |
M | 581 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 581 | Expression needs brackets. | GJB 5.1.2 |
M | 581 | goto detected. | GJB 4.5.1.2 |
M | 581 | goto detected. | GJB 4.5.1.2 |
M | 586 | goto detected. | GJB 4.5.1.2 |
M | 591 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 591 | Expression needs brackets. | GJB 5.1.2 |
M | 591 | goto detected. | GJB 4.5.1.2 |
M | 591 | goto detected. | GJB 4.5.1.2 |
M | 600 | goto detected. | GJB 4.5.1.2 |
M | 600 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 602 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 606 | goto detected. | GJB 4.5.1.2 |
M | 609 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 609 | Expression needs brackets. | GJB 5.1.2 |
M | 609 | goto detected. | GJB 4.5.1.2 |
M | 609 | goto detected. | GJB 4.5.1.2 |
M | 611 | goto detected. | GJB 4.5.1.2 |
M | 611 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 613 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 616 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 616 | Expression needs brackets. | GJB 5.1.2 |
M | 616 | goto detected. | GJB 4.5.1.2 |
M | 616 | goto detected. | GJB 4.5.1.2 |
M | 629 | goto detected. | GJB 4.5.1.2 |
M | 632 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 637 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 637 | Expression needs brackets. | GJB 5.1.2 |
M | 637 | goto detected. | GJB 4.5.1.2 |
M | 637 | goto detected. | GJB 4.5.1.2 |
M | 638 | goto detected. | GJB 4.5.1.2 |
M | 638 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 640 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 643 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 644 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 644 | Expression needs brackets. | GJB 5.1.2 |
M | 644 | goto detected. | GJB 4.5.1.2 |
M | 644 | goto detected. | GJB 4.5.1.2 |
M | 647 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 647 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 651 | goto detected. | GJB 4.5.1.2 |
M | 655 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 655 | Expression needs brackets. | GJB 5.1.2 |
M | 655 | goto detected. | GJB 4.5.1.2 |
M | 655 | goto detected. | GJB 4.5.1.2 |
M | 656 | goto detected. | GJB 4.5.1.2 |
M | 656 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 658 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 664 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 665 | Type conversion without cast. : (char and int): ptr = tolower | GJB 4.6.1.9 |
M | 665 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 667 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 667 | Expression needs brackets. | GJB 5.1.2 |
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 672 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 672 | Expression needs brackets. | GJB 5.1.2 |
M | 672 | goto detected. | GJB 4.5.1.2 |
M | 672 | goto detected. | GJB 4.5.1.2 |
M | 675 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 675 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 677 | goto detected. | GJB 4.5.1.2 |
M | 681 | Expression needs brackets. | GJB 5.1.2 |
M | 684 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 684 | Expression needs brackets. | GJB 5.1.2 |
M | 684 | goto detected. | GJB 4.5.1.2 |
M | 684 | goto detected. | GJB 4.5.1.2 |
M | 684 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 686 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 690 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 690 | Expression needs brackets. | GJB 5.1.2 |
M | 690 | goto detected. | GJB 4.5.1.2 |
M | 690 | goto detected. | GJB 4.5.1.2 |
M | 696 | goto detected. | GJB 4.5.1.2 |
M | 700 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 700 | Expression needs brackets. | GJB 5.1.2 |
M | 700 | goto detected. | GJB 4.5.1.2 |
M | 700 | goto detected. | GJB 4.5.1.2 |
M | 701 | goto detected. | GJB 4.5.1.2 |
M | 701 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 703 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 705 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 706 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 706 | Expression needs brackets. | GJB 5.1.2 |
M | 706 | goto detected. | GJB 4.5.1.2 |
M | 706 | goto detected. | GJB 4.5.1.2 |
M | 706 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 708 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 713 | Expression needs brackets. | GJB 5.1.2 |
M | 714 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 716 | goto detected. | GJB 4.5.1.2 |
M | 720 | goto detected. | GJB 4.5.1.2 |
M | 720 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 722 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 749 | goto detected. | GJB 4.5.1.2 |
M | 753 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 753 | Expression needs brackets. | GJB 5.1.2 |
M | 753 | goto detected. | GJB 4.5.1.2 |
M | 753 | goto detected. | GJB 4.5.1.2 |
M | 761 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 761 | Expression needs brackets. | GJB 5.1.2 |
M | 761 | goto detected. | GJB 4.5.1.2 |
M | 761 | goto detected. | GJB 4.5.1.2 |
M | 762 | goto detected. | GJB 4.5.1.2 |
M | 762 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 764 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 766 | goto detected. | GJB 4.5.1.2 |
M | 767 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 767 | Expression needs brackets. | GJB 5.1.2 |
M | 767 | goto detected. | GJB 4.5.1.2 |
M | 767 | goto detected. | GJB 4.5.1.2 |
M | 767 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 769 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 774 | Expression needs brackets. | GJB 5.1.2 |
M | 775 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 777 | goto detected. | GJB 4.5.1.2 |
M | 790 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 790 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 791 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 793 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 793 | Signed/unsigned conversion without cast. : (int and unsigned int): eol - 1 | GJB 4.6.1.9 |
M | 793 | Expression needs brackets. | GJB 5.1.2 |
M | 793 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 793 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 793 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 794 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 797 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 798 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 805 | goto detected. | GJB 4.5.1.2 |
M | 817 | goto detected. | GJB 4.5.1.2 |
M | 822 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 836 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 840 | goto detected. | GJB 4.5.1.2 |
M | 843 | Expression needs brackets. | GJB 5.1.2 |
M | 845 | Signed/unsigned conversion without cast. : (int and unsigned int): host_idx = hdr_count | GJB 4.6.1.9 |
M | 848 | Value is not of appropriate type. : (unsigned int and int): ! isteqi ( v , hdr [ host_idx | GJB 4.6.1.8 |
M | 851 | goto detected. | GJB 4.5.1.2 |
M | 856 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 858 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 865 | goto detected. | GJB 4.5.1.2 |
M | 868 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 868 | Expression needs brackets. | GJB 5.1.2 |
M | 868 | goto detected. | GJB 4.5.1.2 |
M | 868 | goto detected. | GJB 4.5.1.2 |
M | 869 | goto detected. | GJB 4.5.1.2 |
M | 869 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 871 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 873 | goto detected. | GJB 4.5.1.2 |
M | 882 | goto detected. | GJB 4.5.1.2 |
M | 884 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 895 | goto detected. | GJB 4.5.1.2 |
M | 910 | goto detected. | GJB 4.5.1.2 |
M | 911 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 918 | goto detected. | GJB 4.5.1.2 |
M | 919 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 314 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 925 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 929 | Expression needs brackets. | GJB 5.1.2 |
M | 934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 938 | Expression needs brackets. | GJB 5.1.2 |
M | 943 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 946 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 947 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 947 | Expression needs brackets. | GJB 5.1.2 |
M | 952 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 955 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 956 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 956 | Expression needs brackets. | GJB 5.1.2 |
M | 961 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 966 | goto detected. | GJB 4.5.1.2 |
M | 267 | Function has no return statement. : h1_headers_to_hdr_list | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_measure_trailers (975 to 1018 h1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 983 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 1008 | Pointer not checked for null before use. : p2 | GJB 5.1.15 |
M | 1007 | Pointer not checked for null before use. : p2 | GJB 5.1.15 |
M | 977 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 977 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 978 | Signed/unsigned conversion without cast. : (int and unsigned int): ofs | GJB 4.6.1.9 |
M | 981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 982 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 983 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1017 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_eval_htx_hdrs_size (23 to 32 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 26 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 28 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i | GJB 4.6.1.8 |
M | 29 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 29 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 29 | Use of sizeof on a type. | GJB 5.1.8 |
M | 29 | Value is not of appropriate type. : (unsigned int and int): sz += sizeof ( struct htx_blk ) + hdrs [ i | GJB 4.6.1.8 |
M | 29 | Value is not of appropriate type. : (unsigned int and int): sz += sizeof ( struct htx_blk ) + hdrs [ i ].n.len + hdrs [ i | GJB 4.6.1.8 |
M | 30 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 30 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_eval_htx_size (35 to 44 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Use of sizeof on a type. | GJB 5.1.8 |
M | 41 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 42 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_set_tunnel_mode (50 to 54 h1_htx.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_process_req_vsn (59 to 96 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | Expression needs brackets. | GJB 5.1.2 |
M | 69 | Type conversion without cast. : (unsigned char and char): * ( sl -> rq.v.ptr + 4 ) != '/' | GJB 4.6.1.9 |
M | 69 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Type conversion without cast. : (unsigned char and char): * ( sl -> rq.v.ptr + 6 ) != '.' | GJB 4.6.1.9 |
M | 72 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 92 | Type conversion without cast. : (unsigned char and char): * ( sl -> rq.v.ptr + 5 ) > '1' | GJB 4.6.1.9 |
M | 93 | Type conversion without cast. : (unsigned char and char): * ( sl -> rq.v.ptr + 5 ) == '1' | GJB 4.6.1.9 |
M | 93 | Type conversion without cast. : (unsigned char and char): ( * ( sl -> rq.v.ptr + 7 ) >= '1' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_process_res_vsn (101 to 124 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 111 | Expression needs brackets. | GJB 5.1.2 |
M | 111 | Type conversion without cast. : (unsigned char and char): * ( sl -> st.v.ptr + 4 ) != '/' | GJB 4.6.1.9 |
M | 111 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 112 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 112 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 113 | Type conversion without cast. : (unsigned char and char): * ( sl -> st.v.ptr + 6 ) != '.' | GJB 4.6.1.9 |
M | 114 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Type conversion without cast. : (unsigned char and char): * ( sl -> st.v.ptr + 5 ) > '1' | GJB 4.6.1.9 |
M | 120 | Type conversion without cast. : (unsigned char and char): * ( sl -> st.v.ptr + 5 ) == '1' | GJB 4.6.1.9 |
M | 120 | Type conversion without cast. : (unsigned char and char): ( * ( sl -> st.v.ptr + 7 ) >= '1' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1m_htx_sl_flags (127 to 152 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 151 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_postparse_req_hdrs (159 to 222 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 177 | goto detected. | GJB 4.5.1.2 |
M | 194 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 195 | goto detected. | GJB 4.5.1.2 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Type conversion without cast. : (unsigned char and char): ) == 'h' | GJB 4.6.1.9 |
M | 205 | Type conversion without cast. : (int and char): ( uri.ptr [ 4 ] == ':' | GJB 4.6.1.9 |
M | 207 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 215 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_postparse_res_hdrs (229 to 324 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 252 | Value is not of appropriate type. : (unsigned int and int): hdrs [ hdr | GJB 4.6.1.8 |
M | 253 | Value is not of appropriate type. : (unsigned int and int): isteqi ( hdrs [ hdr | GJB 4.6.1.8 |
M | 254 | Value is not of appropriate type. : (unsigned int and int): code = http_parse_status_val ( hdrs [ hdr | GJB 4.6.1.8 |
M | 256 | Value is not of appropriate type. : (unsigned int and int): isteqi ( hdrs [ hdr | GJB 4.6.1.8 |
M | 260 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 275 | goto detected. | GJB 4.5.1.2 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Signed/unsigned conversion without cast. : (unsigned short and int): code | GJB 4.6.1.9 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Signed/unsigned conversion without cast. : (unsigned short and int): code | GJB 4.6.1.9 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Signed/unsigned conversion without cast. : (unsigned short and int): code | GJB 4.6.1.9 |
M | 286 | Signed/unsigned conversion without cast. : (unsigned short and int): code | GJB 4.6.1.9 |
M | 286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 286 | Signed/unsigned conversion without cast. : (unsigned short and int): code | GJB 4.6.1.9 |
M | 287 | Signed/unsigned conversion without cast. : (unsigned short and int): code | GJB 4.6.1.9 |
M | 287 | Signed/unsigned conversion without cast. : (unsigned short and int): ( code | GJB 4.6.1.9 |
M | 291 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 303 | Signed/unsigned conversion without cast. : (int and unsigned int): h1m_htx_sl_flags | GJB 4.6.1.9 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_msg_hdrs (334 to 400 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 341 | goto detected. | GJB 4.5.1.2 |
M | 344 | Expression needs brackets. | GJB 5.1.2 |
M | 351 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 359 | goto detected. | GJB 4.5.1.2 |
M | 360 | goto detected. | GJB 4.5.1.2 |
M | 371 | goto detected. | GJB 4.5.1.2 |
M | 377 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 380 | goto detected. | GJB 4.5.1.2 |
M | 387 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 337 | Procedure contains UR data flow anomalies. : hdrs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_copy_msg_data (405 to 442 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 427 | Pointer not checked for null before use. : tmp_htx | GJB 5.1.15 |
M | 432 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 418 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 418 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 418 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 419 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 419 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 419 | Use of sizeof on a type. | GJB 5.1.8 |
M | 432 | Signed/unsigned conversion without cast. : (int and unsigned int): blk -> info += count | GJB 4.6.1.9 |
M | 438 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_msg_data (449 to 554 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 544 | Pointer not checked for null before use. : dsthtx | GJB 5.1.15 |
M | 504 | Pointer not checked for null before use. : dsthtx | GJB 5.1.15 |
M | 468 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 468 | Use of sizeof on a type. | GJB 5.1.8 |
M | 469 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 469 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs += ret | GJB 4.6.1.9 |
M | 470 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 470 | Signed/unsigned conversion without cast. : (unsigned int and int): total += ret | GJB 4.6.1.9 |
M | 472 | goto detected. | GJB 4.5.1.2 |
M | 484 | goto detected. | GJB 4.5.1.2 |
M | 486 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 486 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs += ret | GJB 4.6.1.9 |
M | 487 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 487 | Signed/unsigned conversion without cast. : (unsigned int and int): total += ret | GJB 4.6.1.9 |
M | 494 | goto detected. | GJB 4.5.1.2 |
M | 496 | Signed/unsigned conversion without cast. : (int and unsigned int): h1m -> curr_len = chksz | GJB 4.6.1.9 |
M | 497 | Signed/unsigned conversion without cast. : (int and unsigned int): h1m -> body_len += chksz | GJB 4.6.1.9 |
M | 498 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 498 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs += ret | GJB 4.6.1.9 |
M | 499 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 499 | Signed/unsigned conversion without cast. : (unsigned int and int): total += ret | GJB 4.6.1.9 |
M | 501 | goto detected. | GJB 4.5.1.2 |
M | 505 | Value is not of appropriate type. : (unsigned long and int): ( uint64_t ) | GJB 4.6.1.8 |
M | 514 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 514 | Use of sizeof on a type. | GJB 5.1.8 |
M | 515 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 515 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs += ret | GJB 4.6.1.9 |
M | 516 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 516 | Signed/unsigned conversion without cast. : (unsigned int and int): total += ret | GJB 4.6.1.9 |
M | 518 | goto detected. | GJB 4.5.1.2 |
M | 522 | goto detected. | GJB 4.5.1.2 |
M | 524 | goto detected. | GJB 4.5.1.2 |
M | 539 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 539 | Signed/unsigned conversion without cast. : (unsigned int and int): h1_copy_msg_data | GJB 4.6.1.9 |
M | 546 | Signed/unsigned conversion without cast. : (int and unsigned int): h1m -> err_pos = ofs | GJB 4.6.1.9 |
M | 547 | Signed/unsigned conversion without cast. : (unsigned int and int): total | GJB 4.6.1.9 |
M | 553 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 490 | Procedure contains UR data flow anomalies. : chksz |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_msg_tlrs (561 to 608 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 568 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 569 | goto detected. | GJB 4.5.1.2 |
M | 576 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 584 | goto detected. | GJB 4.5.1.2 |
M | 585 | goto detected. | GJB 4.5.1.2 |
M | 591 | goto detected. | GJB 4.5.1.2 |
M | 593 | goto detected. | GJB 4.5.1.2 |
M | 597 | goto detected. | GJB 4.5.1.2 |
M | 564 | Procedure contains UR data flow anomalies. : hdrs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_parse_msg_eom (613 to 627 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 623 | Use of sizeof on a type. | GJB 5.1.8 |
M | 623 | Value is not of appropriate type. : (bool and unsigned char): max < sizeof ( struct htx_blk ) | GJB 4.6.1.8 |
M | 623 | Expression needs brackets. | GJB 5.1.2 |
M | 623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_format_htx_reqline (633 to 672 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 649 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 651 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 651 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 652 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 657 | goto detected. | GJB 4.5.1.2 |
M | 661 | goto detected. | GJB 4.5.1.2 |
M | 665 | goto detected. | GJB 4.5.1.2 |
M | 670 | Signed/unsigned conversion without cast. : (int and unsigned int): chk -> data = sz | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_format_htx_stline (677 to 704 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 681 | Expression needs brackets. | GJB 5.1.2 |
M | 686 | goto detected. | GJB 4.5.1.2 |
M | 690 | goto detected. | GJB 4.5.1.2 |
M | 692 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 695 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 695 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 696 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 697 | goto detected. | GJB 4.5.1.2 |
M | 702 | Signed/unsigned conversion without cast. : (int and unsigned int): chk -> data = sz | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_format_htx_hdr (710 to 728 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 710 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 710 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 714 | Expression needs brackets. | GJB 5.1.2 |
M | 717 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 721 | goto detected. | GJB 4.5.1.2 |
M | 726 | Signed/unsigned conversion without cast. : (int and unsigned int): chk -> data = sz | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h1_format_htx_data (734 to 767 h1_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 746 | Pointer not checked for null before use. : beg | GJB 5.1.15 |
M | 740 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 741 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 745 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 746 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 747 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 749 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 750 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 750 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 752 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 755 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
has_forbidden_char (57 to 66 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 60 | Expression needs brackets. | GJB 5.1.2 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 61 | Expression needs brackets. | GJB 5.1.2 |
M | 61 | Operation not appropriate to plain char. : & used with char | GJB 4.1.1.15 |
M | 61 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 64 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h2_parse_cont_len_header (75 to 138 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 77 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 77 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 85 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 85 | Expression needs brackets. | GJB 5.1.2 |
M | 91 | Signed/unsigned conversion without cast. : (uns long long and int): cl | GJB 4.6.1.9 |
M | 91 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 92 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 93 | Signed/unsigned conversion without cast. : (unsigned int and int): unlikely ( c | GJB 4.6.1.9 |
M | 96 | goto detected. | GJB 4.5.1.2 |
M | 99 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 99 | Expression needs brackets. | GJB 5.1.2 |
M | 100 | goto detected. | GJB 4.5.1.2 |
M | 101 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 102 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 102 | Expression needs brackets. | GJB 5.1.2 |
M | 103 | goto detected. | GJB 4.5.1.2 |
M | 104 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 114 | goto detected. | GJB 4.5.1.2 |
M | 120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 121 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h2_prepare_htx_reqline (174 to 300 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 179 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 188 | goto detected. | GJB 4.5.1.2 |
M | 192 | goto detected. | GJB 4.5.1.2 |
M | 196 | goto detected. | GJB 4.5.1.2 |
M | 197 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 208 | goto detected. | GJB 4.5.1.2 |
M | 212 | goto detected. | GJB 4.5.1.2 |
M | 216 | goto detected. | GJB 4.5.1.2 |
M | 232 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 246 | goto detected. | GJB 4.5.1.2 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 282 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 283 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 294 | goto detected. | GJB 4.5.1.2 |
M | 297 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h2_make_htx_request (323 to 509 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 490 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 491 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 363 | Pointer not checked for null before use. : ctl | GJB 5.1.15 |
M | 400 | Pointer not checked for null before use. : msgf | GJB 5.1.15 |
M | 443 | Pointer not checked for null before use. : msgf | GJB 5.1.15 |
M | 331 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 335 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 337 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 338 | Signed/unsigned conversion without cast. : (unsigned int and int): fields | GJB 4.6.1.9 |
M | 339 | Signed/unsigned conversion without cast. : (unsigned int and int): idx | GJB 4.6.1.9 |
M | 355 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 355 | Value is not of appropriate type. : (unsigned int and int): ( uint8_t ) ( list [ idx ].n.ptr [ i | GJB 4.6.1.8 |
M | 355 | Expression needs brackets. | GJB 5.1.2 |
M | 355 | Operation not appropriate to plain char. : - used with char: 'Z' | GJB 4.1.1.15 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Value is not of appropriate type. : (unsigned int and int): ! HTTP_IS_TOKEN ( list [ idx ].n.ptr [ i | GJB 4.6.1.8 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 364 | goto detected. | GJB 4.5.1.2 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 368 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 371 | goto detected. | GJB 4.5.1.2 |
M | 375 | goto detected. | GJB 4.5.1.2 |
M | 378 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 379 | Value is not of appropriate type. : (unsigned int and int): phdr_val [ phdr | GJB 4.6.1.8 |
M | 384 | goto detected. | GJB 4.5.1.2 |
M | 385 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 392 | goto detected. | GJB 4.5.1.2 |
M | 402 | goto detected. | GJB 4.5.1.2 |
M | 410 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 415 | goto detected. | GJB 4.5.1.2 |
M | 417 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 417 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 418 | goto detected. | GJB 4.5.1.2 |
M | 425 | Signed/unsigned conversion without cast. : (int and unsigned int): ck = idx | GJB 4.6.1.9 |
M | 427 | Array bound exceeded. : list[*]; accessed=-1 | GJB 4.6.1.2 |
M | 427 | Value is not of appropriate type. : (unsigned int and int): list [ lck | GJB 4.6.1.8 |
M | 429 | Signed/unsigned conversion without cast. : (int and unsigned int): lck = idx | GJB 4.6.1.9 |
M | 434 | goto detected. | GJB 4.5.1.2 |
M | 439 | goto detected. | GJB 4.5.1.2 |
M | 445 | goto detected. | GJB 4.5.1.2 |
M | 448 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 448 | Signed/unsigned conversion without cast. : (uns long long and int): * body_len | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 452 | Signed/unsigned conversion without cast. : (int and unsigned int): sl -> flags |= sl_flags | GJB 4.6.1.9 |
M | 458 | goto detected. | GJB 4.5.1.2 |
M | 471 | Value is not of appropriate type. : (unsigned int and int): ist ( "cookie" ) , list [ ck | GJB 4.6.1.8 |
M | 473 | goto detected. | GJB 4.5.1.2 |
M | 475 | Value is not of appropriate type. : (unsigned int and int): tl = list [ ck | GJB 4.6.1.8 |
M | 482 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 483 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 483 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 483 | Value is not of appropriate type. : (unsigned int and int): ( ck = list [ ck | GJB 4.6.1.8 |
M | 484 | Value is not of appropriate type. : (unsigned int and int): vl = list [ ck | GJB 4.6.1.8 |
M | 485 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 487 | goto detected. | GJB 4.5.1.2 |
M | 490 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 491 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 492 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 492 | Value is not of appropriate type. : (unsigned int and int): htx_get_blk_ptr ( htx , blk ) + bs + 2 , list [ ck | GJB 4.6.1.8 |
M | 493 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 325 | Procedure contains UR data flow anomalies. : phdr_val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h2_prepare_htx_stsline (518 to 561 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 555 | Pointer not checked for null before use. : msgf | GJB 5.1.15 |
M | 522 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 522 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 522 | Name found with length less than 2. : u | GJB 4.8.1.1 |
M | 526 | goto detected. | GJB 4.5.1.2 |
M | 529 | goto detected. | GJB 4.5.1.2 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 542 | Signed/unsigned conversion without cast. : (unsigned char and int): h | GJB 4.6.1.9 |
M | 542 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 542 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 542 | Signed/unsigned conversion without cast. : (unsigned char and int): t | GJB 4.6.1.9 |
M | 542 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 542 | Signed/unsigned conversion without cast. : (unsigned char and int): u | GJB 4.6.1.9 |
M | 543 | goto detected. | GJB 4.5.1.2 |
M | 545 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 545 | Expression needs brackets. | GJB 5.1.2 |
M | 552 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 553 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 553 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 558 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h2_make_htx_response (581 to 709 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 619 | Pointer not checked for null before use. : ctl | GJB 5.1.15 |
M | 653 | Pointer not checked for null before use. : msgf | GJB 5.1.15 |
M | 680 | Pointer not checked for null before use. : msgf | GJB 5.1.15 |
M | 588 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 592 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 594 | Signed/unsigned conversion without cast. : (unsigned int and int): fields | GJB 4.6.1.9 |
M | 595 | Signed/unsigned conversion without cast. : (unsigned int and int): idx | GJB 4.6.1.9 |
M | 611 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 611 | Value is not of appropriate type. : (unsigned int and int): ( uint8_t ) ( list [ idx ].n.ptr [ i | GJB 4.6.1.8 |
M | 611 | Type conversion without cast. : (unsigned char and char): ( uint8_t ) ( list [ idx ].n.ptr [ i ] - 'A' ) < 'Z' | GJB 4.6.1.9 |
M | 611 | Expression needs brackets. | GJB 5.1.2 |
M | 611 | Operation not appropriate to plain char. : - used with char: 'Z' | GJB 4.1.1.15 |
M | 611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 611 | Value is not of appropriate type. : (unsigned int and int): ! HTTP_IS_TOKEN ( list [ idx ].n.ptr [ i | GJB 4.6.1.8 |
M | 612 | goto detected. | GJB 4.5.1.2 |
M | 619 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 619 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 620 | goto detected. | GJB 4.5.1.2 |
M | 622 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 622 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 624 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 627 | goto detected. | GJB 4.5.1.2 |
M | 631 | goto detected. | GJB 4.5.1.2 |
M | 634 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 635 | Value is not of appropriate type. : (unsigned int and int): phdr_val [ phdr | GJB 4.6.1.8 |
M | 640 | goto detected. | GJB 4.5.1.2 |
M | 641 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 648 | goto detected. | GJB 4.5.1.2 |
M | 655 | goto detected. | GJB 4.5.1.2 |
M | 663 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 665 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 665 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 666 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 666 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 667 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 668 | goto detected. | GJB 4.5.1.2 |
M | 671 | goto detected. | GJB 4.5.1.2 |
M | 676 | goto detected. | GJB 4.5.1.2 |
M | 682 | goto detected. | GJB 4.5.1.2 |
M | 685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 685 | Signed/unsigned conversion without cast. : (uns long long and int): * body_len | GJB 4.6.1.9 |
M | 689 | Signed/unsigned conversion without cast. : (int and unsigned int): sl -> flags |= sl_flags | GJB 4.6.1.9 |
M | 583 | Procedure contains UR data flow anomalies. : phdr_val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
h2_make_htx_trailers (725 to 774 h2.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 760 | Pointer not checked for null before use. : ctl | GJB 5.1.15 |
M | 727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 729 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 731 | Signed/unsigned conversion without cast. : (unsigned int and int): idx | GJB 4.6.1.9 |
M | 734 | goto detected. | GJB 4.5.1.2 |
M | 742 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 742 | Value is not of appropriate type. : (unsigned int and int): ( uint8_t ) ( list [ idx ].n.ptr [ i | GJB 4.6.1.8 |
M | 742 | Type conversion without cast. : (unsigned char and char): ( uint8_t ) ( list [ idx ].n.ptr [ i ] - 'A' ) < 'Z' | GJB 4.6.1.9 |
M | 742 | Expression needs brackets. | GJB 5.1.2 |
M | 742 | Operation not appropriate to plain char. : - used with char: 'Z' | GJB 4.1.1.15 |
M | 742 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 742 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 742 | Value is not of appropriate type. : (unsigned int and int): ! HTTP_IS_TOKEN ( list [ idx ].n.ptr [ i | GJB 4.6.1.8 |
M | 743 | goto detected. | GJB 4.5.1.2 |
M | 746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 749 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 749 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 752 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 752 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 754 | goto detected. | GJB 4.5.1.2 |
M | 760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 761 | goto detected. | GJB 4.5.1.2 |
M | 764 | goto detected. | GJB 4.5.1.2 |
M | 768 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (143 to 155 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 143 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
die (157 to 161 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 157 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
help (163 to 203 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 165 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 163 | Empty parameter list to procedure/function. : help | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
field_stop (233 to 245 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 233 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 235 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 238 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 239 | Type conversion without cast. : (unsigned char and char): c > ' ' | GJB 4.6.1.9 |
M | 241 | Type conversion without cast. : (unsigned char and char): c == ' ' | GJB 4.6.1.9 |
M | 241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 241 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
field_start (252 to 329 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 259 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 252 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 252 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 252 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 255 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 259 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 260 | Type conversion without cast. : (unsigned char and char): c > ' ' | GJB 4.6.1.9 |
M | 262 | Type conversion without cast. : (unsigned char and char): c == ' ' | GJB 4.6.1.9 |
M | 277 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 278 | Type conversion without cast. : (unsigned char and char): c == ' ' | GJB 4.6.1.9 |
M | 280 | Type conversion without cast. : (unsigned char and char): c > ' ' | GJB 4.6.1.9 |
M | 282 | Type conversion without cast. : (unsigned char and char): c == '\0' | GJB 4.6.1.9 |
M | 252 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quantify_u32 (332 to 348 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 332 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 347 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quantify (352 to 358 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 352 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 355 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 357 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
insert_timer (366 to 386 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 366 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 366 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 372 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
insert_value (394 to 414 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 394 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 394 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 400 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2ic (416 to 443 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 434 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 416 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 416 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 418 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 419 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 419 | Name found with length less than 2. : k | GJB 4.8.1.1 |
M | 424 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 424 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 426 | Value is not of appropriate type. : (unsigned int and int): ( unsigned ) | GJB 4.6.1.8 |
M | 426 | Signed/unsigned conversion without cast. : (unsigned int and int): ( unsigned ) j | GJB 4.6.1.9 |
M | 434 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 434 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 436 | Value is not of appropriate type. : (unsigned int and int): ( unsigned ) | GJB 4.6.1.8 |
M | 436 | Signed/unsigned conversion without cast. : (unsigned int and int): ( unsigned ) j | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__strl2ui (447 to 455 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 447 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 447 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 449 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 450 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 450 | Expression needs brackets. | GJB 5.1.2 |
M | 451 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 451 | Expression needs brackets. | GJB 5.1.2 |
M | 452 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 452 | Value is not of appropriate type. : (unsigned int and unsigned char): i += ( unsigned char | GJB 4.6.1.8 |
M | 452 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 452 | Value is not of appropriate type. : (unsigned char and char): i += ( unsigned char ) * | GJB 4.6.1.8 |
M | 452 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2ui (457 to 460 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : strl2ui | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 457 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 457 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 457 | Procedure is not called or referenced in code analysed. : strl2ui | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
convert_date (466 to 529 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 477 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 486 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 496 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 506 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 466 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 468 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 468 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 468 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 469 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 470 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 470 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 472 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 472 | Signed/unsigned conversion without cast. : (unsigned int and int): h = m = s = ms | GJB 4.6.1.9 |
M | 477 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 478 | Type conversion without cast. : (unsigned char and char): c == ':' | GJB 4.6.1.9 |
M | 481 | goto detected. | GJB 4.5.1.2 |
M | 486 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 486 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 486 | Expression needs brackets. | GJB 5.1.2 |
M | 487 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 489 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 489 | Expression needs brackets. | GJB 5.1.2 |
M | 492 | goto detected. | GJB 4.5.1.2 |
M | 496 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 496 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 496 | Expression needs brackets. | GJB 5.1.2 |
M | 497 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 499 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 499 | Expression needs brackets. | GJB 5.1.2 |
M | 502 | goto detected. | GJB 4.5.1.2 |
M | 506 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 506 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 506 | Expression needs brackets. | GJB 5.1.2 |
M | 507 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 509 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 509 | Expression needs brackets. | GJB 5.1.2 |
M | 512 | goto detected. | GJB 4.5.1.2 |
M | 518 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 518 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 518 | Expression needs brackets. | GJB 5.1.2 |
M | 519 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 521 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 521 | Expression needs brackets. | GJB 5.1.2 |
M | 524 | goto detected. | GJB 4.5.1.2 |
M | 526 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 526 | Expression needs brackets. | GJB 5.1.2 |
M | 526 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 469 | Procedure contains UR data flow anomalies. : c |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
convert_date_to_timestamp (535 to 677 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 547 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 603 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 666 | Pointer not checked for null before use. : timeinfo | GJB 5.1.15 |
M | 550 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 559 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 591 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 597 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 627 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 637 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 647 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 617 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 535 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 537 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 537 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 537 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 537 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 537 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 538 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 539 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 544 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 544 | Signed/unsigned conversion without cast. : (unsigned int and int): d = mo = y = h = m = s | GJB 4.6.1.9 |
M | 547 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 550 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 550 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 550 | Expression needs brackets. | GJB 5.1.2 |
M | 551 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 553 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 553 | Expression needs brackets. | GJB 5.1.2 |
M | 555 | goto detected. | GJB 4.5.1.2 |
M | 559 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 560 | Type conversion without cast. : (unsigned char and char): c == 'F' | GJB 4.6.1.9 |
M | 563 | Type conversion without cast. : (unsigned char and char): c == 'S' | GJB 4.6.1.9 |
M | 566 | Type conversion without cast. : (unsigned char and char): c == 'O' | GJB 4.6.1.9 |
M | 569 | Type conversion without cast. : (unsigned char and char): c == 'N' | GJB 4.6.1.9 |
M | 572 | Type conversion without cast. : (unsigned char and char): c == 'D' | GJB 4.6.1.9 |
M | 575 | Type conversion without cast. : (unsigned char and char): c == 'A' | GJB 4.6.1.9 |
M | 576 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 577 | Type conversion without cast. : (unsigned char and char): c == 'p' | GJB 4.6.1.9 |
M | 580 | Type conversion without cast. : (unsigned char and char): c == 'u' | GJB 4.6.1.9 |
M | 584 | goto detected. | GJB 4.5.1.2 |
M | 585 | Type conversion without cast. : (unsigned char and char): c == 'J' | GJB 4.6.1.9 |
M | 586 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 587 | Type conversion without cast. : (unsigned char and char): c == 'a' | GJB 4.6.1.9 |
M | 590 | Type conversion without cast. : (unsigned char and char): c == 'u' | GJB 4.6.1.9 |
M | 591 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 592 | Type conversion without cast. : (unsigned char and char): c == 'n' | GJB 4.6.1.9 |
M | 595 | Type conversion without cast. : (unsigned char and char): c == 'l' | GJB 4.6.1.9 |
M | 598 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 600 | goto detected. | GJB 4.5.1.2 |
M | 601 | Type conversion without cast. : (unsigned char and char): c == 'M' | GJB 4.6.1.9 |
M | 603 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 604 | Type conversion without cast. : (unsigned char and char): c == 'r' | GJB 4.6.1.9 |
M | 607 | Type conversion without cast. : (unsigned char and char): c == 'y' | GJB 4.6.1.9 |
M | 611 | goto detected. | GJB 4.5.1.2 |
M | 613 | goto detected. | GJB 4.5.1.2 |
M | 617 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 617 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 617 | Expression needs brackets. | GJB 5.1.2 |
M | 618 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 620 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 620 | Expression needs brackets. | GJB 5.1.2 |
M | 622 | goto detected. | GJB 4.5.1.2 |
M | 627 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 627 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 627 | Expression needs brackets. | GJB 5.1.2 |
M | 628 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 630 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 630 | Expression needs brackets. | GJB 5.1.2 |
M | 633 | goto detected. | GJB 4.5.1.2 |
M | 637 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 637 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 637 | Expression needs brackets. | GJB 5.1.2 |
M | 638 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 640 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 640 | Expression needs brackets. | GJB 5.1.2 |
M | 643 | goto detected. | GJB 4.5.1.2 |
M | 647 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 647 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 647 | Expression needs brackets. | GJB 5.1.2 |
M | 648 | Signed/unsigned conversion without cast. : (unsigned char and int): c | GJB 4.6.1.9 |
M | 650 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 650 | Expression needs brackets. | GJB 5.1.2 |
M | 654 | Value is not of appropriate type. : (unsigned int and int): ( unsigned ) timeinfo -> | GJB 4.6.1.8 |
M | 654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 655 | Value is not of appropriate type. : (unsigned int and int): ) timeinfo -> | GJB 4.6.1.8 |
M | 655 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 656 | Value is not of appropriate type. : (unsigned int and int): ) timeinfo -> | GJB 4.6.1.8 |
M | 656 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 657 | Value is not of appropriate type. : (unsigned int and int): ) timeinfo -> | GJB 4.6.1.8 |
M | 657 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 657 | Expression needs brackets. | GJB 5.1.2 |
M | 657 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 658 | Value is not of appropriate type. : (unsigned int and int): ) timeinfo -> | GJB 4.6.1.8 |
M | 658 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 658 | Expression needs brackets. | GJB 5.1.2 |
M | 659 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 667 | Signed/unsigned conversion without cast. : (int and unsigned int): timeinfo -> tm_min = m | GJB 4.6.1.9 |
M | 668 | Signed/unsigned conversion without cast. : (int and unsigned int): timeinfo -> tm_hour = h | GJB 4.6.1.9 |
M | 669 | Signed/unsigned conversion without cast. : (int and unsigned int): timeinfo -> tm_mday = d | GJB 4.6.1.9 |
M | 670 | Signed/unsigned conversion without cast. : (int and unsigned int): timeinfo -> tm_mon = mo | GJB 4.6.1.9 |
M | 670 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 671 | Signed/unsigned conversion without cast. : (int and unsigned int): timeinfo -> tm_year = y | GJB 4.6.1.9 |
M | 671 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 672 | Signed/unsigned conversion without cast. : (int and unsigned int): last_res = mktime | GJB 4.6.1.9 |
M | 674 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
truncated_line (679 to 683 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 679 | Parameter has same name as global variable. : linenum | GJB 4.15.1.3 |
M | 679 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 679 | Parameter has same name as global variable. : line |
GJB 4.15.1.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (685 to 1314 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 694 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1243 | Name redeclared in another C name space (MR). : node | GJB 4.1.1.16 |
M | 713 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 719 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 725 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 731 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 736 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 741 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 793 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 809 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 911 | Pointer not checked for null before use. : source_field | GJB 5.1.15 |
M | 936 | Pointer not checked for null before use. : time_field | GJB 5.1.15 |
M | 960 | Pointer not checked for null before use. : time_field | GJB 5.1.15 |
M | 1129 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1160 | Pointer not checked for null before use. : n | GJB 5.1.15 |
M | 1195 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1235 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1291 | Pointer not checked for null before use. : ustat | GJB 5.1.15 |
M | 937 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 1064 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 996 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1016 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1033 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1045 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 978 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 916 | Pointer not checked for null before use. : accept_field | GJB 5.1.15 |
M | 1043 | Pointer not checked for null before use. : accept_field | GJB 5.1.15 |
M | 959 | Pointer not checked for null before use. : accept_field | GJB 5.1.15 |
M | 1014 | Pointer not checked for null before use. : accept_field | GJB 5.1.15 |
M | 1064 | Pointer not checked for null before use. : accept_field | GJB 5.1.15 |
M | 994 | Pointer not checked for null before use. : accept_field | GJB 5.1.15 |
M | 1062 | Pointer not checked for null before use. : source_field | GJB 5.1.15 |
M | 1103 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1107 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1258 | Pointer not checked for null before use. : ustat | GJB 5.1.15 |
M | 1260 | Pointer not checked for null before use. : ustat | GJB 5.1.15 |
M | 799 | Pointer not checked for null before use. : sep | GJB 5.1.15 |
M | 1171 | Pointer not checked for null before use. : n | GJB 5.1.15 |
M | 1216 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 685 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 687 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 687 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 687 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 688 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 689 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 690 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 702 | Procedure pointer declared. | GJB 4.4.1.3 |
M | 702 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 702 | Parameter has same name as global variable. : accept_field | GJB 4.15.1.3 |
M | 702 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 702 | Parameter has same name as global variable. : time_field | GJB 4.15.1.3 |
M | 713 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 713 | Signed/unsigned conversion without cast. : (unsigned int and long): filter_acc_delay = atol | GJB 4.6.1.9 |
M | 719 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 719 | Signed/unsigned conversion without cast. : (unsigned int and long): filter_acc_count = atol | GJB 4.6.1.9 |
M | 725 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 731 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 736 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 741 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 784 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 797 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 798 | Type conversion without cast. : (int and char): filt_http_status_low = *str | GJB 4.6.1.9 |
M | 798 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 799 | Type conversion without cast. : (int and char): filt_http_status_high = *sep | GJB 4.6.1.9 |
M | 799 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 802 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 810 | Type conversion without cast. : (unsigned int and char): filt2_timestamp_low = *str | GJB 4.6.1.9 |
M | 810 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 812 | Signed/unsigned conversion without cast. : (unsigned int and int): filt2_timestamp_high | GJB 4.6.1.9 |
M | 814 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 814 | Signed/unsigned conversion without cast. : (unsigned int and long): filt2_timestamp_high = atol | GJB 4.6.1.9 |
M | 814 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 835 | Signed/unsigned conversion without cast. : (unsigned int and int): filter | GJB 4.6.1.9 |
M | 843 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 843 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 844 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 852 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 852 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 855 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 855 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 873 | Numeric overflow. | GJB 4.6.1.14 |
M | 876 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 888 | Numeric overflow. | GJB 4.6.1.14 |
M | 892 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 892 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 892 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 893 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 895 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 898 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 898 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 911 | Expression needs brackets. | GJB 5.1.2 |
M | 922 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 922 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 922 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 922 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 928 | Signed/unsigned conversion without cast. : (unsigned int and int): convert_date_to_timestamp | GJB 4.6.1.9 |
M | 929 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 929 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 935 | Expression needs brackets. | GJB 5.1.2 |
M | 946 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * p | GJB 4.6.1.8 |
M | 946 | Type conversion without cast. : (unsigned char and char): ( unsigned char ) ( * p ) <= ' ' | GJB 4.6.1.9 |
M | 947 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 947 | Expression needs brackets. | GJB 5.1.2 |
M | 949 | Value is not of appropriate type. : (int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 949 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 949 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 949 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 949 | Type conversion without cast. : (int and char): __c == '/' | GJB 4.6.1.9 |
M | 949 | Type conversion without cast. : (int and char): __c <= ' ' | GJB 4.6.1.9 |
M | 959 | Expression needs brackets. | GJB 5.1.2 |
M | 971 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * p | GJB 4.6.1.8 |
M | 971 | Type conversion without cast. : (unsigned char and char): ( unsigned char ) ( * p ) <= ' ' | GJB 4.6.1.9 |
M | 976 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 976 | Expression needs brackets. | GJB 5.1.2 |
M | 978 | Value is not of appropriate type. : (int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 978 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 978 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 978 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 978 | Type conversion without cast. : (int and char): __c == '/' | GJB 4.6.1.9 |
M | 978 | Type conversion without cast. : (int and char): __c <= ' ' | GJB 4.6.1.9 |
M | 986 | Bit operator with boolean operand. : ^ used with bool: test | GJB 4.6.1.17,4.6.1.18 |
M | 986 | Expression needs brackets. | GJB 5.1.2 |
M | 992 | Expression needs brackets. | GJB 5.1.2 |
M | 994 | Expression needs brackets. | GJB 5.1.2 |
M | 1003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1003 | Bit operator with boolean operand. : ^ used with bool: test | GJB 4.6.1.17,4.6.1.18 |
M | 1003 | Expression needs brackets. | GJB 5.1.2 |
M | 1006 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1006 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1006 | Bit operator with boolean operand. : ^ used with bool: test | GJB 4.6.1.17,4.6.1.18 |
M | 1006 | Expression needs brackets. | GJB 5.1.2 |
M | 1012 | Expression needs brackets. | GJB 5.1.2 |
M | 1014 | Expression needs brackets. | GJB 5.1.2 |
M | 1033 | Operation not appropriate to plain char. : - used with char: b | GJB 4.1.1.15 |
M | 1033 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * b - '1' | GJB 4.6.1.8 |
M | 1041 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1043 | Expression needs brackets. | GJB 5.1.2 |
M | 1050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1050 | Bit operator with boolean operand. : ^ used with bool: test | GJB 4.6.1.17,4.6.1.18 |
M | 1050 | Expression needs brackets. | GJB 5.1.2 |
M | 1054 | Signed/unsigned conversion without cast. : (int and unsigned int): test ^= filter_invert | GJB 4.6.1.9 |
M | 1068 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1068 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1079 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1096 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 1096 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 1096 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 1096 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1100 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1101 | Signed/unsigned conversion without cast. : (int and unsigned int): last = h | GJB 4.6.1.9 |
M | 1103 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1103 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1104 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1105 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1106 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1118 | Name reused in inner scope. : n | GJB 4.15.1.2,4.15.1.5 |
M | 1119 | Name reused in inner scope. : val | GJB 4.15.1.2,4.15.1.5 |
M | 1122 | Value is not of appropriate type. : (unsigned int and int): n = eb32_first ( & timers [ f | GJB 4.6.1.8 |
M | 1124 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1125 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 1135 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1135 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 1151 | Name reused in inner scope. : n | GJB 4.15.1.2,4.15.1.5 |
M | 1156 | goto detected. | GJB 4.5.1.2 |
M | 1159 | Value is not of appropriate type. : (unsigned int and int): n [ f | GJB 4.6.1.8 |
M | 1159 | Value is not of appropriate type. : (unsigned int and int): n [ f ] = eb32_first ( & timers [ f | GJB 4.6.1.8 |
M | 1160 | Value is not of appropriate type. : (unsigned int and int): cum [ f | GJB 4.6.1.8 |
M | 1160 | Value is not of appropriate type. : (unsigned int and int): cum [ f ] = container_of ( n [ f | GJB 4.6.1.8 |
M | 1163 | Unsuitable type for loop variable. : double | GJB 4.11.1.1 |
M | 1163 | Equality comparison of floating point. | GJB 4.14.1.1 |
M | 1163 | Unsuitable type for loop variable. : double | GJB 4.11.1.1 |
M | 1164 | Signed/unsigned conversion without cast. : (unsigned int and int): lines_out | GJB 4.6.1.9 |
M | 1164 | Float/integer conversion without cast. : (int and double): lines_out * ( step | GJB 4.6.2.3 |
M | 1169 | Value is not of appropriate type. : (unsigned int and int): cum [ f | GJB 4.6.1.8 |
M | 1171 | Value is not of appropriate type. : (unsigned int and int): next = eb32_next ( n [ f | GJB 4.6.1.8 |
M | 1174 | Value is not of appropriate type. : (unsigned int and int): n [ f | GJB 4.6.1.8 |
M | 1175 | Value is not of appropriate type. : (unsigned int and int): cum [ f | GJB 4.6.1.8 |
M | 1175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1179 | Value is not of appropriate type. : (unsigned int and int): printf ( "%d " , n [ f | GJB 4.6.1.8 |
M | 1182 | Equality comparison of floating point. | GJB 4.14.1.1 |
M | 1182 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1182 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1184 | Equality comparison of floating point. | GJB 4.14.1.1 |
M | 1184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1197 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1197 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1216 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1216 | Value is not of appropriate type. : (unsigned int and int): tot_rq += srv -> st_cnt [ f | GJB 4.6.1.8 |
M | 1222 | Expression needs brackets. | GJB 5.1.2 |
M | 1223 | Value is not of appropriate type. : (int and unsigned int) | GJB 4.6.1.8 |
M | 1223 | Value is not of appropriate type. : (int and unsigned int) | GJB 4.6.1.8 |
M | 1226 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1226 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1235 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1242 | Numeric overflow. | GJB 4.6.1.14 |
M | 1264 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1268 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1268 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1268 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1270 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1295 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1297 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1297 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1297 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1298 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1307 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1314 | Memory not freed after last reference. : t | GJB 5.1.17 |
M | 690 | Procedure contains UR data flow anomalies. : last | GJB 4.13.1.4 |
M | 901 | Procedure contains UR data flow anomalies. : source_field | GJB 4.13.1.4 |
M | 900 | Procedure contains UR data flow anomalies. : time_field | GJB 4.13.1.4 |
M | 955 | Procedure contains UR data flow anomalies. : tps |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_output_line (1316 to 1320 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_output_line | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1316 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1316 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1316 | Procedure is not called or referenced in code analysed. : filter_output_line | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_accept_holes (1322 to 1336 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_accept_holes | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1325 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1334 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1322 | Procedure is not called or referenced in code analysed. : filter_accept_holes | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_count_status (1338 to 1358 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_count_status | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1342 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1357 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1349 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1341 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1341 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 1345 | Expression needs brackets. | GJB 5.1.2 |
M | 1347 | Expression needs brackets. | GJB 5.1.2 |
M | 1338 | Procedure is not called or referenced in code analysed. : filter_count_status | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_count_cook_codes (1360 to 1380 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_count_cook_codes | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1364 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1379 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1371 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1360 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1360 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1363 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 1367 | Expression needs brackets. | GJB 5.1.2 |
M | 1369 | Expression needs brackets. | GJB 5.1.2 |
M | 1376 | Expression needs brackets. | GJB 5.1.2 |
M | 1376 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1360 | Procedure is not called or referenced in code analysed. : filter_count_cook_codes | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_count_term_codes (1382 to 1402 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_count_term_codes | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1386 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1401 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1393 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1385 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1385 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 1389 | Expression needs brackets. | GJB 5.1.2 |
M | 1391 | Expression needs brackets. | GJB 5.1.2 |
M | 1398 | Expression needs brackets. | GJB 5.1.2 |
M | 1398 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1382 | Procedure is not called or referenced in code analysed. : filter_count_term_codes | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_count_srv_status (1404 to 1497 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_count_srv_status | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1410 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1416 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1426 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1432 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1433 | Pointer not checked for null before use. : srv_node | GJB 5.1.15 |
M | 1441 | Pointer not checked for null before use. : time_field | GJB 5.1.15 |
M | 1487 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1486 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1461 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1471 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1406 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1406 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 1406 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 1406 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1407 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 1415 | Expression needs brackets. | GJB 5.1.2 |
M | 1431 | Value is not of appropriate type. : (srv_st* and void*): srv = ( void * | GJB 4.6.1.8 |
M | 1431 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1431 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1431 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1431 | Expression needs brackets. | GJB 5.1.2 |
M | 1434 | Type conversion without cast. : (int and char): srv_node -> key [ e - b ] = '\0' | GJB 4.6.1.9 |
M | 1453 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * p | GJB 4.6.1.8 |
M | 1453 | Type conversion without cast. : (unsigned char and char): ( unsigned char ) ( * p ) <= ' ' | GJB 4.6.1.9 |
M | 1454 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1455 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1456 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1459 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1459 | Expression needs brackets. | GJB 5.1.2 |
M | 1461 | Value is not of appropriate type. : (int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 1461 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1461 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 1461 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1461 | Type conversion without cast. : (int and char): __c == '/' | GJB 4.6.1.9 |
M | 1461 | Type conversion without cast. : (int and char): __c <= ' ' | GJB 4.6.1.9 |
M | 1474 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1474 | Signed/unsigned conversion without cast. : (uns long long and int): srv -> cum_ct += array | GJB 4.6.1.9 |
M | 1479 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1479 | Signed/unsigned conversion without cast. : (uns long long and int): srv -> cum_rt += array | GJB 4.6.1.9 |
M | 1493 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1493 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1494 | Type conversion without cast. : (int and char): val = *b | GJB 4.6.1.9 |
M | 1496 | Value is not of appropriate type. : (unsigned int and int): srv -> st_cnt [ val | GJB 4.6.1.8 |
M | 1497 | Memory not freed after last reference. : srv | GJB 5.1.17 |
M | 1407 | Procedure contains UR data flow anomalies. : array | GJB 4.13.1.4 |
M | 1404 | Procedure is not called or referenced in code analysed. : filter_count_srv_status | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_count_url (1499 to 1607 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1505 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1510 | Pointer not checked for null before use. : time_field | GJB 5.1.15 |
M | 1558 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1598 | Pointer not checked for null before use. : ustat_old | GJB 5.1.15 |
M | 1542 | Pointer not checked for null before use. : ustat | GJB 5.1.15 |
M | 1528 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1583 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1549 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1499 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1499 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1503 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1503 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 1503 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 1504 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 1509 | Expression needs brackets. | GJB 5.1.2 |
M | 1520 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * e | GJB 4.6.1.8 |
M | 1520 | Type conversion without cast. : (unsigned char and char): ( unsigned char ) ( * e ) <= ' ' | GJB 4.6.1.9 |
M | 1521 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1522 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1523 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1526 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1526 | Expression needs brackets. | GJB 5.1.2 |
M | 1528 | Value is not of appropriate type. : (int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 1528 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1528 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 1528 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1528 | Type conversion without cast. : (int and char): __c == '/' | GJB 4.6.1.9 |
M | 1528 | Type conversion without cast. : (int and char): __c <= ' ' | GJB 4.6.1.9 |
M | 1540 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1542 | Signed/unsigned conversion without cast. : (unsigned int and int): ustat -> nb_err = err | GJB 4.6.1.9 |
M | 1549 | Expression needs brackets. | GJB 5.1.2 |
M | 1551 | Signed/unsigned conversion without cast. : (uns long long and int): ustat -> total_bytes_sent = val | GJB 4.6.1.9 |
M | 1558 | Expression needs brackets. | GJB 5.1.2 |
M | 1559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1568 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1572 | Expression needs brackets. | GJB 5.1.2 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1580 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1580 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1591 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1591 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1599 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1600 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1601 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1602 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1604 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1607 | Memory not freed after last reference. : ustat | GJB 5.1.17 |
M | 1504 | Procedure contains UR data flow anomalies. : array |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_count_ip (1609 to 1696 halog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1615 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 1620 | Pointer not checked for null before use. : time_field | GJB 5.1.15 |
M | 1669 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 1687 | Pointer not checked for null before use. : ustat_old | GJB 5.1.15 |
M | 1654 | Pointer not checked for null before use. : ustat | GJB 5.1.15 |
M | 1640 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1661 | Pointer not checked for null before use. : e | GJB 5.1.15 |
M | 1609 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1609 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1609 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1613 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1613 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 1613 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 1614 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 1619 | Expression needs brackets. | GJB 5.1.2 |
M | 1630 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * e | GJB 4.6.1.8 |
M | 1630 | Type conversion without cast. : (unsigned char and char): ( unsigned char ) ( * e ) <= ' ' | GJB 4.6.1.9 |
M | 1631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1632 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1633 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1634 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1638 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1638 | Expression needs brackets. | GJB 5.1.2 |
M | 1640 | Value is not of appropriate type. : (int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 1640 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1640 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 1640 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1640 | Type conversion without cast. : (int and char): __c == '/' | GJB 4.6.1.9 |
M | 1640 | Type conversion without cast. : (int and char): __c <= ' ' | GJB 4.6.1.9 |
M | 1652 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1654 | Signed/unsigned conversion without cast. : (unsigned int and int): ustat -> nb_err = err | GJB 4.6.1.9 |
M | 1661 | Expression needs brackets. | GJB 5.1.2 |
M | 1663 | Signed/unsigned conversion without cast. : (uns long long and int): ustat -> total_bytes_sent = val | GJB 4.6.1.9 |
M | 1670 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1670 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1670 | Array bound exceeded. : e[*]; accessed=-1 | GJB 4.6.1.2 |
M | 1670 | Value is not of appropriate type. : (unsigned int and signed char): e [ - 1 | GJB 4.6.1.8 |
M | 1671 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1672 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1672 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1680 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1680 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1688 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1689 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1690 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1691 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1693 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1696 | Memory not freed after last reference. : ustat | GJB 5.1.17 |
M | 1614 | Procedure contains UR data flow anomalies. : array |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_graphs (1698 to 1783 halog.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : filter_graphs | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1706 | Pointer not checked for null before use. : time_field | GJB 5.1.15 |
M | 1747 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1751 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1752 | Pointer not checked for null before use. : tptr | GJB 5.1.15 |
M | 1752 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1753 | Pointer not checked for null before use. : tptr | GJB 5.1.15 |
M | 1753 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1759 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1767 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1771 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1772 | Pointer not checked for null before use. : tptr | GJB 5.1.15 |
M | 1772 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1773 | Pointer not checked for null before use. : tptr | GJB 5.1.15 |
M | 1773 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1779 | Pointer not checked for null before use. : t2 | GJB 5.1.15 |
M | 1759 | Pointer not checked for null before use. : tptr | GJB 5.1.15 |
M | 1779 | Pointer not checked for null before use. : tptr | GJB 5.1.15 |
M | 1726 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1698 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1698 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1701 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1701 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1702 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 1705 | Expression needs brackets. | GJB 5.1.2 |
M | 1718 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * p | GJB 4.6.1.8 |
M | 1718 | Type conversion without cast. : (unsigned char and char): ( unsigned char ) ( * p ) <= ' ' | GJB 4.6.1.9 |
M | 1719 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1720 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1721 | Value is not of appropriate type. : (unsigned int and int): array [ f | GJB 4.6.1.8 |
M | 1724 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1724 | Expression needs brackets. | GJB 5.1.2 |
M | 1726 | Value is not of appropriate type. : (int and unsigned char): ( unsigned char | GJB 4.6.1.8 |
M | 1726 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1726 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) * | GJB 4.6.1.8 |
M | 1726 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1726 | Type conversion without cast. : (int and char): __c == '/' | GJB 4.6.1.9 |
M | 1726 | Type conversion without cast. : (int and char): __c <= ' ' | GJB 4.6.1.9 |
M | 1749 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 1756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1769 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 1776 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1702 | Procedure contains UR data flow anomalies. : array | GJB 4.13.1.4 |
M | 1698 | Procedure is not called or referenced in code analysed. : filter_graphs | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_build_opts (417 to 429 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_build_opts | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 417 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 421 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 429 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 417 | Procedure is not called or referenced in code analysed. : hap_register_build_opts | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_post_check (432 to 443 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_post_check | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 436 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 443 | Memory not freed after last reference. : b |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_post_proxy_check (448 to 459 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_post_proxy_check | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 452 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 459 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 448 | Procedure is not called or referenced in code analysed. : hap_register_post_proxy_check | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_post_server_check (464 to 475 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_post_server_check | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 468 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 475 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 464 | Procedure is not called or referenced in code analysed. : hap_register_post_server_check | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_post_deinit (480 to 491 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_post_deinit | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 484 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 491 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 480 | Procedure is not called or referenced in code analysed. : hap_register_post_deinit | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_proxy_deinit (496 to 507 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_proxy_deinit | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 500 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 507 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 496 | Procedure is not called or referenced in code analysed. : hap_register_proxy_deinit | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_server_deinit (513 to 524 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_server_deinit | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 517 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 524 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 513 | Procedure is not called or referenced in code analysed. : hap_register_server_deinit | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_per_thread_alloc (527 to 538 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_per_thread_alloc | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 531 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 538 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 527 | Procedure is not called or referenced in code analysed. : hap_register_per_thread_alloc | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_per_thread_init (541 to 552 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_per_thread_init | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 545 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 552 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 541 | Procedure is not called or referenced in code analysed. : hap_register_per_thread_init | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_per_thread_deinit (555 to 566 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_per_thread_deinit | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 559 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 566 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 555 | Procedure is not called or referenced in code analysed. : hap_register_per_thread_deinit | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hap_register_per_thread_free (569 to 580 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : hap_register_per_thread_free | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 573 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 580 | Memory not freed after last reference. : b | GJB 5.1.17 |
M | 569 | Procedure is not called or referenced in code analysed. : hap_register_per_thread_free | GJB 4.7.1.2 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
display_version (582 to 614 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 582 | Empty parameter list to procedure/function. : display_version | GJB 4.1.1.10 |
M | 591 | Value is not of appropriate type. : (int and char): strlen ( PRODUCT_URL_BUGS | GJB 4.6.1.8 |
M | 592 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 594 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 600 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 600 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 601 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 604 | Expression needs brackets. | GJB 5.1.2 |
M | 592 | Procedure contains UR data flow anomalies. : base_version |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
display_build_opts (616 to 661 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 616 | Empty parameter list to procedure/function. : display_build_opts | GJB 4.1.1.10 |
M | 618 | Procedure contains UR data flow anomalies. : item |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (666 to 719 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 666 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tell_old_pids (730 to 738 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 732 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 735 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 735 | Value is not of appropriate type. : (unsigned int and int): kill ( oldpids [ p | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
delete_oldpid (745 to 758 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : delete_oldpid | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 745 | Parameter has same name as global variable. : pid | GJB 4.15.1.3 |
M | 747 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 750 | Value is not of appropriate type. : (unsigned int and int): oldpids [ i | GJB 4.6.1.8 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): oldpids [ i | GJB 4.6.1.8 |
M | 751 | Array bound exceeded. : oldpids[*]; accessed=-1 | GJB 4.6.1.2 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): oldpids [ i ] = oldpids [ nb_oldpids - 1 | GJB 4.6.1.8 |
M | 752 | Array bound exceeded. : oldpids[*]; accessed=-1 | GJB 4.6.1.2 |
M | 752 | Value is not of appropriate type. : (unsigned int and int): oldpids [ nb_oldpids - 1 | GJB 4.6.1.8 |
M | 745 | Procedure is not called or referenced in code analysed. : delete_oldpid | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_cur_unixsocket (761 to 794 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 780 | Pointer not checked for null before use. : un | GJB 5.1.15 |
M | 782 | Pointer not checked for null before use. : un | GJB 5.1.15 |
M | 761 | Empty parameter list to procedure/function. : get_cur_unixsocket | GJB 4.1.1.10 |
M | 773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 783 | free used on string. | GJB 5.1.19 |
M | 765 | Procedure contains UR data flow anomalies. : bind_conf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_reload (800 to 901 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 867 | Pointer not checked for null before use. : next_argv | GJB 5.1.15 |
M | 889 | Pointer not checked for null before use. : next_argv | GJB 5.1.15 |
M | 800 | Empty parameter list to procedure/function. : mworker_reload | GJB 4.1.1.10 |
M | 802 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 805 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 806 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 826 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 849 | Value is not of appropriate type. : (unsigned int and int): old_argv [ old_argc | GJB 4.6.1.8 |
M | 850 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 853 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 856 | goto detected. | GJB 4.5.1.2 |
M | 859 | Modification of string literal. : next_argv | GJB 5.1.19 |
M | 859 | Value is not of appropriate type. : (unsigned int and int): next_argv [ next_argc ++ | GJB 4.6.1.8 |
M | 867 | Modification of string literal. : next_argv | GJB 5.1.19 |
M | 867 | Value is not of appropriate type. : (unsigned int and int): next_argv [ next_argc ++ | GJB 4.6.1.8 |
M | 870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 872 | Modification of string literal. : next_argv | GJB 5.1.19 |
M | 872 | Value is not of appropriate type. : (unsigned int and int): ( next_argv [ next_argc ++ | GJB 4.6.1.8 |
M | 872 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 872 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 873 | goto detected. | GJB 4.5.1.2 |
M | 879 | Modification of string literal. : next_argv | GJB 5.1.19 |
M | 879 | Value is not of appropriate type. : (unsigned int and int): next_argv [ next_argc ++ | GJB 4.6.1.8 |
M | 880 | Modification of string literal. : next_argv | GJB 5.1.19 |
M | 880 | Value is not of appropriate type. : (unsigned int and int): next_argv [ next_argc ++ | GJB 4.6.1.8 |
M | 880 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 880 | Value is not of appropriate type. : (char and char*): next_argv [ next_argc ++ ] = ( char * | GJB 4.6.1.8 |
M | 880 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 885 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 885 | Modification of string literal. : next_argv | GJB 5.1.19 |
M | 885 | Value is not of appropriate type. : (unsigned int and int): next_argv [ next_argc ++ | GJB 4.6.1.8 |
M | 885 | Value is not of appropriate type. : (unsigned int and int): next_argv [ next_argc ++ ] = old_argv [ i | GJB 4.6.1.8 |
M | 888 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 891 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 891 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 892 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 896 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 897 | free used on string. | GJB 5.1.19 |
M | 901 | Memory not freed after last reference. : (srule)-> | GJB 5.1.17 |
M | 901 | Memory not freed after last reference. : (rule)-> | GJB 5.1.17 |
M | 901 | Memory not freed after last reference. : (lf)-> | GJB 5.1.17 |
M | 865 | Procedure contains UR data flow anomalies. : child | GJB 4.13.1.4 |
M | 808 | Procedure contains UR data flow anomalies. : ptdf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_loop (903 to 953 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 903 | Empty parameter list to procedure/function. : mworker_loop | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
reexec_on_failure (958 to 967 haproxy.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : reexec_on_failure | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 958 | Empty parameter list to procedure/function. : reexec_on_failure | GJB 4.1.1.10 |
M | 958 | Procedure is not called or referenced in code analysed. : reexec_on_failure | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sig_soft_stop (975 to 980 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 975 | Static procedure is not explicitly called in code analysed. : sig_soft_stop | GJB 4.7.1.3 |
M | 975 | Procedure is not called or referenced in code analysed. : sig_soft_stop | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sig_pause (985 to 994 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 985 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 985 | Procedure is not called or referenced in code analysed. : sig_pause | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sig_listen (999 to 1006 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 999 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 999 | Procedure is not called or referenced in code analysed. : sig_listen | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sig_dump_state (1011 to 1055 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1011 | Static procedure is not explicitly called in code analysed. : sig_dump_state | GJB 4.7.1.3 |
M | 1011 | Procedure is not called or referenced in code analysed. : sig_dump_state | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump (1057 to 1062 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1057 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 1057 | Procedure is not called or referenced in code analysed. : dump | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stdio_quiet (1071 to 1091 haproxy.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfgfiles_expand_directories (1101 to 1185 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1180 | Pointer not checked for null before use. : (wl)->s | GJB 5.1.15 |
M | 1104 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1112 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1113 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1115 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1126 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1128 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1134 | Value is not of appropriate type. : (unsigned int and int): dir_entries [ dir_entries_it | GJB 4.6.1.8 |
M | 1135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1136 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1141 | Type conversion without cast. : (int and char): dir_entry -> d_name [ 0 ] == '.' | GJB 4.6.1.9 |
M | 1141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1142 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1143 | goto detected. | GJB 4.5.1.2 |
M | 1152 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1154 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1162 | goto detected. | GJB 4.5.1.2 |
M | 1171 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1172 | free used on string. | GJB 5.1.19 |
M | 1173 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1176 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1179 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1181 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1184 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1184 | free used on string. | GJB 5.1.19 |
M | 1185 | Memory not freed after last reference. : err | GJB 5.1.17 |
M | 1182 | Memory not freed after last reference. : dir_entries |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
copy_argv (1193 to 1292 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1255 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 1272 | Pointer not checked for null before use. : newargv | GJB 5.1.15 |
M | 1225 | Pointer not checked for null before use. : newargv | GJB 5.1.15 |
M | 1211 | Pointer not checked for null before use. : newargv | GJB 5.1.15 |
M | 1193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1197 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1211 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1215 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1217 | Value is not of appropriate type. : (char and signed char): flag = *argv | GJB 4.6.1.8 |
M | 1219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1219 | Value is not of appropriate type. : (char and signed char): flag [ 1 ] == 0 | GJB 4.6.1.8 |
M | 1221 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1225 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1260 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1268 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1271 | goto detected. | GJB 4.5.1.2 |
M | 1272 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1279 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1287 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1289 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1290 | free used on string. | GJB 5.1.19 |
M | 1292 | Memory not freed after last reference. : newargv | GJB 5.1.17 |
M | 1292 | Memory not freed after last reference. : (xfer_sock_list)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_random_boot (1311 to 1381 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1324 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1327 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1328 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1353 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1357 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1357 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1361 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1372 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1335 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1347 | Pointer not checked for null before use. : m | GJB 5.1.15 |
M | 1311 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1314 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 1317 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 1319 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1352 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1356 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1368 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1368 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1368 | Expression needs brackets. | GJB 5.1.2 |
M | 1313 | Procedure contains UR data flow anomalies. : message |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
compute_ideal_maxpipes (1390 to 1428 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1390 | Empty parameter list to procedure/function. : compute_ideal_maxpipes | GJB 4.1.1.10 |
M | 1421 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1425 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1427 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
compute_ideal_maxconn (1439 to 1485 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1439 | Empty parameter list to procedure/function. : compute_ideal_maxconn | GJB 4.1.1.10 |
M | 1441 | Expression needs brackets. | GJB 5.1.2 |
M | 1468 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1468 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1468 | Expression needs brackets. | GJB 5.1.2 |
M | 1476 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
compute_ideal_maxsock (1492 to 1518 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1513 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_if_maxsock_permitted (1528 to 1548 haproxy.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init (1555 to 2426 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1782 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 1989 | Pointer not checked for null before use. : (c)->s | GJB 5.1.15 |
M | 1805 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 1835 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 1614 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 1849 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 1654 | Pointer not checked for null before use. : progname | GJB 5.1.15 |
M | 1789 | Pointer not checked for null before use. : endptr | GJB 5.1.15 |
M | 1889 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 1555 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1558 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1559 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1561 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1564 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1586 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1588 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1588 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1595 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 1596 | Bit operator with boolean operand. : |= used with bool: global.mode | GJB 4.6.1.17,4.6.1.18 |
M | 1596 | Bit operator with boolean operand. : |= used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1602 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1654 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1654 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1655 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1667 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1670 | Value is not of appropriate type. : (char and signed char): flag = *argv | GJB 4.6.1.8 |
M | 1707 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1707 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1711 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1711 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1713 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1713 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1715 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1715 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1717 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1717 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1718 | Bit operator with boolean operand. : |= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 1718 | Bit operator with boolean operand. : |= used with bool: GTUNE_RESOLVE_DONTFAIL | GJB 4.6.1.17,4.6.1.18 |
M | 1725 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1725 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1726 | Bit operator with boolean operand. : |= used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1726 | Type conversion without cast. : (int and bool): arg_mode |= MODE_MWORKER | GJB 4.6.1.9 |
M | 1726 | Bit operator with boolean operand. : | used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1735 | Bit operator with boolean operand. : |= used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1735 | Type conversion without cast. : (int and bool): arg_mode |= MODE_MWORKER | GJB 4.6.1.9 |
M | 1757 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1757 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1757 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1757 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1757 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1757 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1757 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1757 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1757 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1775 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 1775 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1781 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1782 | Value is not of appropriate type. : (unsigned int and int): oldpids [ nb_oldpids | GJB 4.6.1.8 |
M | 1783 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1784 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1786 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1788 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1789 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1789 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1790 | Value is not of appropriate type. : (char and signed char): * endptr != 0 | GJB 4.6.1.8 |
M | 1795 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1796 | Value is not of appropriate type. : (unsigned int and int): oldpids [ nb_oldpids | GJB 4.6.1.8 |
M | 1801 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1801 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1801 | Value is not of appropriate type. : (char and signed char): flag [ 1 ] == 0 | GJB 4.6.1.8 |
M | 1822 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1823 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1824 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 1825 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1826 | free used on string. | GJB 5.1.19 |
M | 1827 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1827 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1844 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_FOREGROUND | GJB 4.6.1.17,4.6.1.18 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_VERBOSE | GJB 4.6.1.17,4.6.1.18 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_QUIET | GJB 4.6.1.17,4.6.1.18 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_CHECK | GJB 4.6.1.17,4.6.1.18 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 1852 | Bit operator with boolean operand. : | used with bool: MODE_ZERO_WARNING | GJB 4.6.1.17,4.6.1.18 |
M | 1855 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 1858 | Bit operator with boolean operand. : ~ used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1861 | Bit operator with boolean operand. : & used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1861 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 1866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1867 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1867 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1892 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1896 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1897 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1919 | Bit operator with boolean operand. : & used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1925 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 1927 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1947 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1968 | Bit operator with boolean operand. : | used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
M | 1983 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1988 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1989 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1994 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1994 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2016 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2016 | Number of parameters does not match. : fct; 1 actual, 0 formal | GJB 4.7.1.1 |
M | 2018 | Number of parameters does not match. : fct; 1 actual, 0 formal | GJB 4.7.1.1 |
M | 2060 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2069 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2069 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2069 | Bit operator with boolean operand. : & used with bool: MODE_ZERO_WARNING | GJB 4.6.1.17,4.6.1.18 |
M | 2074 | Bit operator with boolean operand. : & used with bool: MODE_CHECK | GJB 4.6.1.17,4.6.1.18 |
M | 2076 | Name reused in inner scope. : px | GJB 4.15.1.2,4.15.1.5 |
M | 2082 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2086 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2086 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2118 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2123 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2155 | Bit operator with boolean operand. : | used with bool: MODE_VERBOSE | GJB 4.6.1.17,4.6.1.18 |
M | 2155 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2246 | Expression needs brackets. | GJB 5.1.2 |
M | 2268 | Expression needs brackets. | GJB 5.1.2 |
M | 2277 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2277 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2289 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2289 | Expression needs brackets. | GJB 5.1.2 |
M | 2291 | Bit operator with boolean operand. : | used with bool: MODE_VERBOSE | GJB 4.6.1.17,4.6.1.18 |
M | 2291 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2292 | Expression needs brackets. | GJB 5.1.2 |
M | 2299 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2307 | Expression needs brackets. | GJB 5.1.2 |
M | 2307 | Value is not of appropriate type. : (long long and unsigned char) | GJB 4.6.1.8 |
M | 2308 | Expression needs brackets. | GJB 5.1.2 |
M | 2308 | Value is not of appropriate type. : (long long and unsigned char) | GJB 4.6.1.8 |
M | 2321 | Expression needs brackets. | GJB 5.1.2 |
M | 2322 | Value is not of appropriate type. : (bool and unsigned char): global.tune.maxrewrite = global.tune.bufsize | GJB 4.6.1.8 |
M | 2322 | Value is not of appropriate type. : (bool and unsigned char) | GJB 4.6.1.8 |
M | 2324 | Type conversion without cast. : (int and bool): arg_mode & ( | GJB 4.6.1.9 |
M | 2324 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2324 | Bit operator with boolean operand. : | used with bool: MODE_FOREGROUND | GJB 4.6.1.17,4.6.1.18 |
M | 2326 | Bit operator with boolean operand. : | used with bool: MODE_QUIET | GJB 4.6.1.17,4.6.1.18 |
M | 2327 | Type conversion without cast. : (int and bool): global.mode |= ( arg_mode & ( | GJB 4.6.1.9 |
M | 2327 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2327 | Bit operator with boolean operand. : | used with bool: MODE_FOREGROUND | GJB 4.6.1.17,4.6.1.18 |
M | 2332 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2332 | Bit operator with boolean operand. : | used with bool: MODE_FOREGROUND | GJB 4.6.1.17,4.6.1.18 |
M | 2336 | Type conversion without cast. : (int and bool): global.mode |= ( arg_mode & ( | GJB 4.6.1.9 |
M | 2336 | Bit operator with boolean operand. : | used with bool: MODE_QUIET | GJB 4.6.1.17,4.6.1.18 |
M | 2336 | Bit operator with boolean operand. : | used with bool: MODE_VERBOSE | GJB 4.6.1.17,4.6.1.18 |
M | 2338 | Bit operator with boolean operand. : & used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2338 | Bit operator with boolean operand. : | used with bool: MODE_QUIET | GJB 4.6.1.17,4.6.1.18 |
M | 2340 | Bit operator with boolean operand. : | used with bool: MODE_QUIET | GJB 4.6.1.17,4.6.1.18 |
M | 2343 | Bit operator with boolean operand. : | used with bool: MODE_MWORKER | GJB 4.6.1.17,4.6.1.18 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2344 | Bit operator with boolean operand. : | used with bool: MODE_FOREGROUND | GJB 4.6.1.17,4.6.1.18 |
M | 2344 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2388 | Bit operator with boolean operand. : | used with bool: MODE_VERBOSE | GJB 4.6.1.17,4.6.1.18 |
M | 2388 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2403 | Expression needs brackets. | GJB 5.1.2 |
M | 2407 | Bit operator with boolean operand. : | used with bool: MODE_VERBOSE | GJB 4.6.1.17,4.6.1.18 |
M | 2407 | Bit operator with boolean operand. : | used with bool: MODE_DEBUG | GJB 4.6.1.17,4.6.1.18 |
M | 2425 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2425 | free used on string. | GJB 5.1.19 |
M | 2426 | Memory not freed after last reference. : err_msg | GJB 5.1.17 |
M | 1765 | Memory not freed after last reference. : c | GJB 5.1.17 |
M | 1967 | Memory not freed after last reference. : tmproc | GJB 5.1.17 |
M | 1566 | Procedure contains UR data flow anomalies. : pcf | GJB 4.13.1.4 |
M | 2008 | Procedure contains UR data flow anomalies. : ppcf | GJB 4.13.1.4 |
M | 2009 | Procedure contains UR data flow anomalies. : pscf | GJB 4.13.1.4 |
M | 1562 | Procedure contains UR data flow anomalies. : wl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_acl_cond (2428 to 2446 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2439 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2442 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2445 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_act_rules (2448 to 2459 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2456 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_stick_rules (2461 to 2471 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2469 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit (2473 to 2876 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2696 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 2535 | Pointer not checked for null before use. : (p)->conf.file | GJB 5.1.15 |
M | 2536 | Pointer not checked for null before use. : (p)->id | GJB 5.1.15 |
M | 2537 | Pointer not checked for null before use. : (p)->cookie_name | GJB 5.1.15 |
M | 2538 | Pointer not checked for null before use. : (p)->cookie_domain | GJB 5.1.15 |
M | 2539 | Pointer not checked for null before use. : (p)->cookie_attrs | GJB 5.1.15 |
M | 2540 | Pointer not checked for null before use. : (p)->lbprm.arg_str | GJB 5.1.15 |
M | 2541 | Pointer not checked for null before use. : (p)->capture_name | GJB 5.1.15 |
M | 2542 | Pointer not checked for null before use. : (p)->monitor_uri | GJB 5.1.15 |
M | 2543 | Pointer not checked for null before use. : (p)->rdp_cookie_name | GJB 5.1.15 |
M | 2544 | Pointer not checked for null before use. : (p)->invalid_rep | GJB 5.1.15 |
M | 2551 | Pointer not checked for null before use. : (p)->conf.lfs_file | GJB 5.1.15 |
M | 2552 | Pointer not checked for null before use. : (p)->conf.uniqueid_format_string | GJB 5.1.15 |
M | 2567 | Pointer not checked for null before use. : (p)->conf.lfsd_file | GJB 5.1.15 |
M | 2599 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 2602 | Pointer not checked for null before use. : (srule)->file | GJB 5.1.15 |
M | 2603 | Pointer not checked for null before use. : (srule)->cond | GJB 5.1.15 |
M | 2613 | Pointer not checked for null before use. : (rule)->file | GJB 5.1.15 |
M | 2627 | Pointer not checked for null before use. : (rdr)->rdr_str | GJB 5.1.15 |
M | 2636 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 2639 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 2643 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 2646 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 2650 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 2653 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 2671 | Pointer not checked for null before use. : (h)->name | GJB 5.1.15 |
M | 2679 | Pointer not checked for null before use. : h_next | GJB 5.1.15 |
M | 2680 | Pointer not checked for null before use. : (h_next)->name | GJB 5.1.15 |
M | 2693 | Pointer not checked for null before use. : (s)->id | GJB 5.1.15 |
M | 2694 | Pointer not checked for null before use. : (s)->cookie | GJB 5.1.15 |
M | 2695 | Pointer not checked for null before use. : (s)->hostname | GJB 5.1.15 |
M | 2696 | Pointer not checked for null before use. : (s)->hostname_dn | GJB 5.1.15 |
M | 2697 | Pointer not checked for null before use. : (s)->conf.file | GJB 5.1.15 |
M | 2698 | Pointer not checked for null before use. : (s)->idle_conns | GJB 5.1.15 |
M | 2699 | Pointer not checked for null before use. : (s)->safe_conns | GJB 5.1.15 |
M | 2700 | Pointer not checked for null before use. : (s)->available_conns | GJB 5.1.15 |
M | 2701 | Pointer not checked for null before use. : (s)->curr_idle_thr | GJB 5.1.15 |
M | 2721 | Pointer not checked for null before use. : (l)->name | GJB 5.1.15 |
M | 2723 | Pointer not checked for null before use. : (l)->counters | GJB 5.1.15 |
M | 2732 | Pointer not checked for null before use. : (bind_conf)->file | GJB 5.1.15 |
M | 2733 | Pointer not checked for null before use. : (bind_conf)->arg | GJB 5.1.15 |
M | 2743 | Pointer not checked for null before use. : (p)->desc | GJB 5.1.15 |
M | 2745 | Pointer not checked for null before use. : (p)->fwdfor_hdr_name | GJB 5.1.15 |
M | 2754 | Pointer not checked for null before use. : p0 | GJB 5.1.15 |
M | 2754 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 2765 | Pointer not checked for null before use. : uap | GJB 5.1.15 |
M | 2765 | Pointer not checked for null before use. : ua | GJB 5.1.15 |
M | 2766 | Pointer not checked for null before use. : (ua)->uri_prefix | GJB 5.1.15 |
M | 2767 | Pointer not checked for null before use. : (ua)->auth_realm | GJB 5.1.15 |
M | 2768 | Pointer not checked for null before use. : (ua)->node | GJB 5.1.15 |
M | 2770 | Pointer not checked for null before use. : (ua)->desc | GJB 5.1.15 |
M | 2778 | Pointer not checked for null before use. : scopep | GJB 5.1.15 |
M | 2778 | Pointer not checked for null before use. : scope | GJB 5.1.15 |
M | 2550 | Pointer not checked for null before use. : (p)->conf.logformat_string | GJB 5.1.15 |
M | 2555 | Pointer not checked for null before use. : (p)->conf.uif_file | GJB 5.1.15 |
M | 2558 | Pointer not checked for null before use. : (p)->conf.uif_file | GJB 5.1.15 |
M | 2559 | Pointer not checked for null before use. : (p)->conf.logformat_sd_string | GJB 5.1.15 |
M | 2558 | Pointer not checked for null before use. : (p)->lbprm.map.srv | GJB 5.1.15 |
M | 2548 | Pointer not checked for null before use. : (p)->invalid_req | GJB 5.1.15 |
M | 2718 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 2562 | Pointer not checked for null before use. : cond | GJB 5.1.15 |
M | 2587 | Pointer not checked for null before use. : acl | GJB 5.1.15 |
M | 2607 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 2593 | Pointer not checked for null before use. : srule | GJB 5.1.15 |
M | 2617 | Pointer not checked for null before use. : rdr | GJB 5.1.15 |
M | 2807 | Pointer not checked for null before use. : log | GJB 5.1.15 |
M | 2624 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 2596 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 2729 | Pointer not checked for null before use. : bind_conf | GJB 5.1.15 |
M | 2594 | Pointer not checked for null before use. : (srule)->cond | GJB 5.1.15 |
M | 2613 | Pointer not checked for null before use. : (rule)->cond | GJB 5.1.15 |
M | 2627 | Pointer not checked for null before use. : (rdr)->cond | GJB 5.1.15 |
M | 2678 | Pointer not checked for null before use. : (h)->name | GJB 5.1.15 |
M | 2707 | Pointer not checked for null before use. : (s)->resolvers_id | GJB 5.1.15 |
M | 2730 | Pointer not checked for null before use. : (bind_conf)->file | GJB 5.1.15 |
M | 2730 | Pointer not checked for null before use. : (bind_conf)->arg | GJB 5.1.15 |
M | 2819 | Pointer not checked for null before use. : (bol)->str | GJB 5.1.15 |
M | 2521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2521 | Value is not of appropriate type. : (unsigned int and int): ! fdtab [ cur_fd | GJB 4.6.1.8 |
M | 2524 | Value is not of appropriate type. : (unsigned int and int): fdtab [ cur_fd | GJB 4.6.1.8 |
M | 2525 | Name reused in inner scope. : l | GJB 4.15.1.2,4.15.1.5 |
M | 2525 | Value is not of appropriate type. : (unsigned int and int): fdtab [ cur_fd | GJB 4.6.1.8 |
M | 2534 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2535 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2536 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2537 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2538 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2539 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2540 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2541 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2542 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2543 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2544 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2547 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2547 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2548 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2551 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2553 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2554 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2557 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2558 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2564 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2576 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2589 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2598 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2599 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2601 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2602 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2603 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2610 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2612 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2613 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2620 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2622 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2625 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2627 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2632 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2638 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2639 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2645 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2646 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2652 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2653 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2670 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2672 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2679 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2681 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2692 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2693 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2694 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2695 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2696 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2696 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2697 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2698 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2699 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2700 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2701 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2709 | Number of parameters does not match. : fct; 1 actual, 0 formal | GJB 4.7.1.1 |
M | 2713 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2720 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2721 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2724 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2730 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2732 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2734 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2739 | Number of parameters does not match. : fct; 1 actual, 0 formal | GJB 4.7.1.1 |
M | 2742 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2743 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2756 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2765 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2766 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2767 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2768 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2778 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2779 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2782 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2794 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2796 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2797 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2798 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2799 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2800 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2801 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2801 | free used on string. | GJB 5.1.19 |
M | 2802 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2802 | free used on string. | GJB 5.1.19 |
M | 2808 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2811 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2813 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2817 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2820 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2825 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2830 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2835 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2840 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2845 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2850 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2855 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2860 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2865 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2870 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2636 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
M | 2643 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
M | 2650 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
M | 2876 | Memory not freed after last reference. : uap | GJB 5.1.17 |
M | 2563 | Attempt to read from freed memory. : cond | GJB 5.1.16 |
M | 2588 | Attempt to read from freed memory. : acl | GJB 5.1.16 |
M | 2594 | Attempt to read from freed memory. : *((srule)->cond) | GJB 5.1.16 |
M | 2624 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
M | 2599 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
M | 2602 | Attempt to read from freed memory. : srule | GJB 5.1.16 |
M | 2609 | Attempt to read from freed memory. : *((rule)->cond) | GJB 5.1.16 |
M | 2613 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 2619 | Attempt to read from freed memory. : *((rdr)->cond) | GJB 5.1.16 |
M | 2795 | Attempt to read from freed memory. : (rdr)-> | GJB 5.1.16 |
M | 2627 | Attempt to read from freed memory. : rdr | GJB 5.1.16 |
M | 2807 | Attempt to read from freed memory. : log | GJB 5.1.16 |
M | 2876 | Memory not freed after last reference. : h | GJB 5.1.17 |
M | 2876 | Memory not freed after last reference. : s | GJB 5.1.17 |
M | 2721 | Attempt to read from freed memory. : l | GJB 5.1.16 |
M | 2730 | Attempt to read from freed memory. : bind_conf | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
run_poll_loop (2885 to 2954 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2885 | Empty parameter list to procedure/function. : run_poll_loop | GJB 4.1.1.10 |
M | 2895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2896 | Value is not of appropriate type. : (unsigned int and int): activity [ tid | GJB 4.6.1.8 |
M | 2910 | Value is not of appropriate type. : (unsigned int and int): activity [ tid | GJB 4.6.1.8 |
M | 2915 | Value is not of appropriate type. : (unsigned int and int): activity [ tid | GJB 4.6.1.8 |
M | 2922 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2928 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2928 | Volatile variable in complex expression. : stopping_thread_mask | GJB 4.15.1.6 |
M | 2928 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 2934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2935 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2935 | Volatile variable in complex expression. : stopping_thread_mask | GJB 4.15.1.6 |
M | 2938 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2938 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 2952 | Value is not of appropriate type. : (unsigned int and int): activity [ tid | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
run_thread_poll_loop (2956 to 3082 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2963 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2964 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2966 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2958 | Procedure contains UR data flow anomalies. : ptaf | GJB 4.13.1.4 |
M | 2960 | Procedure contains UR data flow anomalies. : ptdf | GJB 4.13.1.4 |
M | 2961 | Procedure contains UR data flow anomalies. : ptff | GJB 4.13.1.4 |
M | 2959 | Procedure contains UR data flow anomalies. : ptif |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_identity (3085 to 3104 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3085 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3088 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3088 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3099 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (3106 to 3780 haproxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3258 | Pointer not checked for null before use. : oldpids | GJB 5.1.15 |
M | 3561 | Pointer not checked for null before use. : oldpids | GJB 5.1.15 |
M | 3345 | Pointer not checked for null before use. : oldpids | GJB 5.1.15 |
M | 3163 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 3255 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 3106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3182 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3234 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3234 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3248 | Value is not of appropriate type. : (unsigned char and unsigned short): w.tv_usec = 10 | GJB 4.6.1.8 |
M | 3256 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3276 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3277 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3277 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 3278 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3288 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 3303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3351 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 3353 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3366 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3396 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 3413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3433 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3434 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3445 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3446 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3446 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3487 | Nested comment found. | GJB 4.10.1.1 |
M | 3492 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3500 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 3522 | Name reused in inner scope. : child | GJB 4.15.1.2,4.15.1.5 |
M | 3535 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3536 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3558 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3558 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3567 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3583 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 3594 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3595 | Value is not of appropriate type. : (int and unsigned long): ! ( px -> bind_proc & ( 1UL | GJB 4.6.1.8 |
M | 3595 | Value is not of appropriate type. : (int and unsigned long): ! ( px -> bind_proc & ( 1UL << | GJB 4.6.1.8 |
M | 3595 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 3604 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3605 | Value is not of appropriate type. : (int and unsigned long): ! ( px -> bind_proc & ( 1UL | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3605 | Value is not of appropriate type. : (int and unsigned long): ! ( px -> bind_proc & ( 1UL << | GJB 4.6.1.8 |
M | 3605 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 3616 | Value is not of appropriate type. : (int and unsigned long): curpeers -> peers_fe -> bind_proc & ( 1UL | GJB 4.6.1.8 |
M | 3616 | Value is not of appropriate type. : (int and unsigned long): curpeers -> peers_fe -> bind_proc & ( 1UL << | GJB 4.6.1.8 |
M | 3616 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 3657 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3280 | Memory not freed after last reference. : xfer_sock_list | GJB 5.1.17 |
M | 3579 | Procedure contains UR data flow anomalies. : bind_conf | GJB 4.13.1.4 |
M | 3440 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_wt6 (20 to 46 hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 31 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 29 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 35 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_djb2 (48 to 75 hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 56 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 57 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 58 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 59 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 60 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 61 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 62 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 66 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 67 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 68 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 69 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 70 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 71 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 55 | Pointer not checked for null before use. : input | GJB 5.1.15 |
M | 55 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 55 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 55 | Expression needs brackets. | GJB 5.1.2 |
M | 56 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 56 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 56 | Expression needs brackets. | GJB 5.1.2 |
M | 57 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 57 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 57 | Expression needs brackets. | GJB 5.1.2 |
M | 58 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 58 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 58 | Expression needs brackets. | GJB 5.1.2 |
M | 59 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 59 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 59 | Expression needs brackets. | GJB 5.1.2 |
M | 60 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 60 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 60 | Expression needs brackets. | GJB 5.1.2 |
M | 61 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 61 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 61 | Expression needs brackets. | GJB 5.1.2 |
M | 62 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 62 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 62 | Expression needs brackets. | GJB 5.1.2 |
M | 65 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 65 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 65 | Expression needs brackets. | GJB 5.1.2 |
M | 66 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 66 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 66 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 66 | Expression needs brackets. | GJB 5.1.2 |
M | 67 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 67 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 67 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 67 | Expression needs brackets. | GJB 5.1.2 |
M | 68 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 68 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 68 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 68 | Expression needs brackets. | GJB 5.1.2 |
M | 69 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 69 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 69 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 69 | Expression needs brackets. | GJB 5.1.2 |
M | 70 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 70 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 70 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 70 | Expression needs brackets. | GJB 5.1.2 |
M | 71 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 71 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 71 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 71 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_sdbm (77 to 89 hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 81 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 83 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 84 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 85 | Signed/unsigned conversion without cast. : (unsigned int and int): hash = c | GJB 4.6.1.9 |
M | 85 | Signed/unsigned conversion without cast. : (int and unsigned int): hash = c + ( | GJB 4.6.1.9 |
M | 85 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 85 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_crc32 (98 to 111 hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 105 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 106 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 108 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_crc32c (181 to 189 hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 185 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 185 | Expression needs brackets. | GJB 5.1.2 |
M | 186 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_panic_safe (124 to 124 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 124 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 124 | Static procedure is not explicitly called in code analysed. : hlua_panic_safe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_panic_ljmp (125 to 125 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 125 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 125 | Jump out of procedure. : longjmp | GJB 4.5.1.1 |
M | 125 | Function has no return statement. : hlua_panic_ljmp | GJB 4.9.1.1 |
M | 125 | Static procedure is not explicitly called in code analysed. : hlua_panic_ljmp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
new_hlua_function (305 to 317 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 305 | Empty parameter list to procedure/function. : new_hlua_function | GJB 4.1.1.10 |
M | 308 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 310 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 314 | Expression needs brackets. | GJB 5.1.2 |
M | 315 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 315 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ i | GJB 4.6.1.8 |
M | 316 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fcn_ref_to_stack_id (320 to 325 hlua.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkfunction (331 to 339 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 331 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 334 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 338 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_get_top_error_string (342 to 349 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 342 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 342 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_traceback (351 to 405 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 362 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 351 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 351 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 358 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 366 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 367 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 368 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 369 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_args (412 to 417 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 412 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 412 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_pusherror (422 to 431 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 422 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 422 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_arg2lua (440 to 468 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 440 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 444 | Null case in switch statement. | GJB 4.3.1.8 |
M | 454 | Null case in switch statement. | GJB 4.3.1.8 |
M | 463 | Null case in switch statement. | GJB 4.3.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_lua2arg (475 to 504 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 480 | Null case in switch statement. | GJB 4.3.1.8 |
M | 487 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 494 | Null case in switch statement. | GJB 4.3.1.8 |
M | 477 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_smp2lua (510 to 556 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 510 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 514 | Null case in switch statement. | GJB 4.3.1.8 |
M | 519 | Null case in switch statement. | GJB 4.3.1.8 |
M | 543 | Null case in switch statement. | GJB 4.3.1.8 |
M | 545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_smp2lua_str (562 to 606 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 562 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 567 | Null case in switch statement. | GJB 4.3.1.8 |
M | 591 | Null case in switch statement. | GJB 4.3.1.8 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 596 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_lua2smp (612 to 649 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 612 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 630 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 637 | Null case in switch statement. | GJB 4.3.1.8 |
M | 643 | Null case in switch statement. | GJB 4.3.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_lua2arg_check (658 to 967 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 820 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 830 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 926 | Pointer not checked for null before use. : ul | GJB 5.1.15 |
M | 965 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 830 | Pointer not checked for null before use. : sname | GJB 5.1.15 |
M | 658 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 659 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 662 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 666 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 667 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 677 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 677 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 677 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 679 | goto detected. | GJB 4.5.1.2 |
M | 683 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 689 | goto detected. | GJB 4.5.1.2 |
M | 700 | goto detected. | GJB 4.5.1.2 |
M | 702 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 703 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 704 | Value is not of appropriate type. : (unsigned int and int): argp [ idx + 1 | GJB 4.6.1.8 |
M | 710 | goto detected. | GJB 4.5.1.2 |
M | 712 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 713 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 714 | Value is not of appropriate type. : (unsigned int and int): argp [ idx + 1 | GJB 4.6.1.8 |
M | 718 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 719 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 720 | Value is not of appropriate type. : (unsigned int and int): argp [ idx + 1 | GJB 4.6.1.8 |
M | 725 | goto detected. | GJB 4.5.1.2 |
M | 733 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 734 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 736 | goto detected. | GJB 4.5.1.2 |
M | 739 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 740 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 740 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 749 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 751 | goto detected. | GJB 4.5.1.2 |
M | 753 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 757 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 759 | goto detected. | GJB 4.5.1.2 |
M | 761 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 765 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 767 | goto detected. | GJB 4.5.1.2 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 773 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 775 | goto detected. | GJB 4.5.1.2 |
M | 777 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 777 | Value is not of appropriate type. : (unsigned int and int): argp [ idx ].data.prx = proxy_fe_by_name ( argp [ idx | GJB 4.6.1.8 |
M | 778 | Value is not of appropriate type. : (unsigned int and int): ! argp [ idx | GJB 4.6.1.8 |
M | 780 | goto detected. | GJB 4.5.1.2 |
M | 782 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 786 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 788 | goto detected. | GJB 4.5.1.2 |
M | 790 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 790 | Value is not of appropriate type. : (unsigned int and int): argp [ idx ].data.prx = proxy_be_by_name ( argp [ idx | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 791 | Value is not of appropriate type. : (unsigned int and int): ! argp [ idx | GJB 4.6.1.8 |
M | 793 | goto detected. | GJB 4.5.1.2 |
M | 795 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 799 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 801 | goto detected. | GJB 4.5.1.2 |
M | 803 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 803 | Value is not of appropriate type. : (unsigned int and int): argp [ idx ].data.t = stktable_find_by_name ( argp [ idx | GJB 4.6.1.8 |
M | 804 | Value is not of appropriate type. : (unsigned int and int): ! argp [ idx | GJB 4.6.1.8 |
M | 806 | goto detected. | GJB 4.5.1.2 |
M | 808 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 812 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 814 | goto detected. | GJB 4.5.1.2 |
M | 816 | Value is not of appropriate type. : (unsigned int and int): sname = strrchr ( argp [ idx | GJB 4.6.1.8 |
M | 818 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 819 | Value is not of appropriate type. : (unsigned int and int): pname = argp [ idx | GJB 4.6.1.8 |
M | 823 | goto detected. | GJB 4.5.1.2 |
M | 827 | Value is not of appropriate type. : (unsigned int and int): sname = argp [ idx | GJB 4.6.1.8 |
M | 830 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 831 | Value is not of appropriate type. : (unsigned int and int): ! argp [ idx | GJB 4.6.1.8 |
M | 833 | goto detected. | GJB 4.5.1.2 |
M | 835 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 839 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 841 | goto detected. | GJB 4.5.1.2 |
M | 843 | Value is not of appropriate type. : (unsigned int and int): inet_pton ( AF_INET , argp [ idx | GJB 4.6.1.8 |
M | 843 | Value is not of appropriate type. : (unsigned int and int): inet_pton ( AF_INET , argp [ idx ].data.str.area , & argp [ idx | GJB 4.6.1.8 |
M | 845 | goto detected. | GJB 4.5.1.2 |
M | 847 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 851 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 852 | Value is not of appropriate type. : (unsigned int and int): len2mask4 ( argp [ idx | GJB 4.6.1.8 |
M | 852 | Value is not of appropriate type. : (unsigned int and int): len2mask4 ( argp [ idx ].data.sint , & argp [ idx | GJB 4.6.1.8 |
M | 853 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 854 | Value is not of appropriate type. : (unsigned int and int): ! str2mask ( argp [ idx | GJB 4.6.1.8 |
M | 854 | Value is not of appropriate type. : (unsigned int and int): ! str2mask ( argp [ idx ].data.str.area , & argp [ idx | GJB 4.6.1.8 |
M | 856 | goto detected. | GJB 4.5.1.2 |
M | 861 | goto detected. | GJB 4.5.1.2 |
M | 863 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 867 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 869 | goto detected. | GJB 4.5.1.2 |
M | 871 | Value is not of appropriate type. : (unsigned int and int): inet_pton ( AF_INET6 , argp [ idx | GJB 4.6.1.8 |
M | 871 | Value is not of appropriate type. : (unsigned int and int): inet_pton ( AF_INET6 , argp [ idx ].data.str.area , & argp [ idx | GJB 4.6.1.8 |
M | 873 | goto detected. | GJB 4.5.1.2 |
M | 875 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 879 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 880 | Value is not of appropriate type. : (unsigned int and int): len2mask6 ( argp [ idx | GJB 4.6.1.8 |
M | 880 | Value is not of appropriate type. : (unsigned int and int): len2mask6 ( argp [ idx ].data.sint , & argp [ idx | GJB 4.6.1.8 |
M | 881 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 882 | Value is not of appropriate type. : (unsigned int and int): ! str2mask6 ( argp [ idx | GJB 4.6.1.8 |
M | 882 | Value is not of appropriate type. : (unsigned int and int): ! str2mask6 ( argp [ idx ].data.str.area , & argp [ idx | GJB 4.6.1.8 |
M | 884 | goto detected. | GJB 4.5.1.2 |
M | 889 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 891 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 895 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 897 | goto detected. | GJB 4.5.1.2 |
M | 899 | Value is not of appropriate type. : (unsigned int and int): reg = regex_comp ( argp [ idx | GJB 4.6.1.8 |
M | 899 | Value is not of appropriate type. : (unsigned int and int): ! ( argp [ idx | GJB 4.6.1.8 |
M | 901 | Value is not of appropriate type. : (unsigned int and int): msg = lua_pushfstring ( L , "error compiling regex '%s' : '%s'" , argp [ idx | GJB 4.6.1.8 |
M | 903 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 903 | free used on string. | GJB 5.1.19 |
M | 904 | goto detected. | GJB 4.5.1.2 |
M | 906 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 907 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 911 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 913 | goto detected. | GJB 4.5.1.2 |
M | 915 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 916 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 916 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 919 | Value is not of appropriate type. : (unsigned int and int): ul = auth_find_userlist ( argp [ idx | GJB 4.6.1.8 |
M | 922 | Value is not of appropriate type. : (unsigned int and int): msg = lua_pushfstring ( L , "unable to find userlist '%s'" , argp [ idx | GJB 4.6.1.8 |
M | 923 | goto detected. | GJB 4.5.1.2 |
M | 925 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 926 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 930 | Value is not of appropriate type. : (unsigned int and int): ! chunk_dup ( & tmp , & argp [ idx | GJB 4.6.1.8 |
M | 932 | goto detected. | GJB 4.5.1.2 |
M | 934 | Value is not of appropriate type. : (unsigned int and int): argp [ idx | GJB 4.6.1.8 |
M | 939 | goto detected. | GJB 4.5.1.2 |
M | 747 | No default case in switch statement. | GJB 4.3.1.4 |
M | 945 | Value is not of appropriate type. : (unsigned int and int): ( mask & ARGT_MASK ) != argp [ idx | GJB 4.6.1.8 |
M | 947 | Value is not of appropriate type. : (unsigned int and int): ( mask & ARGT_MASK ) ] , arg_type_names [ argp [ idx | GJB 4.6.1.8 |
M | 949 | goto detected. | GJB 4.5.1.2 |
M | 960 | Value is not of appropriate type. : (unsigned int and int): argp [ i | GJB 4.6.1.8 |
M | 961 | Value is not of appropriate type. : (unsigned int and int): chunk_destroy ( & argp [ i | GJB 4.6.1.8 |
M | 962 | Value is not of appropriate type. : (unsigned int and int): argp [ i | GJB 4.6.1.8 |
M | 963 | Value is not of appropriate type. : (unsigned int and int): regex_free ( argp [ i | GJB 4.6.1.8 |
M | 963 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 967 | Memory not freed after last reference. : err | GJB 5.1.17 |
M | 958 | Identifier reuse: label vs variable (MR). : error |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_gethlua (976 to 980 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 976 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_sethlua (981 to 985 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 984 | Pointer not checked for null before use. : hlua_store | GJB 5.1.15 |
M | 983 | Name found with length less than 2. : T | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_sendlog (990 to 1024 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1011 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 990 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 993 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 993 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 998 | Expression needs brackets. | GJB 5.1.2 |
M | 1000 | Type conversion without cast. : (signed char and char): p - 4 ) = ' ' | GJB 4.6.1.9 |
M | 1001 | Type conversion without cast. : (signed char and char): p - 3 ) = '.' | GJB 4.6.1.9 |
M | 1002 | Type conversion without cast. : (signed char and char): p - 2 ) = '.' | GJB 4.6.1.9 |
M | 1003 | Type conversion without cast. : (signed char and char): p - 1 ) = '.' | GJB 4.6.1.9 |
M | 1006 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1011 | Modification of string literal. : p | GJB 5.1.19 |
M | 1015 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1019 | Value is not of appropriate type. : (unsigned int and int): fprintf ( stderr , "[%s] %03d/%02d%02d%02d (%d) : %s\n" , log_levels [ level | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_yieldk (1029 to 1049 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1043 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 1029 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1030 | Name found with length less than 2. : k | GJB 4.8.1.1 |
M | 1045 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> flags |= flags | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_ctx_init (1073 to 1100 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1078 | Signed/unsigned conversion without cast. : (int and unsigned int): lua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 1082 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1082 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1082 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1087 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1087 | Value is not of appropriate type. : (unsigned int and int): lua -> T = lua_newthread ( hlua_states [ state_id | GJB 4.6.1.8 |
M | 1088 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1091 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1095 | Value is not of appropriate type. : (unsigned int and int): lua -> Tref = luaL_ref ( hlua_states [ state_id | GJB 4.6.1.8 |
M | 1098 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_ctx_destroy (1106 to 1146 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1111 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1112 | goto detected. | GJB 4.5.1.2 |
M | 1117 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1122 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1122 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1122 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1124 | Value is not of appropriate type. : (unsigned int and int): luaL_unref ( hlua_states [ lua -> state_id | GJB 4.6.1.8 |
M | 1125 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1136 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1136 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1136 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1138 | Value is not of appropriate type. : (unsigned int and int): lua_gc ( hlua_states [ lua -> state_id | GJB 4.6.1.8 |
M | 1139 | Value is not of appropriate type. : (unsigned int and int): ( lua ) -> state_id | GJB 4.6.1.8 |
M | 1142 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1144 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_ctx_renew (1155 to 1189 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1161 | Pointer not checked for null before use. : hlua_states | GJB 5.1.15 |
M | 1161 | Value is not of appropriate type. : (unsigned int and int): T = lua_newthread ( hlua_states [ lua -> state_id | GJB 4.6.1.8 |
M | 1178 | Value is not of appropriate type. : (unsigned int and int): luaL_unref ( hlua_states [ lua -> state_id | GJB 4.6.1.8 |
M | 1183 | Value is not of appropriate type. : (unsigned int and int): lua -> Tref = luaL_ref ( hlua_states [ lua -> state_id | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_hook (1191 to 1233 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1216 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1205 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 1191 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1205 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1210 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1216 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_ctx_resume (1250 to 1415 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1350 | Pointer not checked for null before use. : trace | GJB 5.1.15 |
M | 1352 | Pointer not checked for null before use. : trace | GJB 5.1.15 |
M | 1256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1257 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1274 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 1284 | Signed/unsigned conversion without cast. : (int and unsigned int): lua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 1290 | Value is not of appropriate type. : (unsigned int and int): ret = lua_resume ( lua -> T , hlua_states [ lua -> state_id | GJB 4.6.1.8 |
M | 1304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1316 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1317 | goto detected. | GJB 4.5.1.2 |
M | 1340 | Signed/unsigned conversion without cast. : (int and unsigned int): lua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 1357 | Signed/unsigned conversion without cast. : (int and unsigned int): lua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 1363 | Signed/unsigned conversion without cast. : (int and unsigned int): lua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 1379 | Signed/unsigned conversion without cast. : (int and unsigned int): lua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 1396 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1385 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_done (1418 to 1431 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1427 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 1418 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_del_acl (1436 to 1455 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1447 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1452 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 1436 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1438 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1439 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1436 | Static procedure is not explicitly called in code analysed. : hlua_del_acl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_del_map (1460 to 1479 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1471 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1476 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 1460 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1462 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1463 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1460 | Static procedure is not explicitly called in code analysed. : hlua_del_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_add_acl (1484 to 1504 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1495 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1500 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 1484 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1487 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1484 | Static procedure is not explicitly called in code analysed. : hlua_add_acl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_set_map (1510 to 1534 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1523 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1528 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 1531 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 1510 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1512 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1513 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1510 | Static procedure is not explicitly called in code analysed. : hlua_set_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkmap (1638 to 1641 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1638 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_map_new (1648 to 1731 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1702 | Pointer not checked for null before use. : fn | GJB 5.1.15 |
M | 1708 | Pointer not checked for null before use. : file | GJB 5.1.15 |
M | 1648 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1650 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1656 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1666 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1666 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1685 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1685 | Value is not of appropriate type. : (int and void*): conv. private = ( void * | GJB 4.6.1.8 |
M | 1698 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1715 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1715 | free used on string. | GJB 5.1.19 |
M | 1648 | Static procedure is not explicitly called in code analysed. : hlua_map_new | GJB 4.7.1.3 |
M | 1731 | Memory not freed after last reference. : err |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_hlua_map_lookup (1733 to 1764 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1741 | Pointer not checked for null before use. : desc | GJB 5.1.15 |
M | 1733 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1748 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1748 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_map_lookup (1766 to 1769 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1766 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1766 | Static procedure is not explicitly called in code analysed. : hlua_map_lookup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_map_slookup (1771 to 1774 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1771 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1771 | Static procedure is not explicitly called in code analysed. : hlua_map_slookup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checksocket (1784 to 1787 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1784 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_handler (1793 to 1846 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1793 | Static procedure is not explicitly called in code analysed. : hlua_socket_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_release (1852 to 1864 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1852 | Static procedure is not explicitly called in code analysed. : hlua_socket_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_gc (1872 to 1893 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1881 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 1887 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1872 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1872 | Static procedure is not explicitly called in code analysed. : hlua_socket_gc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_close_helper (1898 to 1932 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1915 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 1926 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1922 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 1898 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_close (1936 to 1940 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1936 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1936 | Static procedure is not explicitly called in code analysed. : hlua_socket_close | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_receive_yield (1953 to 2102 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1991 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1992 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 1994 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 1983 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 1997 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 2028 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1953 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1961 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1963 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1976 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1989 | goto detected. | GJB 4.5.1.2 |
M | 1999 | goto detected. | GJB 4.5.1.2 |
M | 2001 | goto detected. | GJB 4.5.1.2 |
M | 2005 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2008 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2015 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2018 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2030 | goto detected. | GJB 4.5.1.2 |
M | 2032 | goto detected. | GJB 4.5.1.2 |
M | 2039 | goto detected. | GJB 4.5.1.2 |
M | 2041 | goto detected. | GJB 4.5.1.2 |
M | 2044 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 | GJB 4.6.1.9 |
M | 2044 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 > missing_bytes | GJB 4.6.1.9 |
M | 2046 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 = missing_bytes | GJB 4.6.1.9 |
M | 2047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2047 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2047 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 + len2 | GJB 4.6.1.9 |
M | 2047 | Expression needs brackets. | GJB 5.1.2 |
M | 2047 | Signed/unsigned conversion without cast. : (unsigned int and int): len1 + len2 > missing_bytes | GJB 4.6.1.9 |
M | 2048 | Signed/unsigned conversion without cast. : (unsigned int and int): len2 = missing_bytes | GJB 4.6.1.9 |
M | 2053 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2055 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2060 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2069 | goto detected. | GJB 4.5.1.2 |
M | 2070 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2070 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2071 | goto detected. | GJB 4.5.1.2 |
M | 2073 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2100 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 1961 | Procedure contains UR data flow anomalies. : blk1 | GJB 4.13.1.4 |
M | 1963 | Procedure contains UR data flow anomalies. : blk2 | GJB 4.13.1.4 |
M | 1962 | Procedure contains UR data flow anomalies. : len1 | GJB 4.13.1.4 |
M | 1964 | Procedure contains UR data flow anomalies. : len2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_receive (2119 to 2180 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2123 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 2136 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2144 | Pointer not checked for null before use. : pattern | GJB 5.1.15 |
M | 2176 | Pointer not checked for null before use. : pattern | GJB 5.1.15 |
M | 2119 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2122 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2122 | Name reused in inner scope. : pattern | GJB 4.15.1.2,4.15.1.5 |
M | 2124 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2149 | Type conversion without cast. : (int and long long): wanted = strtoll | GJB 4.6.1.9 |
M | 2158 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2169 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2119 | Static procedure is not explicitly called in code analysed. : hlua_socket_receive | GJB 4.7.1.3 |
M | 2125 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_write_yield (2185 to 2304 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2215 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2225 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2226 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 2229 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2236 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 2262 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 2185 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2203 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2237 | Signed/unsigned conversion without cast. : (int and unsigned int): send_len = buf_len | GJB 4.6.1.9 |
M | 2237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2240 | Signed/unsigned conversion without cast. : (int and unsigned int): sent >= buf_len | GJB 4.6.1.9 |
M | 2250 | goto detected. | GJB 4.5.1.2 |
M | 2256 | goto detected. | GJB 4.5.1.2 |
M | 2291 | Expression needs brackets. | GJB 5.1.2 |
M | 2291 | Signed/unsigned conversion without cast. : (int and unsigned int): sent + len >= buf_len | GJB 4.6.1.9 |
M | 2302 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 2190 | Procedure contains UR data flow anomalies. : buf_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_send (2319 to 2382 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2376 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 2374 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 2319 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2321 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2322 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2323 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2337 | Signed/unsigned conversion without cast. : (int and unsigned int): j = buf_len | GJB 4.6.1.9 |
M | 2337 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2338 | Signed/unsigned conversion without cast. : (int and unsigned int): j | GJB 4.6.1.9 |
M | 2338 | Signed/unsigned conversion without cast. : (int and unsigned int): j > buf_len | GJB 4.6.1.9 |
M | 2339 | Signed/unsigned conversion without cast. : (int and unsigned int): j = buf_len | GJB 4.6.1.9 |
M | 2339 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2343 | Signed/unsigned conversion without cast. : (int and unsigned int): j = buf_len | GJB 4.6.1.9 |
M | 2349 | Signed/unsigned conversion without cast. : (int and unsigned int): i = buf_len | GJB 4.6.1.9 |
M | 2349 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2350 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 2350 | Signed/unsigned conversion without cast. : (int and unsigned int): i > buf_len | GJB 4.6.1.9 |
M | 2351 | Signed/unsigned conversion without cast. : (int and unsigned int): i = buf_len | GJB 4.6.1.9 |
M | 2351 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2361 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2361 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2375 | Signed/unsigned conversion without cast. : (unsigned int and int): buf_len = j | GJB 4.6.1.9 |
M | 2375 | Expression needs brackets. | GJB 5.1.2 |
M | 2319 | Static procedure is not explicitly called in code analysed. : hlua_socket_send | GJB 4.7.1.3 |
M | 2324 | Procedure contains UR data flow anomalies. : buf_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_info (2385 to 2429 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2385 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2387 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2387 | Name reused in inner scope. : buffer | GJB 4.15.1.2,4.15.1.5 |
M | 2390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2390 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2392 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2392 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2404 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 2405 | Value is not of appropriate type. : (unsigned int and int): buffer [ len | GJB 4.6.1.8 |
M | 2407 | Value is not of appropriate type. : (unsigned int and int): buffer [ len | GJB 4.6.1.8 |
M | 2413 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 2414 | Value is not of appropriate type. : (unsigned int and int): p [ len | GJB 4.6.1.8 |
M | 2422 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2422 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_getpeername (2432 to 2470 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2448 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2458 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2459 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 2461 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2432 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2432 | Static procedure is not explicitly called in code analysed. : hlua_socket_getpeername | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_getsockname (2473 to 2513 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2490 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2500 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2501 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 2503 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2473 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2504 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2473 | Static procedure is not explicitly called in code analysed. : hlua_socket_getsockname | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_connect_yield (2523 to 2586 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2551 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2552 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 2573 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2540 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2563 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2523 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2584 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 2523 | Static procedure is not explicitly called in code analysed. : hlua_socket_connect_yield | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_connect (2589 to 2698 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2611 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2663 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2664 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 2666 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2624 | Pointer not checked for null before use. : ip | GJB 5.1.15 |
M | 2639 | Pointer not checked for null before use. : ip | GJB 5.1.15 |
M | 2684 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 2589 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2616 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2652 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2658 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2659 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2695 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 2589 | Static procedure is not explicitly called in code analysed. : hlua_socket_connect | GJB 4.7.1.3 |
M | 2616 | Procedure contains UR data flow anomalies. : b | GJB 4.13.1.4 |
M | 2596 | Procedure contains UR data flow anomalies. : high | GJB 4.13.1.4 |
M | 2596 | Procedure contains UR data flow anomalies. : low |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_setoption (2728 to 2731 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2728 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2728 | Static procedure is not explicitly called in code analysed. : hlua_socket_setoption | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_settimeout (2733 to 2795 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2775 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2776 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 2778 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2764 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2733 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2751 | Value is not of appropriate type. : (double and signed char): dtmout < 0 | GJB 4.6.1.8 |
M | 2733 | Static procedure is not explicitly called in code analysed. : hlua_socket_settimeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_socket_new (2797 to 2874 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2814 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2815 | Pointer not checked for null before use. : socket | GJB 5.1.15 |
M | 2834 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2797 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2807 | goto detected. | GJB 4.5.1.2 |
M | 2818 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2820 | goto detected. | GJB 4.5.1.2 |
M | 2831 | goto detected. | GJB 4.5.1.2 |
M | 2843 | goto detected. | GJB 4.5.1.2 |
M | 2849 | goto detected. | GJB 4.5.1.2 |
M | 2797 | Static procedure is not explicitly called in code analysed. : hlua_socket_new | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkchannel (2887 to 2890 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2887 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_new (2895 to 2909 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2895 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_hlua_channel_dup (2917 to 2944 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2917 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2919 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2920 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2924 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2942 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2942 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 2943 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 2924 | Procedure contains UR data flow anomalies. : b | GJB 4.13.1.4 |
M | 2919 | Procedure contains UR data flow anomalies. : blk1 | GJB 4.13.1.4 |
M | 2920 | Procedure contains UR data flow anomalies. : blk2 | GJB 4.13.1.4 |
M | 2921 | Procedure contains UR data flow anomalies. : len1 | GJB 4.13.1.4 |
M | 2922 | Procedure contains UR data flow anomalies. : len2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_dup_yield (2949 to 2963 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2949 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2961 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_dup (2966 to 2971 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2966 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2966 | Static procedure is not explicitly called in code analysed. : hlua_channel_dup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_get_yield (2978 to 2999 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2978 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 2992 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_get (3002 to 3007 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3002 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3002 | Static procedure is not explicitly called in code analysed. : hlua_channel_get | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_getline_yield (3014 to 3051 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3014 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3016 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3023 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3046 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3034 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3023 | Procedure contains UR data flow anomalies. : b | GJB 4.13.1.4 |
M | 3016 | Procedure contains UR data flow anomalies. : blk1 | GJB 4.13.1.4 |
M | 3017 | Procedure contains UR data flow anomalies. : blk2 | GJB 4.13.1.4 |
M | 3018 | Procedure contains UR data flow anomalies. : len1 | GJB 4.13.1.4 |
M | 3019 | Procedure contains UR data flow anomalies. : len2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_getline (3054 to 3059 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3054 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3054 | Static procedure is not explicitly called in code analysed. : hlua_channel_getline | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_append_yield (3068 to 3118 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3073 | Name redeclared in another C name space (MR). : l | GJB 4.1.1.16 |
M | 3094 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 3068 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3072 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3073 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3091 | Signed/unsigned conversion without cast. : (int and unsigned int): max | GJB 4.6.1.9 |
M | 3091 | Signed/unsigned conversion without cast. : (int and unsigned int): max > len | GJB 4.6.1.9 |
M | 3091 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3091 | Expression needs brackets. | GJB 5.1.2 |
M | 3092 | Signed/unsigned conversion without cast. : (int and unsigned int): max = len | GJB 4.6.1.9 |
M | 3092 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3115 | Signed/unsigned conversion without cast. : (int and unsigned int): l | GJB 4.6.1.9 |
M | 3115 | Signed/unsigned conversion without cast. : (int and unsigned int): l < len | GJB 4.6.1.9 |
M | 3087 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3101 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3116 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3071 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_append (3124 to 3135 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3124 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3124 | Static procedure is not explicitly called in code analysed. : hlua_channel_append | GJB 4.7.1.3 |
M | 3126 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_set (3143 to 3159 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3143 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3143 | Static procedure is not explicitly called in code analysed. : hlua_channel_set | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_send_yield (3166 to 3257 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3171 | Name redeclared in another C name space (MR). : l | GJB 4.1.1.16 |
M | 3225 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 3166 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3170 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3171 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3211 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3211 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3215 | Signed/unsigned conversion without cast. : (int and unsigned int): max | GJB 4.6.1.9 |
M | 3215 | Signed/unsigned conversion without cast. : (int and unsigned int): max > len | GJB 4.6.1.9 |
M | 3215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3215 | Expression needs brackets. | GJB 5.1.2 |
M | 3216 | Signed/unsigned conversion without cast. : (int and unsigned int): max = len | GJB 4.6.1.9 |
M | 3216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3244 | Signed/unsigned conversion without cast. : (int and unsigned int): l | GJB 4.6.1.9 |
M | 3244 | Signed/unsigned conversion without cast. : (int and unsigned int): l < len | GJB 4.6.1.9 |
M | 3197 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3253 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3169 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_send (3263 to 3269 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3263 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3263 | Static procedure is not explicitly called in code analysed. : hlua_channel_send | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_forward_yield (3278 to 3332 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3282 | Name redeclared in another C name space (MR). : l | GJB 4.1.1.16 |
M | 3278 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3282 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3328 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_forward (3337 to 3345 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3337 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3337 | Static procedure is not explicitly called in code analysed. : hlua_channel_forward | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_get_in_len (3350 to 3363 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3358 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 3350 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3350 | Static procedure is not explicitly called in code analysed. : hlua_channel_get_in_len | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_is_full (3366 to 3377 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3375 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 3366 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3366 | Static procedure is not explicitly called in code analysed. : hlua_channel_is_full | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_is_resp (3380 to 3389 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3387 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 3380 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3380 | Static procedure is not explicitly called in code analysed. : hlua_channel_is_resp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_channel_get_out_len (3394 to 3402 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3400 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 3394 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3394 | Static procedure is not explicitly called in code analysed. : hlua_channel_get_out_len | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkfetches (3415 to 3418 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3415 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fetches_new (3423 to 3449 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3439 | Pointer not checked for null before use. : hsmp | GJB 5.1.15 |
M | 3423 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3439 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3440 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3442 | Signed/unsigned conversion without cast. : (int and unsigned int): hsmp -> flags = flags | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_run_sample_fetch (3457 to 3534 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3472 | Pointer not checked for null before use. : f | GJB 5.1.15 |
M | 3473 | Pointer not checked for null before use. : hsmp | GJB 5.1.15 |
M | 3489 | Pointer not checked for null before use. : hsmp | GJB 5.1.15 |
M | 3457 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3461 | Value is not of appropriate type. : (unsigned int and signed char): struct arg args [ ARGM_NBARGS + 1 | GJB 4.6.1.8 |
M | 3462 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3472 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3480 | Value is not of appropriate type. : (bool and unsigned char): i < lua_gettop ( L ) | GJB 4.6.1.8 |
M | 3480 | Expression needs brackets. | GJB 5.1.2 |
M | 3483 | Value is not of appropriate type. : (unsigned int and int): L , i + 2 , & args [ i | GJB 4.6.1.8 |
M | 3485 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3486 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3489 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3492 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3494 | goto detected. | GJB 4.5.1.2 |
M | 3501 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3502 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3507 | goto detected. | GJB 4.5.1.2 |
M | 3517 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3518 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3519 | Value is not of appropriate type. : (unsigned int and int): chunk_destroy ( & args [ i | GJB 4.6.1.8 |
M | 3520 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3521 | Value is not of appropriate type. : (unsigned int and int): regex_free ( args [ i | GJB 4.6.1.8 |
M | 3521 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3526 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3527 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3528 | Value is not of appropriate type. : (unsigned int and int): chunk_destroy ( & args [ i | GJB 4.6.1.8 |
M | 3529 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3530 | Value is not of appropriate type. : (unsigned int and int): regex_free ( args [ i | GJB 4.6.1.8 |
M | 3530 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3457 | Static procedure is not explicitly called in code analysed. : hlua_run_sample_fetch | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkconverters (3547 to 3550 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3547 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_converters_new (3555 to 3581 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3571 | Pointer not checked for null before use. : hsmp | GJB 5.1.15 |
M | 3555 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3571 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3572 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3574 | Signed/unsigned conversion without cast. : (int and unsigned int): hsmp -> flags = flags | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_run_sample_conv (3589 to 3674 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3613 | Pointer not checked for null before use. : hsmp | GJB 5.1.15 |
M | 3613 | Pointer not checked for null before use. : conv | GJB 5.1.15 |
M | 3589 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3593 | Value is not of appropriate type. : (unsigned int and signed char): struct arg args [ ARGM_NBARGS + 1 | GJB 4.6.1.8 |
M | 3594 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3604 | Value is not of appropriate type. : (bool and unsigned char): i < lua_gettop ( L ) | GJB 4.6.1.8 |
M | 3604 | Expression needs brackets. | GJB 5.1.2 |
M | 3607 | Value is not of appropriate type. : (unsigned int and int): L , i + 3 , & args [ i | GJB 4.6.1.8 |
M | 3609 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3610 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3613 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3618 | goto detected. | GJB 4.5.1.2 |
M | 3625 | goto detected. | GJB 4.5.1.2 |
M | 3628 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3631 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ smp.data.type ] [ conv -> in_type | GJB 4.6.1.8 |
M | 3632 | Value is not of appropriate type. : (unsigned int and int): L , "invalid input argument: cannot cast '%s' to '%s'" , smp_to_type [ smp.data.type ] , smp_to_type [ conv -> in_type | GJB 4.6.1.8 |
M | 3634 | goto detected. | GJB 4.5.1.2 |
M | 3636 | Value is not of appropriate type. : (unsigned int and int): sample_casts [ smp.data.type ] [ conv -> in_type | GJB 4.6.1.8 |
M | 3636 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3637 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ smp.data.type ] [ conv -> in_type | GJB 4.6.1.8 |
M | 3639 | goto detected. | GJB 4.5.1.2 |
M | 3643 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3648 | goto detected. | GJB 4.5.1.2 |
M | 3657 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3658 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3659 | Value is not of appropriate type. : (unsigned int and int): chunk_destroy ( & args [ i | GJB 4.6.1.8 |
M | 3660 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3661 | Value is not of appropriate type. : (unsigned int and int): regex_free ( args [ i | GJB 4.6.1.8 |
M | 3661 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3666 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3667 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3668 | Value is not of appropriate type. : (unsigned int and int): chunk_destroy ( & args [ i | GJB 4.6.1.8 |
M | 3669 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 3670 | Value is not of appropriate type. : (unsigned int and int): regex_free ( args [ i | GJB 4.6.1.8 |
M | 3670 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3589 | Static procedure is not explicitly called in code analysed. : hlua_run_sample_conv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkapplet_tcp (3687 to 3690 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3687 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_new (3695 to 3746 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3700 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3713 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3695 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_set_var (3748 to 3779 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3764 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3771 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3776 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 3748 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3748 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_set_var | GJB 4.7.1.3 |
M | 3779 | Memory not freed after last reference. : (p)-> | GJB 5.1.17 |
M | 3753 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_unset_var (3781 to 3802 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3796 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3799 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3800 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 3781 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3785 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3781 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_unset_var | GJB 4.7.1.3 |
M | 3786 | Procedure contains UR data flow anomalies. : len | GJB 4.13.1.4 |
M | 3787 | Procedure contains UR data flow anomalies. : smp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_get_var (3804 to 3828 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3819 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3821 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3822 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 3804 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3808 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3804 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_get_var | GJB 4.7.1.3 |
M | 3809 | Procedure contains UR data flow anomalies. : len | GJB 4.13.1.4 |
M | 3810 | Procedure contains UR data flow anomalies. : smp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_set_priv (3830 to 3851 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3833 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3844 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 3830 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3830 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_set_priv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_get_priv (3853 to 3870 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3856 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3867 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 3853 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3853 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_get_priv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_getline_yield (3876 to 3913 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3879 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3876 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3881 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3883 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3897 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3903 | Signed/unsigned conversion without cast. : (unsigned int and int): len2 | GJB 4.6.1.9 |
M | 3906 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3910 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3892 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3881 | Procedure contains UR data flow anomalies. : blk1 | GJB 4.13.1.4 |
M | 3883 | Procedure contains UR data flow anomalies. : blk2 | GJB 4.13.1.4 |
M | 3882 | Procedure contains UR data flow anomalies. : len1 | GJB 4.13.1.4 |
M | 3884 | Procedure contains UR data flow anomalies. : len2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_getline (3916 to 3924 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3921 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3916 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3921 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3916 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_getline | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_recv_yield (3930 to 4006 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3933 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3930 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 3936 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3938 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3952 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3958 | Signed/unsigned conversion without cast. : (unsigned int and int): len2 | GJB 4.6.1.9 |
M | 3960 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3960 | Value is not of appropriate type. : (unsigned int and signed char): len == | GJB 4.6.1.8 |
M | 3966 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3968 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3977 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3978 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3984 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3987 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3990 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 3947 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3970 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3994 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 3936 | Procedure contains UR data flow anomalies. : blk1 | GJB 4.13.1.4 |
M | 3938 | Procedure contains UR data flow anomalies. : blk2 | GJB 4.13.1.4 |
M | 3937 | Procedure contains UR data flow anomalies. : len1 | GJB 4.13.1.4 |
M | 3939 | Procedure contains UR data flow anomalies. : len2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_recv (4009 to 4028 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4025 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4009 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4025 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4009 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_recv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_send_yield (4035 to 4067 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4040 | Name redeclared in another C name space (MR). : l | GJB 4.1.1.16 |
M | 4041 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4046 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 4051 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 4035 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4039 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4040 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 4047 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4048 | Signed/unsigned conversion without cast. : (int and unsigned int): max = len | GJB 4.6.1.9 |
M | 4048 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4061 | Signed/unsigned conversion without cast. : (int and unsigned int): l | GJB 4.6.1.9 |
M | 4061 | Signed/unsigned conversion without cast. : (int and unsigned int): l < len | GJB 4.6.1.9 |
M | 4063 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 4037 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_send (4073 to 4079 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4073 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4073 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_send | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkapplet_http (4092 to 4095 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4092 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_new (4100 to 4231 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4110 | Name redeclared in another C name space (MR). : path | GJB 4.1.1.16 |
M | 4206 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 4106 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 4125 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4156 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4157 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 4162 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 4206 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 4200 | Pointer not checked for null before use. : q | GJB 5.1.15 |
M | 4100 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4183 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4183 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 4183 | Name found with length less than 2. : q | GJB 4.8.1.1 |
M | 4188 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4188 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4189 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4205 | Name reused in inner scope. : blk | GJB 4.15.1.2,4.15.1.5 |
M | 4208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4213 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> extra != ULLONG_MAX | GJB 4.6.1.9 |
M | 4214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_set_var (4233 to 4264 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4249 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4256 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 4261 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 4233 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4237 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4258 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4258 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4233 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_set_var | GJB 4.7.1.3 |
M | 4238 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_unset_var (4266 to 4287 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4281 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4284 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 4285 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 4266 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4270 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4266 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_unset_var | GJB 4.7.1.3 |
M | 4271 | Procedure contains UR data flow anomalies. : len | GJB 4.13.1.4 |
M | 4272 | Procedure contains UR data flow anomalies. : smp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_get_var (4289 to 4313 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4304 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4306 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 4307 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 4289 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4293 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4289 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_get_var | GJB 4.7.1.3 |
M | 4294 | Procedure contains UR data flow anomalies. : len | GJB 4.13.1.4 |
M | 4295 | Procedure contains UR data flow anomalies. : smp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_set_priv (4315 to 4336 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4318 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4329 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 4315 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4315 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_set_priv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_get_priv (4338 to 4355 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4341 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4352 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 4338 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4338 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_get_priv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_getline_yield (4361 to 4437 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4376 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 4364 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4371 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 4373 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4376 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 4361 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4375 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4380 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4395 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4398 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4404 | Expression needs brackets. | GJB 5.1.2 |
M | 4406 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4409 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4410 | Null case in switch statement. | GJB 4.3.1.8 |
M | 4410 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4394 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 4419 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4435 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4431 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_getline (4441 to 4449 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4446 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4441 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4446 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4441 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_getline | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_recv_yield (4455 to 4534 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4470 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 4458 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4465 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 4468 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4470 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 4455 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4481 | Signed/unsigned conversion without cast. : (unsigned int and int): vlen | GJB 4.6.1.9 |
M | 4481 | Signed/unsigned conversion without cast. : (unsigned int and int): vlen > len | GJB 4.6.1.9 |
M | 4482 | Signed/unsigned conversion without cast. : (unsigned int and int): vlen = len | GJB 4.6.1.9 |
M | 4490 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4493 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4495 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4498 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4499 | Null case in switch statement. | GJB 4.3.1.8 |
M | 4499 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 4489 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 4508 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4510 | Signed/unsigned conversion without cast. : (int and unsigned int): len -= vlen | GJB 4.6.1.9 |
M | 4532 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4528 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_recv (4537 to 4556 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4553 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4537 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4553 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4537 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_recv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_send_yield (4563 to 4605 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4571 | Name redeclared in another C name space (MR). : l | GJB 4.1.1.16 |
M | 4566 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4568 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 4574 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4585 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 4563 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4569 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4571 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 4576 | goto detected. | GJB 4.5.1.2 |
M | 4581 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4582 | Signed/unsigned conversion without cast. : (int and unsigned int): max = len | GJB 4.6.1.9 |
M | 4582 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4596 | Signed/unsigned conversion without cast. : (int and unsigned int): l | GJB 4.6.1.9 |
M | 4596 | Signed/unsigned conversion without cast. : (int and unsigned int): l < len | GJB 4.6.1.9 |
M | 4600 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 4570 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_send (4611 to 4625 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4616 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4611 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4611 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_send | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_addheader (4627 to 4677 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4647 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 4627 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4629 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4667 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4627 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_addheader | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_status (4679 to 4694 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4690 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4691 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 4679 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4683 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4679 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_status | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_send_response (4697 to 4880 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4700 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4711 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 4721 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4732 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 4725 | Pointer not checked for null before use. : status | GJB 5.1.15 |
M | 4725 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 4789 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 4790 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 4792 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 4807 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 4697 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4705 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4706 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4803 | goto detected. | GJB 4.5.1.2 |
M | 4803 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4806 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4835 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4839 | Signed/unsigned conversion without cast. : (int and unsigned int): sl -> flags |= flags | GJB 4.6.1.9 |
M | 4847 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4848 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4849 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4850 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4867 | Expression needs brackets. | GJB 5.1.2 |
M | 4707 | Procedure contains UR data flow anomalies. : nlen | GJB 4.13.1.4 |
M | 4707 | Procedure contains UR data flow anomalies. : vlen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_start_response_yield (4885 to 4896 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4888 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 4885 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4893 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_start_response (4899 to 4902 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4899 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4899 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_start_response | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkhttp (4915 to 4918 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4915 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_new (4923 to 4949 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4939 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 4923 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 4939 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4940 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_get_headers (4955 to 5014 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4967 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 4965 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4967 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 4955 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5011 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_get_headers (5016 to 5027 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5023 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5016 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5023 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5023 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5023 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5016 | Static procedure is not explicitly called in code analysed. : hlua_http_req_get_headers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_get_headers (5029 to 5040 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5036 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5029 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5036 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5036 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5036 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5029 | Static procedure is not explicitly called in code analysed. : hlua_http_res_get_headers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_rep_hdr (5046 to 5062 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5055 | Pointer not checked for null before use. : reg | GJB 5.1.15 |
M | 5059 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 5059 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5059 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 5046 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5049 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5050 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5051 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5055 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5048 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_rep_hdr (5064 to 5075 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5071 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5064 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5071 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5071 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5071 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5064 | Static procedure is not explicitly called in code analysed. : hlua_http_req_rep_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_rep_hdr (5077 to 5088 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5084 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5077 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5084 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5084 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5084 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5077 | Static procedure is not explicitly called in code analysed. : hlua_http_res_rep_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_rep_val (5090 to 5101 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5097 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5090 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5097 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5097 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5097 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5090 | Static procedure is not explicitly called in code analysed. : hlua_http_req_rep_val | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_rep_val (5103 to 5114 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5110 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5103 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5110 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5110 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5110 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5103 | Static procedure is not explicitly called in code analysed. : hlua_http_res_rep_val | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_del_hdr (5119 to 5130 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5127 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5119 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5122 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5128 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 5121 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_del_hdr (5132 to 5143 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5139 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5132 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5139 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5132 | Static procedure is not explicitly called in code analysed. : hlua_http_req_del_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_del_hdr (5145 to 5156 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5152 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5145 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5152 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5145 | Static procedure is not explicitly called in code analysed. : hlua_http_res_del_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_add_hdr (5161 to 5172 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5169 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 5169 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5170 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 5161 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5164 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5163 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 5165 | Procedure contains UR data flow anomalies. : value_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_add_hdr (5174 to 5185 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5181 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5174 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5181 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5174 | Static procedure is not explicitly called in code analysed. : hlua_http_req_add_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_add_hdr (5187 to 5198 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5194 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5187 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5194 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5194 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5194 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5187 | Static procedure is not explicitly called in code analysed. : hlua_http_res_add_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_set_hdr (5200 to 5212 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5207 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5200 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5207 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5200 | Static procedure is not explicitly called in code analysed. : hlua_http_req_set_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_set_hdr (5214 to 5226 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5221 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5214 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5221 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5214 | Static procedure is not explicitly called in code analysed. : hlua_http_res_set_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_set_meth (5229 to 5240 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5235 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5238 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5229 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5235 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5235 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5235 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5238 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5229 | Static procedure is not explicitly called in code analysed. : hlua_http_req_set_meth | GJB 4.7.1.3 |
M | 5232 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_set_path (5243 to 5254 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5249 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5252 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5243 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5247 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5249 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5252 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5243 | Static procedure is not explicitly called in code analysed. : hlua_http_req_set_path | GJB 4.7.1.3 |
M | 5246 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_set_query (5257 to 5281 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5263 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5275 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5257 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5261 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5263 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5267 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 5267 | Expression needs brackets. | GJB 5.1.2 |
M | 5276 | Signed/unsigned conversion without cast. : (int and unsigned int): trash.data += name_len | GJB 4.6.1.9 |
M | 5279 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5257 | Static procedure is not explicitly called in code analysed. : hlua_http_req_set_query | GJB 4.7.1.3 |
M | 5260 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_req_set_uri (5284 to 5295 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5290 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5293 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5284 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5290 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5293 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5284 | Static procedure is not explicitly called in code analysed. : hlua_http_req_set_uri | GJB 4.7.1.3 |
M | 5287 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_res_set_status (5298 to 5310 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5303 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 5305 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5298 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5302 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5305 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5298 | Static procedure is not explicitly called in code analysed. : hlua_http_res_set_status | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checktxn (5323 to 5326 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5323 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_set_var (5328 to 5357 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5349 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5354 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5328 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5331 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5349 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5349 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5351 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5351 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5328 | Static procedure is not explicitly called in code analysed. : hlua_set_var | GJB 4.7.1.3 |
M | 5332 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_unset_var (5359 to 5378 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5375 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5376 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5359 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5362 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5375 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5375 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5359 | Static procedure is not explicitly called in code analysed. : hlua_unset_var | GJB 4.7.1.3 |
M | 5363 | Procedure contains UR data flow anomalies. : len | GJB 4.13.1.4 |
M | 5364 | Procedure contains UR data flow anomalies. : smp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_get_var (5380 to 5402 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5395 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5396 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 5380 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5383 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5395 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 5395 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5380 | Static procedure is not explicitly called in code analysed. : hlua_get_var | GJB 4.7.1.3 |
M | 5384 | Procedure contains UR data flow anomalies. : len | GJB 4.13.1.4 |
M | 5385 | Procedure contains UR data flow anomalies. : smp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_set_priv (5404 to 5428 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5421 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 5404 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5404 | Static procedure is not explicitly called in code analysed. : hlua_set_priv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_get_priv (5430 to 5452 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5449 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 5430 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5430 | Static procedure is not explicitly called in code analysed. : hlua_get_priv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_new (5458 to 5531 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5475 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5458 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5458 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5458 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_deflog (5533 to 5544 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5542 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5533 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5535 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5542 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5533 | Static procedure is not explicitly called in code analysed. : hlua_txn_deflog | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_log (5546 to 5562 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5560 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5546 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5549 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5557 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5557 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5560 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5546 | Static procedure is not explicitly called in code analysed. : hlua_txn_log | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_log_debug (5564 to 5574 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5572 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5564 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5566 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5572 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5564 | Static procedure is not explicitly called in code analysed. : hlua_txn_log_debug | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_log_info (5576 to 5586 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5584 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5576 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5578 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5584 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5576 | Static procedure is not explicitly called in code analysed. : hlua_txn_log_info | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_log_warning (5588 to 5598 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5596 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5588 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5590 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5596 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5588 | Static procedure is not explicitly called in code analysed. : hlua_txn_log_warning | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_log_alert (5600 to 5610 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5608 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5600 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5608 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5600 | Static procedure is not explicitly called in code analysed. : hlua_txn_log_alert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_set_loglevel (5612 to 5626 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5624 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5612 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5624 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5612 | Static procedure is not explicitly called in code analysed. : hlua_txn_set_loglevel | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_set_tos (5628 to 5639 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5637 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5628 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5637 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5628 | Static procedure is not explicitly called in code analysed. : hlua_txn_set_tos | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_set_mark (5641 to 5652 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5650 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5641 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5650 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5641 | Static procedure is not explicitly called in code analysed. : hlua_txn_set_mark | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_set_priority_class (5654 to 5662 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5660 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5654 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5660 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5654 | Static procedure is not explicitly called in code analysed. : hlua_txn_set_priority_class | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_set_priority_offset (5664 to 5672 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5670 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5664 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5670 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5664 | Static procedure is not explicitly called in code analysed. : hlua_txn_set_priority_offset | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_forward_reply (5679 to 5823 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5699 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 5715 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 5747 | Pointer not checked for null before use. : n | GJB 5.1.15 |
M | 5764 | Pointer not checked for null before use. : v | GJB 5.1.15 |
M | 5786 | Pointer not checked for null before use. : clen | GJB 5.1.15 |
M | 5724 | Pointer not checked for null before use. : status | GJB 5.1.15 |
M | 5724 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 5808 | Pointer not checked for null before use. : body | GJB 5.1.15 |
M | 5679 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5679 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5684 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5706 | Signed/unsigned conversion without cast. : (unsigned int and int): body_len | GJB 4.6.1.9 |
M | 5727 | goto detected. | GJB 4.5.1.2 |
M | 5733 | goto detected. | GJB 4.5.1.2 |
M | 5738 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5738 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 5738 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 5741 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5741 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5743 | goto detected. | GJB 4.5.1.2 |
M | 5752 | goto detected. | GJB 4.5.1.2 |
M | 5760 | goto detected. | GJB 4.5.1.2 |
M | 5769 | goto detected. | GJB 4.5.1.2 |
M | 5783 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5787 | goto detected. | GJB 4.5.1.2 |
M | 5800 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 5807 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5808 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5809 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5810 | goto detected. | GJB 4.5.1.2 |
M | 5816 | goto detected. | GJB 4.5.1.2 |
M | 5705 | Procedure contains UR data flow anomalies. : body | GJB 4.13.1.4 |
M | 5739 | Procedure contains UR data flow anomalies. : nlen | GJB 4.13.1.4 |
M | 5739 | Procedure contains UR data flow anomalies. : vlen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_done (5833 to 5901 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5843 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5848 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 5867 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 5833 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5862 | goto detected. | GJB 4.5.1.2 |
M | 5865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5833 | Static procedure is not explicitly called in code analysed. : hlua_txn_done | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_reply_new (5914 to 6044 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5941 | Name redeclared in another C name space (MR). : reason | GJB 4.1.1.16 |
M | 5947 | Name redeclared in another C name space (MR). : body | GJB 4.1.1.16 |
M | 5921 | Pointer not checked for null before use. : htxn | GJB 5.1.15 |
M | 5966 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 5914 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 5917 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5921 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 5934 | goto detected. | GJB 4.5.1.2 |
M | 5937 | goto detected. | GJB 4.5.1.2 |
M | 5938 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 5990 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5990 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5914 | Static procedure is not explicitly called in code analysed. : hlua_txn_reply_new | GJB 4.7.1.3 |
M | 5941 | Identifier reuse: label vs variable (MR). : reason | GJB 4.1.1.2 |
M | 5947 | Identifier reuse: label vs variable (MR). : body |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_reply_set_status (6049 to 6072 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6067 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 6049 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6052 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6057 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6057 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6049 | Static procedure is not explicitly called in code analysed. : hlua_txn_reply_set_status | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_reply_add_header (6078 to 6122 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6095 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 6116 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 6078 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6080 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6081 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6111 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 6078 | Static procedure is not explicitly called in code analysed. : hlua_txn_reply_add_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_reply_del_header (6125 to 6146 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6140 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 6125 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6127 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6125 | Static procedure is not explicitly called in code analysed. : hlua_txn_reply_del_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_txn_reply_set_body (6149 to 6161 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6156 | Pointer not checked for null before use. : payload | GJB 5.1.15 |
M | 6149 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6149 | Static procedure is not explicitly called in code analysed. : hlua_txn_reply_set_body | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_log (6163 to 6177 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6175 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 6163 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6163 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_log_debug (6179 to 6187 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6185 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 6179 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6181 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6179 | Static procedure is not explicitly called in code analysed. : hlua_log_debug | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_log_info (6189 to 6197 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6195 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 6189 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6189 | Static procedure is not explicitly called in code analysed. : hlua_log_info | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_log_warning (6199 to 6207 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6205 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 6199 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6201 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6199 | Static procedure is not explicitly called in code analysed. : hlua_log_warning | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_log_alert (6209 to 6217 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6215 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 6209 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6209 | Static procedure is not explicitly called in code analysed. : hlua_log_alert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_sleep_yield (6219 to 6225 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6219 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6219 | Static procedure is not explicitly called in code analysed. : hlua_sleep_yield | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_sleep (6227 to 6240 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6227 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 6238 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 6227 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_msleep (6242 to 6255 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6242 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6253 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 6242 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_yield_yield (6261 to 6264 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6261 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6261 | Static procedure is not explicitly called in code analysed. : hlua_yield_yield | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_yield (6266 to 6270 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6266 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6268 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 6266 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_set_nice (6276 to 6298 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6276 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6288 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6294 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 6276 | Static procedure is not explicitly called in code analysed. : hlua_set_nice | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_process_task (6308 to 6355 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6320 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> max_time = hlua_timeout_task | GJB 4.6.1.9 |
M | 6340 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6347 | Null case in switch statement. | GJB 4.3.1.8 |
M | 6323 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 6328 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 6341 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 6349 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_init (6363 to 6379 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6363 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6370 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 6372 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 6377 | Value is not of appropriate type. : (unsigned int and int): LIST_ADDQ ( & hlua_init_functions [ hlua_state_id | GJB 4.6.1.8 |
M | 6363 | Static procedure is not explicitly called in code analysed. : hlua_register_init | GJB 4.7.1.3 |
M | 6379 | Memory not freed after last reference. : init |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_task (6390 to 6440 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6407 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 6426 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 6426 | Pointer not checked for null before use. : task | GJB 5.1.15 |
M | 6390 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6399 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 6433 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6429 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 6390 | Static procedure is not explicitly called in code analysed. : hlua_register_task | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_sample_conv_wrapper (6446 to 6570 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6506 | Pointer not checked for null before use. : arg_p | GJB 5.1.15 |
M | 6481 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 6446 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6448 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6450 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6476 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6476 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6476 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 6477 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6486 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6493 | Value is not of appropriate type. : (unsigned int and int): lua_rawgeti ( stream -> hlua -> T , LUA_REGISTRYINDEX , fcn -> function_ref [ stream -> hlua -> state_id | GJB 4.6.1.8 |
M | 6518 | Signed/unsigned conversion without cast. : (int and unsigned int): stream -> hlua -> max_time = hlua_timeout_session | GJB 4.6.1.9 |
M | 6529 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6538 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6543 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6548 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6552 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6556 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6560 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6567 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6569 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6446 | Static procedure is not explicitly called in code analysed. : hlua_sample_conv_wrapper | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_sample_fetch_wrapper (6577 to 6704 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6614 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 6578 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6578 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6580 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6582 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6609 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6609 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6609 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 6610 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6619 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6626 | Value is not of appropriate type. : (unsigned int and int): lua_rawgeti ( stream -> hlua -> T , LUA_REGISTRYINDEX , fcn -> function_ref [ stream -> hlua -> state_id | GJB 4.6.1.8 |
M | 6637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6649 | Signed/unsigned conversion without cast. : (int and unsigned int): stream -> hlua -> max_time = hlua_timeout_session | GJB 4.6.1.9 |
M | 6660 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6672 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6677 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6682 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6686 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6690 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6694 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6701 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6703 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6629 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 6577 | Static procedure is not explicitly called in code analysed. : hlua_sample_fetch_wrapper | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_converters (6710 to 6777 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6730 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 6730 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 6734 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 6762 | Pointer not checked for null before use. : (sck)->kw.kw | GJB 5.1.15 |
M | 6710 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6713 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6726 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 6733 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6734 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 6738 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 6743 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 6743 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 6743 | Use of sizeof on a type. | GJB 5.1.8 |
M | 6743 | Expression needs brackets. | GJB 5.1.2 |
M | 6754 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 6757 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 6760 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 6760 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 6761 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 6765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6771 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6710 | Static procedure is not explicitly called in code analysed. : hlua_register_converters | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_fetches (6783 to 6851 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6803 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 6803 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 6807 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 6835 | Pointer not checked for null before use. : (sfk)->kw.kw | GJB 5.1.15 |
M | 6783 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6785 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6799 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 6806 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6807 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 6811 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 6816 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 6816 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 6816 | Use of sizeof on a type. | GJB 5.1.8 |
M | 6816 | Expression needs brackets. | GJB 5.1.2 |
M | 6827 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 6830 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 6833 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 6833 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 6834 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 6838 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6845 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 6783 | Static procedure is not explicitly called in code analysed. : hlua_register_fetches | GJB 4.7.1.3 |
M | 6851 | Memory not freed after last reference. : sfk |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_set_wake_time (6855 to 6873 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6871 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 6855 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 6871 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> wake_time = wakeup_ms | GJB 4.6.1.9 |
M | 6855 | Static procedure is not explicitly called in code analysed. : hlua_set_wake_time | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_action (6881 to 7050 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6927 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 6882 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 6884 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6884 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 6887 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 6896 | goto detected. | GJB 4.5.1.2 |
M | 6897 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 6909 | goto detected. | GJB 4.5.1.2 |
M | 6914 | goto detected. | GJB 4.5.1.2 |
M | 6922 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6922 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6922 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 6923 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6929 | goto detected. | GJB 4.5.1.2 |
M | 6933 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6937 | goto detected. | GJB 4.5.1.2 |
M | 6941 | Value is not of appropriate type. : (unsigned int and int): lua_rawgeti ( s -> hlua -> T , LUA_REGISTRYINDEX , rule -> arg.hlua_rule -> fcn -> function_ref [ s -> hlua -> state_id | GJB 4.6.1.8 |
M | 6948 | goto detected. | GJB 4.5.1.2 |
M | 6953 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 6958 | goto detected. | GJB 4.5.1.2 |
M | 6968 | Signed/unsigned conversion without cast. : (int and unsigned int): s -> hlua -> max_time = hlua_timeout_session | GJB 4.6.1.9 |
M | 6976 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 6982 | goto detected. | GJB 4.5.1.2 |
M | 6991 | goto detected. | GJB 4.5.1.2 |
M | 6994 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7012 | goto detected. | GJB 4.5.1.2 |
M | 7015 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7020 | goto detected. | GJB 4.5.1.2 |
M | 7020 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7024 | goto detected. | GJB 4.5.1.2 |
M | 7024 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7028 | goto detected. | GJB 4.5.1.2 |
M | 7028 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7035 | goto detected. | GJB 4.5.1.2 |
M | 7035 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7039 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7043 | goto detected. | GJB 4.5.1.2 |
M | 7044 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7048 | Signed/unsigned conversion without cast. : (int and unsigned int): s -> hlua -> wake_time = TICK_ETERNITY | GJB 4.6.1.9 |
M | 6944 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 6881 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_wakeup (7052 to 7059 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7052 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 7057 | Signed/unsigned conversion without cast. : (int and unsigned int): t -> expire = TICK_ETERNITY | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_init (7061 to 7155 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7076 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 7086 | Pointer not checked for null before use. : task | GJB 5.1.15 |
M | 7111 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 7066 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7066 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 7067 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7106 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7106 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7106 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 7107 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7117 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7125 | Value is not of appropriate type. : (unsigned int and int): lua_rawgeti ( hlua -> T , LUA_REGISTRYINDEX , ctx -> rule -> arg.hlua_rule -> fcn -> function_ref [ hlua -> state_id | GJB 4.6.1.8 |
M | 7137 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7096 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 7061 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_fct (7157 to 7234 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7163 | Pointer not checked for null before use. : strm | GJB 5.1.15 |
M | 7185 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 7174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7190 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7191 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> wake_time != TICK_ETERNITY | GJB 4.6.1.9 |
M | 7196 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7198 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7200 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7201 | goto detected. | GJB 4.5.1.2 |
M | 7201 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7206 | goto detected. | GJB 4.5.1.2 |
M | 7206 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7211 | goto detected. | GJB 4.5.1.2 |
M | 7211 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7216 | goto detected. | GJB 4.5.1.2 |
M | 7216 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7222 | goto detected. | GJB 4.5.1.2 |
M | 7222 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7225 | goto detected. | GJB 4.5.1.2 |
M | 7226 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7178 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_tcp_release (7236 to 7242 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7236 | Static procedure is not explicitly called in code analysed. : hlua_applet_tcp_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_init (7248 to 7347 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7269 | Pointer not checked for null before use. : txn | GJB 5.1.15 |
M | 7265 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 7279 | Pointer not checked for null before use. : task | GJB 5.1.15 |
M | 7304 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 7253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7253 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 7255 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7299 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7299 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7299 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 7300 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7310 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7318 | Value is not of appropriate type. : (unsigned int and int): lua_rawgeti ( hlua -> T , LUA_REGISTRYINDEX , ctx -> rule -> arg.hlua_rule -> fcn -> function_ref [ hlua -> state_id | GJB 4.6.1.8 |
M | 7330 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7289 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 7248 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_fct (7349 to 7518 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7392 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 7356 | Pointer not checked for null before use. : strm | GJB 5.1.15 |
M | 7360 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 7390 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 7489 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 7512 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 7379 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 7495 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 7469 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 7392 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 7363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7364 | goto detected. | GJB 4.5.1.2 |
M | 7369 | goto detected. | GJB 4.5.1.2 |
M | 7376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7383 | goto detected. | GJB 4.5.1.2 |
M | 7398 | goto detected. | GJB 4.5.1.2 |
M | 7401 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 7423 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> wake_time != TICK_ETERNITY | GJB 4.6.1.9 |
M | 7425 | goto detected. | GJB 4.5.1.2 |
M | 7428 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7430 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7432 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7433 | goto detected. | GJB 4.5.1.2 |
M | 7433 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7438 | goto detected. | GJB 4.5.1.2 |
M | 7438 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7443 | goto detected. | GJB 4.5.1.2 |
M | 7443 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7448 | goto detected. | GJB 4.5.1.2 |
M | 7448 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7454 | goto detected. | GJB 4.5.1.2 |
M | 7454 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7457 | goto detected. | GJB 4.5.1.2 |
M | 7458 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7463 | goto detected. | GJB 4.5.1.2 |
M | 7466 | goto detected. | GJB 4.5.1.2 |
M | 7472 | goto detected. | GJB 4.5.1.2 |
M | 7517 | goto detected. | GJB 4.5.1.2 |
M | 7415 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_http_release (7520 to 7526 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7520 | Static procedure is not explicitly called in code analysed. : hlua_applet_http_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_register_lua (7535 to 7577 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7565 | Pointer not checked for null before use. : cur_arg | GJB 5.1.15 |
M | 7535 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7536 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7538 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7539 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 7542 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7549 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7561 | Type conversion without cast. : (int and char): * args [ * cur_arg ] == '\0' | GJB 4.6.1.9 |
M | 7565 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.hlua_rule -> args [ i | GJB 4.6.1.8 |
M | 7566 | Value is not of appropriate type. : (unsigned int and int): ! rule -> arg.hlua_rule -> args [ i | GJB 4.6.1.8 |
M | 7572 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.hlua_rule -> args [ i | GJB 4.6.1.8 |
M | 7535 | Static procedure is not explicitly called in code analysed. : action_register_lua | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_register_service_http (7579 to 7617 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7579 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7580 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7582 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7596 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7579 | Static procedure is not explicitly called in code analysed. : action_register_service_http | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_action (7623 to 7738 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7662 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 7676 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 7711 | Pointer not checked for null before use. : (akl)->kw.kw | GJB 5.1.15 |
M | 7662 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 7623 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 7626 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7648 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 7675 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7676 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 7680 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 7689 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7689 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 7689 | Use of sizeof on a type. | GJB 5.1.8 |
M | 7689 | Expression needs brackets. | GJB 5.1.2 |
M | 7700 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 7706 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 7709 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 7709 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 7710 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7714 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7717 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7623 | Static procedure is not explicitly called in code analysed. : hlua_register_action | GJB 4.7.1.3 |
M | 7738 | Memory not freed after last reference. : akl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_register_service_tcp (7740 to 7772 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7740 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7741 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7743 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7751 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7740 | Static procedure is not explicitly called in code analysed. : action_register_service_tcp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_service (7778 to 7860 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7802 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 7802 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 7806 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 7836 | Pointer not checked for null before use. : (akl)->kw.kw | GJB 5.1.15 |
M | 7842 | Pointer not checked for null before use. : env | GJB 5.1.15 |
M | 7851 | Pointer not checked for null before use. : (fcn)->name | GJB 5.1.15 |
M | 7778 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 7781 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7798 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 7805 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7806 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 7810 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 7815 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7815 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 7815 | Use of sizeof on a type. | GJB 5.1.8 |
M | 7815 | Expression needs brackets. | GJB 5.1.2 |
M | 7823 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 7823 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 7824 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7827 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7827 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 7828 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 7831 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 7834 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 7834 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 7835 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 7839 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7851 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7778 | Static procedure is not explicitly called in code analysed. : hlua_register_service | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_cli_parse_fct (7865 to 7956 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7951 | Name redeclared in another C name space (MR). : error | GJB 4.1.1.16 |
M | 7881 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 7877 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 7889 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 7908 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 7865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7865 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7869 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 7870 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 7872 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7873 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 7890 | goto detected. | GJB 4.5.1.2 |
M | 7899 | goto detected. | GJB 4.5.1.2 |
M | 7903 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7903 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7903 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 7904 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7909 | goto detected. | GJB 4.5.1.2 |
M | 7913 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7915 | goto detected. | GJB 4.5.1.2 |
M | 7919 | Value is not of appropriate type. : (unsigned int and int): lua_rawgeti ( hlua -> T , LUA_REGISTRYINDEX , fcn -> function_ref [ hlua -> state_id | GJB 4.6.1.8 |
M | 7926 | goto detected. | GJB 4.5.1.2 |
M | 7931 | Value is not of appropriate type. : (unsigned int and int): * args [ i | GJB 4.6.1.8 |
M | 7935 | goto detected. | GJB 4.5.1.2 |
M | 7937 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( hlua -> T , args [ i | GJB 4.6.1.8 |
M | 7942 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> max_time = hlua_timeout_session | GJB 4.6.1.9 |
M | 7953 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 7865 | Static procedure is not explicitly called in code analysed. : hlua_cli_parse_fct | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_cli_io_handler_fct (7958 to 8023 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 7969 | Pointer not checked for null before use. : si | GJB 5.1.15 |
M | 7992 | Pointer not checked for null before use. : hlua | GJB 5.1.15 |
M | 7992 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 7969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 7980 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7985 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua -> wake_time != TICK_ETERNITY | GJB 4.6.1.9 |
M | 7990 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7992 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7994 | Name found with length less than 2. : T | GJB 4.8.1.1 |
M | 7995 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8000 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8005 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8010 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8016 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8020 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 7973 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 7958 | Static procedure is not explicitly called in code analysed. : hlua_cli_io_handler_fct | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_cli_io_release_fct (8025 to 8029 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8025 | Static procedure is not explicitly called in code analysed. : hlua_cli_io_release_fct | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_cli (8037 to 8144 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8126 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 8128 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 8129 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 8131 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 8083 | Pointer not checked for null before use. : fcn | GJB 5.1.15 |
M | 8129 | Pointer not checked for null before use. : (fcn)->name | GJB 5.1.15 |
M | 8135 | Pointer not checked for null before use. : (fcn)->name | GJB 5.1.15 |
M | 8115 | Pointer not checked for null before use. : message | GJB 5.1.15 |
M | 8085 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 8080 | Pointer not checked for null before use. : kw | GJB 5.1.15 |
M | 8128 | Pointer not checked for null before use. : (fcn)->name | GJB 5.1.15 |
M | 8037 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 8040 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8045 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 8047 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8060 | Signed/unsigned conversion without cast. : (int and unsigned int): hlua_checkfunction | GJB 4.6.1.9 |
M | 8072 | Value is not of appropriate type. : (unsigned int and int): kw [ index | GJB 4.6.1.8 |
M | 8074 | Value is not of appropriate type. : (unsigned int and int): chunk_printf ( trash , "%s" , kw [ index | GJB 4.6.1.8 |
M | 8076 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( trash , " %s" , kw [ index | GJB 4.6.1.8 |
M | 8080 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8080 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 8082 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 8083 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 8087 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 8092 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 8092 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 8092 | Use of sizeof on a type. | GJB 5.1.8 |
M | 8092 | Expression needs brackets. | GJB 5.1.2 |
M | 8107 | Value is not of appropriate type. : (unsigned int and int): cli_kws -> kw [ 0 ].str_kw [ index | GJB 4.6.1.8 |
M | 8108 | Value is not of appropriate type. : (unsigned int and int): ! cli_kws -> kw [ 0 ].str_kw [ index | GJB 4.6.1.8 |
M | 8120 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 8120 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 8122 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 8122 | Signed/unsigned conversion without cast. : (int and unsigned int): len += strlen | GJB 4.6.1.9 |
M | 8122 | Value is not of appropriate type. : (unsigned int and int): len += strlen ( cli_kws -> kw [ 0 ].str_kw [ i | GJB 4.6.1.8 |
M | 8122 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 8123 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 8126 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8129 | Value is not of appropriate type. : (unsigned int and int): ( char * ) fcn -> name , cli_kws -> kw [ 0 ].str_kw [ i | GJB 4.6.1.8 |
M | 8131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8132 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ hlua_state_id | GJB 4.6.1.8 |
M | 8135 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 8037 | Static procedure is not explicitly called in code analysed. : hlua_register_cli | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_read_timeout (8146 to 8168 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8147 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8148 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8150 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8166 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_session_timeout (8170 to 8176 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8170 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8171 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8170 | Static procedure is not explicitly called in code analysed. : hlua_session_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_task_timeout (8178 to 8184 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8178 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8179 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8180 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8178 | Static procedure is not explicitly called in code analysed. : hlua_task_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_applet_timeout (8186 to 8192 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8186 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8187 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8186 | Static procedure is not explicitly called in code analysed. : hlua_applet_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_forced_yield (8194 to 8206 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8194 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8196 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8198 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8200 | Signed/unsigned conversion without cast. : (unsigned int and long long): hlua_nb_instruction = strtoll | GJB 4.6.1.9 |
M | 8194 | Static procedure is not explicitly called in code analysed. : hlua_forced_yield | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_parse_maxmem (8208 to 8224 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8208 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8210 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8214 | Expression needs brackets. | GJB 5.1.2 |
M | 8214 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 8208 | Static procedure is not explicitly called in code analysed. : hlua_parse_maxmem | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_load_state (8241 to 8282 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8241 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8241 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 8241 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8261 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8264 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8268 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8279 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_load (8284 to 8297 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8285 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8286 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8288 | Expression needs brackets. | GJB 5.1.2 |
M | 8288 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 8284 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_load_per_thread (8299 to 8341 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8301 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8305 | Expression needs brackets. | GJB 5.1.2 |
M | 8305 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 8312 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 8320 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ len | GJB 4.6.1.8 |
M | 8321 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 8323 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 8329 | Modification of string literal. : per_thread_load | GJB 5.1.19 |
M | 8329 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ len | GJB 4.6.1.8 |
M | 8330 | Modification of string literal. : per_thread_load | GJB 5.1.19 |
M | 8330 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ len + 1 | GJB 4.6.1.8 |
M | 8332 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ len | GJB 4.6.1.8 |
M | 8299 | Static procedure is not explicitly called in code analysed. : hlua_load_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_prepend_path (8346 to 8357 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8346 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 8346 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8346 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_config_prepend_path (8359 to 8412 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8363 | Name redeclared in another C name space (MR). : path | GJB 4.1.1.16 |
M | 8364 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 8409 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 8408 | Pointer not checked for null before use. : (p)->type | GJB 5.1.15 |
M | 8410 | Pointer not checked for null before use. : (p)->path | GJB 5.1.15 |
M | 8359 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8360 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8368 | goto detected. | GJB 4.5.1.2 |
M | 8373 | goto detected. | GJB 4.5.1.2 |
M | 8378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8380 | goto detected. | GJB 4.5.1.2 |
M | 8385 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 8388 | goto detected. | GJB 4.5.1.2 |
M | 8393 | goto detected. | GJB 4.5.1.2 |
M | 8398 | goto detected. | GJB 4.5.1.2 |
M | 8406 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 8407 | free used on string. | GJB 5.1.19 |
M | 8408 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 8408 | free used on string. | GJB 5.1.19 |
M | 8409 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 8359 | Static procedure is not explicitly called in code analysed. : hlua_config_prepend_path | GJB 4.7.1.3 |
M | 8412 | Memory not freed after last reference. : p | GJB 5.1.17 |
M | 8409 | Identifier reuse: label vs variable (MR). : err |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_post_init_state (8434 to 8523 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8513 | Pointer not checked for null before use. : trace | GJB 5.1.15 |
M | 8458 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 8492 | Pointer not checked for null before use. : trace | GJB 5.1.15 |
M | 8494 | Pointer not checked for null before use. : trace | GJB 5.1.15 |
M | 8434 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 8437 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8439 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8440 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8441 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8466 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry ( init , & hlua_init_functions [ hlua_state_id | GJB 4.6.1.8 |
M | 8484 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8502 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8507 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 8436 | Procedure contains UR data flow anomalies. : init | GJB 4.13.1.4 |
M | 8474 | Procedure contains UR data flow anomalies. : kind |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_post_init (8525 to 8628 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8546 | Pointer not checked for null before use. : hlua_states | GJB 5.1.15 |
M | 8525 | Empty parameter list to procedure/function. : hlua_post_init | GJB 4.1.1.10 |
M | 8528 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 8530 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8546 | Value is not of appropriate type. : (unsigned int and int): hlua_states [ hlua_state_id | GJB 4.6.1.8 |
M | 8551 | Loop index is not declared locally. : hlua_state_id | GJB 4.11.1.2 |
M | 8551 | Expression needs brackets. | GJB 5.1.2 |
M | 8557 | Value is not of appropriate type. : (unsigned int and int): hlua_states [ hlua_state_id | GJB 4.6.1.8 |
M | 8560 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8560 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ i | GJB 4.6.1.8 |
M | 8561 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ i | GJB 4.6.1.8 |
M | 8561 | Value is not of appropriate type. : (unsigned int and int): per_thread_load [ i ] , hlua_states [ hlua_state_id | GJB 4.6.1.8 |
M | 8573 | Loop index is not declared locally. : hlua_state_id | GJB 4.11.1.2 |
M | 8573 | Expression needs brackets. | GJB 5.1.2 |
M | 8579 | Value is not of appropriate type. : (unsigned int and int): hlua_states [ hlua_state_id | GJB 4.6.1.8 |
M | 8598 | Expression needs brackets. | GJB 5.1.2 |
M | 8599 | Value is not of appropriate type. : (unsigned int and int): fcn -> function_ref [ i | GJB 4.6.1.8 |
M | 8531 | Procedure contains UR data flow anomalies. : fcn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_alloc (8638 to 8668 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8641 | Name redeclared in another C name space (MR). : limit | GJB 4.1.1.16 |
M | 8663 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 8641 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 8646 | Signed/unsigned conversion without cast. : (unsigned int and int): likely ( ~ zone -> limit | GJB 4.6.1.9 |
M | 8647 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 8650 | Signed/unsigned conversion without cast. : (unsigned int and int): osize | GJB 4.6.1.9 |
M | 8656 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 8656 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 8656 | Expression needs brackets. | GJB 5.1.2 |
M | 8657 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 8657 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8659 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 8661 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 8663 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8664 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 8638 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_init_state (8674 to 9138 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 8690 | Pointer not checked for null before use. : L | GJB 5.1.15 |
M | 8691 | Pointer not checked for null before use. : context | GJB 5.1.15 |
M | 8705 | Pointer not checked for null before use. : error_msg | GJB 5.1.15 |
M | 8676 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 8680 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8680 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 8681 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 8713 | Macro parameter not in brackets. : x | GJB 4.2.1.6 |
M | 8713 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | 8714 | Macro parameter not in brackets. : x | GJB 4.2.1.6 |
M | 8714 | Macro replacement list needs parentheses. | GJB 4.1.1.12 |
M | 8742 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 8742 | Value is not of appropriate type. : (unsigned int and int): hlua_class_const_int ( L , log_levels [ i | GJB 4.6.1.8 |
M | 8805 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 8805 | Value is not of appropriate type. : (unsigned int and int): hlua_class_const_int ( L , pat_match_names [ i | GJB 4.6.1.8 |
M | 8807 | Value is not of appropriate type. : (unsigned int and int): snprintf ( trash.area , trash.size , "_%s" , pat_match_names [ i | GJB 4.6.1.8 |
M | 8888 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 8888 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 8893 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.size - 1 | GJB 4.6.1.8 |
M | 8893 | Type conversion without cast. : (int and char): trash.area [ trash.size - 1 ] = '\0' | GJB 4.6.1.9 |
M | 8895 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 8895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8927 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 8927 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 8932 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.size - 1 | GJB 4.6.1.8 |
M | 8932 | Type conversion without cast. : (int and char): trash.area [ trash.size - 1 ] = '\0' | GJB 4.6.1.9 |
M | 8934 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 8934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 8935 | Modification of string literal. : p | GJB 5.1.19 |
M | 9137 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 8677 | Procedure contains UR data flow anomalies. : idx | GJB 4.13.1.4 |
M | 8684 | Procedure contains UR data flow anomalies. : pp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_init (9140 to 9293 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 9141 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 9156 | Expression needs brackets. | GJB 5.1.2 |
M | 9157 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 9157 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & hlua_init_functions [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_deinit (9295 to 9303 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 9295 | Empty parameter list to procedure/function. : hlua_deinit | GJB 4.1.1.10 |
M | 9299 | Expression needs brackets. | GJB 5.1.2 |
M | 9300 | Value is not of appropriate type. : (unsigned int and int): hlua_states [ thr | GJB 4.6.1.8 |
M | 9301 | Value is not of appropriate type. : (unsigned int and int): lua_close ( hlua_states [ thr | GJB 4.6.1.8 |
M | 9295 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_build_options (9307 to 9313 hlua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 9309 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 9307 | Static procedure is not explicitly called in code analysed. : hlua_register_build_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkboolean (46 to 51 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 46 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_pushunsigned (54 to 65 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 54 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_pushunsigned_ll (68 to 83 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_pushfield (88 to 160 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 88 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 100 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 105 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 118 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 131 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 147 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 151 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_pushstrippedstring (168 to 177 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 168 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 170 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 170 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 171 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 171 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 173 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 174 | Expression needs brackets. | GJB 5.1.2 |
M | 174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_class_const_int (187 to 192 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 187 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 187 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_class_const_str (193 to 198 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 193 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_class_function (199 to 204 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 199 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 199 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 199 | Name found with length less than 2. : L | GJB 4.8.1.1 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | function |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_dump_object (207 to 212 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 207 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 209 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_register_metatable (219 to 247 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 219 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 219 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_checkudata (250 to 285 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 250 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 252 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 284 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_now (288 to 298 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_parse_date (304 to 332 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 304 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 304 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 306 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 307 | Procedure contains UR data flow anomalies. : len |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fcn |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_http_date (333 to 336 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 333 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 333 | Static procedure is not explicitly called in code analysed. : hlua_http_date | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_imf_date (337 to 340 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 337 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 337 | Static procedure is not explicitly called in code analysed. : hlua_imf_date | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_rfc850_date (341 to 344 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 341 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 341 | Static procedure is not explicitly called in code analysed. : hlua_rfc850_date | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_asctime_date (345 to 348 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 345 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 345 | Static procedure is not explicitly called in code analysed. : hlua_asctime_date | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_get_info (350 to 363 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 350 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 352 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 358 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , info_fields [ i | GJB 4.6.1.8 |
M | 359 | Value is not of appropriate type. : (unsigned int and int): L , & stats [ i | GJB 4.6.1.8 |
M | 350 | Static procedure is not explicitly called in code analysed. : hlua_get_info | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_check_concat (365 to 368 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 365 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_concat_add (370 to 411 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 402 | Pointer not checked for null before use. : new | GJB 5.1.15 |
M | 396 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 408 | Pointer not checked for null before use. : buffer | GJB 5.1.15 |
M | 408 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 370 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 374 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 374 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 375 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 376 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 395 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 396 | Signed/unsigned conversion without cast. : (int and unsigned int): b -> size - b -> len | GJB 4.6.1.9 |
M | 396 | Expression needs brackets. | GJB 5.1.2 |
M | 396 | Signed/unsigned conversion without cast. : (int and unsigned int): b -> size - b -> len < l | GJB 4.6.1.9 |
M | 398 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 400 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 401 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 403 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 404 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 409 | Signed/unsigned conversion without cast. : (int and unsigned int): b -> len += l | GJB 4.6.1.9 |
M | 370 | Static procedure is not explicitly called in code analysed. : hlua_concat_add | GJB 4.7.1.3 |
M | 376 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 395 | Procedure contains UR data flow anomalies. : new |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_concat_dump (413 to 429 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 427 | Pointer not checked for null before use. : buffer | GJB 5.1.15 |
M | 427 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 413 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 416 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 413 | Static procedure is not explicitly called in code analysed. : hlua_concat_dump | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_concat_new (431 to 447 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 437 | Pointer not checked for null before use. : b | GJB 5.1.15 |
M | 431 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
concat_tostring (449 to 454 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 452 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 449 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_concat_init (456 to 480 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 456 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_new_stktable (482 to 493 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 482 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_check_stktable (495 to 498 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 495 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_stktable_info (501 to 560 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 508 | Pointer not checked for null before use. : tbl | GJB 5.1.15 |
M | 501 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 516 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , stktable_types [ tbl -> type | GJB 4.6.1.8 |
M | 544 | Value is not of appropriate type. : (unsigned int and int): tbl -> data_ofs [ dt | GJB 4.6.1.8 |
M | 547 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , stktable_data_types [ dt | GJB 4.6.1.8 |
M | 549 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ dt | GJB 4.6.1.8 |
M | 550 | Value is not of appropriate type. : (unsigned int and int): lua_pushinteger ( L , tbl -> data_arg [ dt | GJB 4.6.1.8 |
M | 524 | Actual and formal parameters inconsistent (MR). : (stktable and unsigned int): param 2 | GJB 4.7.1.9 |
M | 528 | Actual and formal parameters inconsistent (MR). : (stktable and unsigned int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_stktable_entry (563 to 600 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 593 | Pointer not checked for null before use. : de | GJB 5.1.15 |
M | 578 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 581 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 584 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 587 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 592 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 563 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 563 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 570 | Value is not of appropriate type. : (unsigned int and int): t -> data_ofs [ dt | GJB 4.6.1.8 |
M | 573 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , stktable_data_types [ dt | GJB 4.6.1.8 |
M | 576 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ dt | GJB 4.6.1.8 |
M | 587 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr , std_t_frqp ) , t -> data_arg [ dt | GJB 4.6.1.8 |
M | 593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 576 | No default case in switch statement. | GJB 4.3.1.4 |
M | 584 | Actual and formal parameters inconsistent (MR). : (int and uns long long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_stktable_lookup (609 to 648 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 621 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 609 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 619 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_error (658 to 677 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 658 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 658 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 659 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 670 | Signed/unsigned conversion without cast. : (int and unsigned int): len >= sizeof | GJB 4.6.1.9 |
M | 671 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_stktable_dump (680 to 834 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 686 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 687 | Name redeclared in another C name space (MR). : op | GJB 4.1.1.16 |
M | 689 | Name redeclared in another C name space (MR). : val | GJB 4.1.1.16 |
M | 755 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 776 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 779 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 782 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 785 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 680 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 692 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 701 | Null case in switch statement. | GJB 4.3.1.8 |
M | 711 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 711 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 721 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Value is not of appropriate type. : (unsigned int and int): t -> data_ofs [ dt | GJB 4.6.1.8 |
M | 724 | Value is not of appropriate type. : (unsigned int and int): filter [ filter_count | GJB 4.6.1.8 |
M | 733 | Value is not of appropriate type. : (unsigned int and int): filter [ filter_count | GJB 4.6.1.8 |
M | 737 | Value is not of appropriate type. : (unsigned int and int): filter [ filter_count | GJB 4.6.1.8 |
M | 751 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): t -> data_ofs [ filter [ i | GJB 4.6.1.8 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): t -> data_ofs [ filter [ i ].type | GJB 4.6.1.8 |
M | 772 | Value is not of appropriate type. : (unsigned int and int): ptr = stktable_data_ptr ( t , ts , filter [ i | GJB 4.6.1.8 |
M | 774 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ filter [ i | GJB 4.6.1.8 |
M | 774 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ filter [ i ].type | GJB 4.6.1.8 |
M | 785 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr , std_t_frqp ) , t -> data_arg [ filter [ i | GJB 4.6.1.8 |
M | 785 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr , std_t_frqp ) , t -> data_arg [ filter [ i ].type | GJB 4.6.1.8 |
M | 793 | Value is not of appropriate type. : (unsigned int and int): op = filter [ i | GJB 4.6.1.8 |
M | 795 | Value is not of appropriate type. : (unsigned int and int): val < filter [ i | GJB 4.6.1.8 |
M | 795 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 795 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 795 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 795 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | Value is not of appropriate type. : (unsigned int and int): val == filter [ i | GJB 4.6.1.8 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 797 | Value is not of appropriate type. : (unsigned int and int): val > filter [ i | GJB 4.6.1.8 |
M | 797 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 797 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 797 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 797 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 810 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 814 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 820 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 810 | Procedure contains UR data flow anomalies. : addr | GJB 4.13.1.4 |
M | 814 | Procedure contains UR data flow anomalies. : addr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_new_listener (836 to 847 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 836 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_check_listener (849 to 852 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 849 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_listener_get_stats (854 to 876 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 861 | Pointer not checked for null before use. : li | GJB 5.1.15 |
M | 854 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 857 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 870 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , stat_fields [ i | GJB 4.6.1.8 |
M | 871 | Value is not of appropriate type. : (unsigned int and int): L , & stats [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_new_server (878 to 903 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 878 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 880 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_check_server (905 to 908 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 905 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_get_stats (910 to 932 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 917 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 910 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 913 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 926 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , stat_fields [ i | GJB 4.6.1.8 |
M | 927 | Value is not of appropriate type. : (unsigned int and int): L , & stats [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_get_addr (934 to 971 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 944 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 934 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 937 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 938 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 962 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 937 | Procedure contains UR data flow anomalies. : addr | GJB 4.13.1.4 |
M | 938 | Procedure contains UR data flow anomalies. : b |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_is_draining (973 to 980 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 978 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 973 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_set_maxconn (982 to 999 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 991 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 992 | Pointer not checked for null before use. : maxconn | GJB 5.1.15 |
M | 982 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 985 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 986 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_get_maxconn (1001 to 1008 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1006 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1001 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_set_weight (1010 to 1027 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1019 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1020 | Pointer not checked for null before use. : weight | GJB 5.1.15 |
M | 1010 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1013 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1014 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_get_weight (1029 to 1036 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1034 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1029 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_set_addr (1038 to 1060 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1052 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1053 | Pointer not checked for null before use. : addr | GJB 5.1.15 |
M | 1053 | Pointer not checked for null before use. : port | GJB 5.1.15 |
M | 1038 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1041 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1042 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1043 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1050 | Procedure contains UR data flow anomalies. : port |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_shut_sess (1062 to 1071 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1067 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1062 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_set_drain (1073 to 1082 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1078 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1073 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_set_maint (1084 to 1093 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1089 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1084 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_set_ready (1095 to 1104 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1100 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1095 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_check_enable (1106 to 1117 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1111 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1106 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_check_disable (1119 to 1130 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1124 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1119 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_check_force_up (1132 to 1144 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1137 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1132 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1139 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_check_force_nolb (1146 to 1158 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1151 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1146 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1153 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_check_force_down (1160 to 1172 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1165 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1160 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_agent_enable (1174 to 1185 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1179 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1174 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_agent_disable (1187 to 1198 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1192 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1187 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_agent_force_up (1200 to 1212 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1205 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1200 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1207 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_server_agent_force_down (1214 to 1226 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1219 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 1214 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_new_proxy (1228 to 1289 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1228 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1273 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 1282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_check_proxy (1291 to 1294 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1291 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_pause (1296 to 1303 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1301 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1296 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_resume (1305 to 1312 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1310 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1305 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_stop (1314 to 1321 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1319 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1314 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_get_cap (1323 to 1332 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1329 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1330 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1323 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1326 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_get_stats (1334 to 1351 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1340 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1334 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1337 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1346 | Value is not of appropriate type. : (unsigned int and int): lua_pushstring ( L , stat_fields [ i | GJB 4.6.1.8 |
M | 1347 | Value is not of appropriate type. : (unsigned int and int): L , & stats [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_get_mode (1353 to 1362 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1359 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1360 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1353 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1356 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_proxy_shut_bcksess (1364 to 1371 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1369 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1364 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_post_init (1373 to 1428 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1373 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_tokenize (1436 to 1475 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1471 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1436 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1438 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1439 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1441 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1442 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1442 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1443 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1443 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1459 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1462 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_parse_addr (1477 to 1503 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1489 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1477 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1480 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1483 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1481 | Procedure contains UR data flow anomalies. : mask |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_match_addr (1505 to 1548 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1519 | Pointer not checked for null before use. : addr1 | GJB 5.1.15 |
M | 1519 | Pointer not checked for null before use. : addr2 | GJB 5.1.15 |
M | 1505 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1531 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1534 | Value is not of appropriate type. : (unsigned int and int): ( read_u32 ( & addr1 -> addr.v6.ip.s6_addr [ i | GJB 4.6.1.8 |
M | 1534 | Value is not of appropriate type. : (unsigned int and int): ( read_u32 ( & addr1 -> addr.v6.ip.s6_addr [ i ] ) & read_u32 ( & addr2 -> addr.v6.mask.s6_addr [ i | GJB 4.6.1.8 |
M | 1534 | Value is not of appropriate type. : (unsigned int and int): ( read_u32 ( & addr1 -> addr.v6.ip.s6_addr [ i ] ) & read_u32 ( & addr2 -> addr.v6.mask.s6_addr [ i ] ) ) != ( read_u32 ( & addr2 -> addr.v6.ip.s6_addr [ i | GJB 4.6.1.8 |
M | 1537 | Value is not of appropriate type. : (unsigned int and int): read_u32 ( & addr1 -> addr.v6.mask.s6_addr [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_check_regex (1550 to 1553 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1550 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_regex_comp (1555 to 1585 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1569 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1569 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1555 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1558 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1560 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1569 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1572 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1572 | free used on string. | GJB 5.1.19 |
M | 1555 | Static procedure is not explicitly called in code analysed. : hlua_regex_comp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_regex_exec (1587 to 1615 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1606 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 1610 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1587 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1590 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1587 | Static procedure is not explicitly called in code analysed. : hlua_regex_exec | GJB 4.7.1.3 |
M | 1591 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_regex_match (1617 to 1655 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1639 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 1643 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1617 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1624 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1649 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1649 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1649 | Value is not of appropriate type. : (unsigned int and int): pmatch [ i | GJB 4.6.1.8 |
M | 1650 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , str + pmatch [ i | GJB 4.6.1.8 |
M | 1650 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , str + pmatch [ i ].rm_so , pmatch [ i | GJB 4.6.1.8 |
M | 1650 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , str + pmatch [ i ].rm_so , pmatch [ i ].rm_eo - pmatch [ i | GJB 4.6.1.8 |
M | 1617 | Static procedure is not explicitly called in code analysed. : hlua_regex_match | GJB 4.7.1.3 |
M | 1621 | Procedure contains UR data flow anomalies. : len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_regex_free (1657 to 1665 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1662 | Pointer not checked for null before use. : regex | GJB 5.1.15 |
M | 1657 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1657 | Static procedure is not explicitly called in code analysed. : hlua_regex_free | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hlua_fcn_reg_core_fcn (1667 to 1762 hlua_fcn.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1667 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 1696 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1709 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1717 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1745 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1759 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_var_int (54 to 86 hpack-dec.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 54 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 62 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 62 | Expression needs brackets. | GJB 5.1.2 |
M | 62 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 62 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 63 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 64 | goto detected. | GJB 4.5.1.2 |
M | 67 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 67 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 68 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 74 | goto detected. | GJB 4.5.1.2 |
M | 76 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 76 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 79 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 80 | Signed/unsigned conversion without cast. : (unsigned int and int): len_in = len | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hpack_idx_to_phdr (96 to 104 hpack-dec.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 98 | Signed/unsigned conversion without cast. : (unsigned int and int): idx | GJB 4.6.1.9 |
M | 103 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hpack_alloc_string (111 to 132 hpack-dec.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 124 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hpack_decode_frame (145 to 465 hpack-dec.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 269 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 302 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 311 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 381 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 163 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 373 | Pointer not checked for null before use. : raw | GJB 5.1.15 |
M | 166 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 168 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 171 | goto detected. | GJB 4.5.1.2 |
M | 177 | Value is not of appropriate type. : (bool and unsigned char): len == ( uint32_t ) | GJB 4.6.1.8 |
M | 180 | goto detected. | GJB 4.5.1.2 |
M | 188 | goto detected. | GJB 4.5.1.2 |
M | 195 | goto detected. | GJB 4.5.1.2 |
M | 206 | goto detected. | GJB 4.5.1.2 |
M | 211 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 211 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 211 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 219 | goto detected. | GJB 4.5.1.2 |
M | 223 | Value is not of appropriate type. : (bool and unsigned char): len == ( uint32_t ) | GJB 4.6.1.8 |
M | 226 | goto detected. | GJB 4.5.1.2 |
M | 233 | goto detected. | GJB 4.5.1.2 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 243 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 245 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 246 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 248 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 257 | goto detected. | GJB 4.5.1.2 |
M | 262 | Value is not of appropriate type. : (bool and unsigned char): len == ( uint32_t ) | GJB 4.6.1.8 |
M | 262 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 262 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 266 | goto detected. | GJB 4.5.1.2 |
M | 272 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 275 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 279 | goto detected. | GJB 4.5.1.2 |
M | 284 | Value is not of appropriate type. : (bool and unsigned char): nlen == ( uint32_t ) | GJB 4.6.1.8 |
M | 287 | goto detected. | GJB 4.5.1.2 |
M | 291 | Signed/unsigned conversion without cast. : (int and unsigned int): tmp -> data += nlen | GJB 4.6.1.9 |
M | 299 | goto detected. | GJB 4.5.1.2 |
M | 304 | Value is not of appropriate type. : (bool and unsigned char): len == ( uint32_t ) | GJB 4.6.1.8 |
M | 304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 308 | goto detected. | GJB 4.5.1.2 |
M | 313 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 316 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 320 | goto detected. | GJB 4.5.1.2 |
M | 325 | Value is not of appropriate type. : (bool and unsigned char): vlen == ( uint32_t ) | GJB 4.6.1.8 |
M | 328 | goto detected. | GJB 4.5.1.2 |
M | 332 | Signed/unsigned conversion without cast. : (int and unsigned int): tmp -> data += vlen | GJB 4.6.1.9 |
M | 343 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 345 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 351 | Signed/unsigned conversion without cast. : (unsigned char and int): * raw | GJB 4.6.1.9 |
M | 360 | Value is not of appropriate type. : (bool and unsigned char): len == ( uint32_t ) | GJB 4.6.1.8 |
M | 360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 369 | goto detected. | GJB 4.5.1.2 |
M | 375 | Value is not of appropriate type. : (bool and unsigned char): len == ( uint32_t ) | GJB 4.6.1.8 |
M | 375 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 375 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 378 | goto detected. | GJB 4.5.1.2 |
M | 383 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 386 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 390 | goto detected. | GJB 4.5.1.2 |
M | 395 | Value is not of appropriate type. : (bool and unsigned char): vlen == ( uint32_t ) | GJB 4.6.1.8 |
M | 401 | goto detected. | GJB 4.5.1.2 |
M | 403 | Signed/unsigned conversion without cast. : (int and unsigned int): tmp -> data += vlen | GJB 4.6.1.9 |
M | 416 | goto detected. | GJB 4.5.1.2 |
M | 431 | goto detected. | GJB 4.5.1.2 |
M | 434 | Value is not of appropriate type. : (unsigned int and int): list [ ret | GJB 4.6.1.8 |
M | 435 | Value is not of appropriate type. : (unsigned int and int): list [ ret | GJB 4.6.1.8 |
M | 438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 441 | goto detected. | GJB 4.5.1.2 |
M | 455 | goto detected. | GJB 4.5.1.2 |
M | 459 | Value is not of appropriate type. : (unsigned int and int): list [ ret | GJB 4.6.1.8 |
M | 459 | Value is not of appropriate type. : (unsigned int and int): list [ ret ].n = list [ ret | GJB 4.6.1.8 |
M | 459 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hpack_encode_header (144 to 210 hpack-enc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 144 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 145 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 155 | Expression needs brackets. | GJB 5.1.2 |
M | 156 | goto detected. | GJB 4.5.1.2 |
M | 162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 165 | Value is not of appropriate type. : (unsigned int and int): idx = hpack_enc_stream [ pos ++ | GJB 4.6.1.8 |
M | 167 | Value is not of appropriate type. : (unsigned int and int): ist2 ( & hpack_enc_stream [ pos - n.len | GJB 4.6.1.8 |
M | 171 | Value is not of appropriate type. : (unsigned int and int): out -> area [ len ++ | GJB 4.6.1.8 |
M | 171 | Operation not appropriate to plain char. : | used with char: idx | GJB 4.1.1.15 |
M | 172 | goto detected. | GJB 4.5.1.2 |
M | 174 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) hpack_enc_stream [ pos | GJB 4.6.1.8 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Expression needs brackets. | GJB 5.1.2 |
M | 179 | Value is not of appropriate type. : (unsigned int and int): out -> area [ len ++ | GJB 4.6.1.8 |
M | 180 | Value is not of appropriate type. : (unsigned int and int): out -> area [ len ++ | GJB 4.6.1.8 |
M | 184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Expression needs brackets. | GJB 5.1.2 |
M | 186 | Value is not of appropriate type. : (unsigned int and int): out -> area [ len ++ | GJB 4.6.1.8 |
M | 198 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
huff_enc (1395 to 1408 hpack-huff.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1395 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1395 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1395 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1400 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1406 | Comment possibly contains code. | GJB 4.10.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
huff_dec (1422 to 1534 hpack-huff.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1433 | Name redeclared in another C name space (MR). : l | GJB 4.1.1.16 |
M | 1422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1424 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1425 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1433 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 1437 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1448 | Expression needs brackets. | GJB 5.1.2 |
M | 1457 | Expression needs brackets. | GJB 5.1.2 |
M | 1457 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1457 | Shifting value too far. | GJB 4.6.1.4 |
M | 1458 | Expression needs brackets. | GJB 5.1.2 |
M | 1458 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1458 | Shifting value too far. | GJB 4.6.1.4 |
M | 1459 | Expression needs brackets. | GJB 5.1.2 |
M | 1459 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1459 | Shifting value too far. | GJB 4.6.1.4 |
M | 1460 | Expression needs brackets. | GJB 5.1.2 |
M | 1461 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1475 | Value is not of appropriate type. : (unsigned int and signed char): l = rht_bit31_24 [ code >> 24 | GJB 4.6.1.8 |
M | 1476 | Value is not of appropriate type. : (unsigned int and signed char): sym = rht_bit31_24 [ code >> 24 | GJB 4.6.1.8 |
M | 1480 | Value is not of appropriate type. : (unsigned int and short): ( code >> 17 ) & 0xff | GJB 4.6.1.8 |
M | 1481 | Value is not of appropriate type. : (unsigned int and short): ( code >> 17 ) & 0xff | GJB 4.6.1.8 |
M | 1487 | Value is not of appropriate type. : (unsigned int and signed char): ( code >> 11 ) & 0x1f | GJB 4.6.1.8 |
M | 1488 | Value is not of appropriate type. : (unsigned int and signed char): ( code >> 11 ) & 0x1f | GJB 4.6.1.8 |
M | 1492 | Value is not of appropriate type. : (unsigned int and short): ( code >> 8 ) & 0xff | GJB 4.6.1.8 |
M | 1493 | Value is not of appropriate type. : (unsigned int and short): ( code >> 8 ) & 0xff | GJB 4.6.1.8 |
M | 1497 | Value is not of appropriate type. : (unsigned int and short): ( code >> 4 ) & 0xff | GJB 4.6.1.8 |
M | 1499 | Value is not of appropriate type. : (unsigned int and short): ( code >> 4 ) & 0xff | GJB 4.6.1.8 |
M | 1511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1511 | Expression needs brackets. | GJB 5.1.2 |
M | 1516 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1527 | Expression needs brackets. | GJB 5.1.2 |
M | 1527 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1527 | Value is not of appropriate type. : (bool and unsigned char): ( code & - ( 1 << ( 32 - bleft ) ) ) != ( uint32_t ) - ( 1 << | GJB 4.6.1.8 |
M | 1527 | Value is not of appropriate type. : (bool and unsigned char): ( code & - ( 1 << ( 32 - bleft ) ) ) != ( uint32_t ) - ( 1 << ( 32 - | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hpack_dht_defrag (159 to 205 hpack-tbl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 162 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 176 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 176 | Signed/unsigned conversion without cast. : (unsigned short and int): new | GJB 4.6.1.9 |
M | 183 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 184 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 188 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 188 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 194 | Signed/unsigned conversion without cast. : (unsigned short and int): old | GJB 4.6.1.9 |
M | 194 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 196 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 199 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 199 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__hpack_dht_make_room (213 to 239 hpack-tbl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 220 | Value is not of appropriate type. : (int and unsigned char): ( dht -> head + 1U | GJB 4.6.1.8 |
M | 220 | Expression needs brackets. | GJB 5.1.2 |
M | 220 | Value is not of appropriate type. : (int and unsigned char): ) + dht -> head + 1U | GJB 4.6.1.8 |
M | 220 | Expression needs brackets. | GJB 5.1.2 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 225 | Expression needs brackets. | GJB 5.1.2 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 234 | Value is not of appropriate type. : (int and unsigned char): dht -> head + 1U | GJB 4.6.1.8 |
M | 234 | Signed/unsigned conversion without cast. : (unsigned int and int): dht -> head + 1U | GJB 4.6.1.9 |
M | 234 | Expression needs brackets. | GJB 5.1.2 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hpack_dht_insert (244 to 372 hpack-tbl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | Pointer not checked for null before use. : dht | GJB 5.1.15 |
M | 263 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 264 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 266 | Signed/unsigned conversion without cast. : (unsigned int and int): head | GJB 4.6.1.9 |
M | 268 | goto detected. | GJB 4.5.1.2 |
M | 272 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 285 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 285 | Expression needs brackets. | GJB 5.1.2 |
M | 285 | Value is not of appropriate type. : (unsigned int and int): ( sizeof ( * dht ) + ( wrap + 1 ) * sizeof ( dht -> dte [ 0 ] ) <= dht -> dte [ dht -> front | GJB 4.6.1.8 |
M | 287 | Signed/unsigned conversion without cast. : (unsigned int and int): head >= used | GJB 4.6.1.9 |
M | 288 | Signed/unsigned conversion without cast. : (unsigned int and int): head | GJB 4.6.1.9 |
M | 298 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 299 | Signed/unsigned conversion without cast. : (unsigned int and int): tail | GJB 4.6.1.9 |
M | 311 | Signed/unsigned conversion without cast. : (unsigned int and int): prev = head | GJB 4.6.1.9 |
M | 312 | Signed/unsigned conversion without cast. : (unsigned int and int): tail | GJB 4.6.1.9 |
M | 313 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 328 | Value is not of appropriate type. : (unsigned int and int): headroom = dht -> dte [ dht -> front | GJB 4.6.1.8 |
M | 328 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 328 | Expression needs brackets. | GJB 5.1.2 |
M | 333 | Signed/unsigned conversion without cast. : (unsigned int and int): headroom | GJB 4.6.1.9 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Signed/unsigned conversion without cast. : (unsigned int and int): headroom >= name.len | GJB 4.6.1.9 |
M | 343 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 343 | Expression needs brackets. | GJB 5.1.2 |
M | 345 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head | GJB 4.6.1.8 |
M | 345 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head ].addr = dht -> dte [ dht -> front | GJB 4.6.1.8 |
M | 348 | Signed/unsigned conversion without cast. : (unsigned int and int): tailroom >= name.len | GJB 4.6.1.9 |
M | 348 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 348 | Expression needs brackets. | GJB 5.1.2 |
M | 349 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head | GJB 4.6.1.8 |
M | 349 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 349 | Expression needs brackets. | GJB 5.1.2 |
M | 349 | Signed/unsigned conversion without cast. : (unsigned int and int): dht -> dte [ head ].addr = dht -> dte [ tail ].addr + dht -> dte [ tail ].nlen + dht -> dte [ tail ].vlen + tailroom - ( | GJB 4.6.1.9 |
M | 356 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head | GJB 4.6.1.8 |
M | 356 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head ].addr = dht -> dte [ dht -> front | GJB 4.6.1.8 |
M | 366 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head | GJB 4.6.1.8 |
M | 367 | Value is not of appropriate type. : (unsigned int and int): dht -> dte [ head | GJB 4.6.1.8 |
M | 369 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 369 | Value is not of appropriate type. : (unsigned int and int): ( void * ) dht + dht -> dte [ head | GJB 4.6.1.8 |
M | 370 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 370 | Value is not of appropriate type. : (unsigned int and int): ( void * ) dht + dht -> dte [ head | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_find_param (78 to 107 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 83 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | GJB 4.6.1.9 |
M | 85 | Expression needs brackets. | GJB 5.1.2 |
M | 87 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 87 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Type conversion without cast. : (signed char and char): * ( ptr - 1 ) == and | GJB 4.6.1.9 |
M | 91 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_memory_item_to_htx (109 to 135 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 132 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 120 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_reply (137 to 177 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 150 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 153 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 138 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 150 | Value is not of appropriate type. : (unsigned int and int): ist ( "HTTP/1.1" ) , nst_http_codes [ idx | GJB 4.6.1.8 |
M | 150 | Value is not of appropriate type. : (unsigned int and int): ist ( "HTTP/1.1" ) , nst_http_codes [ idx ].code , nst_http_codes [ idx | GJB 4.6.1.8 |
M | 153 | Value is not of appropriate type. : (unsigned int and int): sl -> info.res.status = nst_http_codes [ idx | GJB 4.6.1.8 |
M | 155 | Value is not of appropriate type. : (unsigned int and int): ist ( "Content-Length" ) , nst_http_codes [ idx | GJB 4.6.1.8 |
M | 160 | Value is not of appropriate type. : (unsigned int and int): htx_add_data_atonce ( htx , nst_http_codes [ idx | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_reply_100 (179 to 211 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 188 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 180 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 192 | goto detected. | GJB 4.5.1.2 |
M | 198 | goto detected. | GJB 4.5.1.2 |
M | 203 | Signed/unsigned conversion without cast. : (int and unsigned int): res -> total += data | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_reply_304 (213 to 249 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 230 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 214 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_handle_expect (251 to 275 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 252 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_handle_conditional_req (282 to 386 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 283 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 316 | goto detected. | GJB 4.5.1.2 |
M | 326 | goto detected. | GJB 4.5.1.2 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | goto detected. | GJB 4.5.1.2 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | goto detected. | GJB 4.5.1.2 |
M | 383 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_parse_htx (388 to 472 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 416 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 415 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 389 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 394 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 419 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 433 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 433 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_build_etag (474 to 500 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 490 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_build_last_modified (502 to 541 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 531 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 503 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 508 | Use of sizeof on a type. | GJB 5.1.8 |
M | 508 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 524 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 526 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 531 | Value is not of appropriate type. : (unsigned int and int): sprintf ( txn -> res.last_modified.ptr , "%s, %02d %s %04d %02d:%02d:%02d GMT" , day [ tm -> tm_wday | GJB 4.6.1.8 |
M | 531 | Value is not of appropriate type. : (unsigned int and int): sprintf ( txn -> res.last_modified.ptr , "%s, %02d %s %04d %02d:%02d:%02d GMT" , day [ tm -> tm_wday ] , tm -> tm_mday , mon [ tm -> tm_mon | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_parse_key_value (543 to 563 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 545 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 558 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_http_parse_ttl (565 to 606 http.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 579 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 581 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 581 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 587 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 593 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 601 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_meth (34 to 51 http_acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 34 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 34 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 38 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 43 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 43 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 34 | Static procedure is not explicitly called in code analysed. : pat_parse_meth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_meth (54 to 81 http_acl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 76 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 77 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 77 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 54 | Static procedure is not explicitly called in code analysed. : pat_match_meth | GJB 4.7.1.3 |
M | 57 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_http_action (45 to 58 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 56 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 55 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 56 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 45 | Static procedure is not explicitly called in code analysed. : release_http_action | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_act_http_reply (73 to 82 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 73 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 73 | Static procedure is not explicitly called in code analysed. : check_act_http_reply | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_set_req_line (93 to 138 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 101 | goto detected. | GJB 4.5.1.2 |
M | 105 | Value is not of appropriate type. : (unsigned int and int): replace -> area [ replace -> data ++ | GJB 4.6.1.8 |
M | 111 | goto detected. | GJB 4.5.1.2 |
M | 121 | goto detected. | GJB 4.5.1.2 |
M | 137 | goto detected. | GJB 4.5.1.2 |
M | 93 | Function has no return statement. : http_action_set_req_line | GJB 4.9.1.1 |
M | 93 | Static procedure is not explicitly called in code analysed. : http_action_set_req_line | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_set_req_line (152 to 195 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 176 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 180 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 181 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 181 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 181 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 188 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg | GJB 4.6.1.8 |
M | 152 | Static procedure is not explicitly called in code analysed. : parse_set_req_line | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_replace_uri (207 to 267 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | Pointer not checked for null before use. : output | GJB 5.1.15 |
M | 234 | Pointer not checked for null before use. : output | GJB 5.1.15 |
M | 208 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | goto detected. | GJB 4.5.1.2 |
M | 224 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 227 | goto detected. | GJB 4.5.1.2 |
M | 236 | goto detected. | GJB 4.5.1.2 |
M | 239 | goto detected. | GJB 4.5.1.2 |
M | 250 | goto detected. | GJB 4.5.1.2 |
M | 266 | goto detected. | GJB 4.5.1.2 |
M | 207 | Function has no return statement. : http_action_replace_uri | GJB 4.9.1.1 |
M | 207 | Static procedure is not explicitly called in code analysed. : http_action_replace_uri | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_replace_uri (276 to 322 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 276 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 277 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 280 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 295 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 300 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 301 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 301 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 301 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 306 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 306 | Value is not of appropriate type. : (unsigned int and int): ! ( rule -> arg.http.re = regex_comp ( args [ cur_arg | GJB 4.6.1.8 |
M | 308 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 308 | free used on string. | GJB 5.1.19 |
M | 314 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 276 | Static procedure is not explicitly called in code analysed. : parse_replace_uri | GJB 4.7.1.3 |
M | 322 | Memory not freed after last reference. : error |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_http_set_status (325 to 345 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 326 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 325 | Static procedure is not explicitly called in code analysed. : action_http_set_status | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_status (352 to 388 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 381 | Pointer not checked for null before use. : orig_arg | GJB 5.1.15 |
M | 352 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 353 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 382 | Value is not of appropriate type. : (int and char): rule -> arg.http.str.len = strlen ( rule -> arg.http.str.ptr | GJB 4.6.1.8 |
M | 352 | Static procedure is not explicitly called in code analysed. : parse_http_set_status | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_reject (397 to 417 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 398 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 397 | Static procedure is not explicitly called in code analysed. : http_action_reject | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_action_reject (423 to 429 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 423 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 424 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 423 | Static procedure is not explicitly called in code analysed. : parse_http_action_reject | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_req_disable_l7_retry (437 to 448 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 438 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 437 | Static procedure is not explicitly called in code analysed. : http_req_disable_l7_retry | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_req_disable_l7_retry (454 to 461 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 454 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 456 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 454 | Static procedure is not explicitly called in code analysed. : parse_http_req_disable_l7_retry | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_req_capture (468 to 493 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 469 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 473 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 480 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 481 | Modification of string literal. : cap | GJB 5.1.19 |
M | 481 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 483 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 490 | Value is not of appropriate type. : (unsigned int and int): memcpy ( cap [ h -> index | GJB 4.6.1.8 |
M | 491 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 491 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index ] [ len | GJB 4.6.1.8 |
M | 468 | Static procedure is not explicitly called in code analysed. : http_action_req_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_req_capture_by_id (500 to 534 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 511 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 501 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 505 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 508 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 511 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 513 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 513 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 521 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 522 | Modification of string literal. : cap | GJB 5.1.19 |
M | 522 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 524 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 531 | Value is not of appropriate type. : (unsigned int and int): memcpy ( cap [ h -> index | GJB 4.6.1.8 |
M | 532 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 532 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index ] [ len | GJB 4.6.1.8 |
M | 500 | Static procedure is not explicitly called in code analysed. : http_action_req_capture_by_id | GJB 4.7.1.3 |
M | 508 | Procedure contains UR data flow anomalies. : i |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_http_req_capture (541 to 556 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 541 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 549 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 549 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 541 | Static procedure is not explicitly called in code analysed. : check_http_req_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_http_capture (559 to 565 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 559 | Static procedure is not explicitly called in code analysed. : release_http_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_req_capture (572 to 690 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 635 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 572 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 573 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 580 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 580 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 580 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 581 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 581 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 581 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 582 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 591 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 591 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 596 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "fetch method '%s' extracts information from '%s', none of which is available here" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 603 | Value is not of appropriate type. : (unsigned int and int): ! args [ cur_arg | GJB 4.6.1.8 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 609 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 620 | Value is not of appropriate type. : (unsigned int and int): ! args [ cur_arg | GJB 4.6.1.8 |
M | 626 | Value is not of appropriate type. : (unsigned int and int): len = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 634 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 640 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 652 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 654 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 658 | Value is not of appropriate type. : (unsigned int and int): ! args [ cur_arg | GJB 4.6.1.8 |
M | 664 | Value is not of appropriate type. : (unsigned int and int): id = strtol ( args [ cur_arg | GJB 4.6.1.8 |
M | 666 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "cannot parse id '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 683 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "expects 'len' or 'id', found '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 572 | Static procedure is not explicitly called in code analysed. : parse_http_req_capture | GJB 4.7.1.3 |
M | 690 | Memory not freed after last reference. : hdr |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_res_capture_by_id (697 to 731 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 708 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 698 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 702 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 705 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 708 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 709 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 709 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 710 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 710 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 718 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 719 | Modification of string literal. : cap | GJB 5.1.19 |
M | 719 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 721 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 728 | Value is not of appropriate type. : (unsigned int and int): memcpy ( cap [ h -> index | GJB 4.6.1.8 |
M | 729 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 729 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index ] [ len | GJB 4.6.1.8 |
M | 697 | Static procedure is not explicitly called in code analysed. : http_action_res_capture_by_id | GJB 4.7.1.3 |
M | 705 | Procedure contains UR data flow anomalies. : i |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_http_res_capture (738 to 753 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 738 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 738 | Static procedure is not explicitly called in code analysed. : check_http_res_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_res_capture (760 to 830 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 760 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 761 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 769 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 769 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 770 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 779 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 779 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 784 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "fetch method '%s' extracts information from '%s', none of which is available here" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 791 | Value is not of appropriate type. : (unsigned int and int): ! args [ cur_arg | GJB 4.6.1.8 |
M | 791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 791 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 797 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 798 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "expects 'id', found '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 805 | Value is not of appropriate type. : (unsigned int and int): ! args [ cur_arg | GJB 4.6.1.8 |
M | 811 | Value is not of appropriate type. : (unsigned int and int): id = strtol ( args [ cur_arg | GJB 4.6.1.8 |
M | 813 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "cannot parse id '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 760 | Static procedure is not explicitly called in code analysed. : parse_http_res_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_allow (835 to 841 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 835 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 836 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 835 | Static procedure is not explicitly called in code analysed. : parse_http_allow | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_deny (848 to 903 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 893 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 848 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 849 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 856 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 878 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 878 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 878 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 879 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 880 | goto detected. | GJB 4.5.1.2 |
M | 883 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 884 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 884 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 884 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 884 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 884 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 884 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 885 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 885 | Value is not of appropriate type. : (unsigned int and int): ( const char * [] ) { "status" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 888 | goto detected. | GJB 4.5.1.2 |
M | 890 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 890 | Value is not of appropriate type. : (char and signed char): args [ cur_arg ] += 5 | GJB 4.6.1.8 |
M | 848 | Static procedure is not explicitly called in code analysed. : parse_http_deny | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_auth (910 to 982 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 939 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 941 | Pointer not checked for null before use. : auth_realm | GJB 5.1.15 |
M | 911 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 917 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 924 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 942 | goto detected. | GJB 4.5.1.2 |
M | 946 | goto detected. | GJB 4.5.1.2 |
M | 951 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 955 | goto detected. | GJB 4.5.1.2 |
M | 960 | goto detected. | GJB 4.5.1.2 |
M | 910 | Static procedure is not explicitly called in code analysed. : http_action_auth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_auth (987 to 1012 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 987 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 988 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 998 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1000 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1004 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.http.str.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1005 | Value is not of appropriate type. : (int and char): rule -> arg.http.str.len = strlen ( rule -> arg.http.str.ptr | GJB 4.6.1.8 |
M | 987 | Static procedure is not explicitly called in code analysed. : parse_http_auth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_nice (1017 to 1038 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1018 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1025 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1029 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.http.i = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 1033 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1017 | Static procedure is not explicitly called in code analysed. : parse_http_set_nice | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_tos (1043 to 1070 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1043 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1044 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1043 | Static procedure is not explicitly called in code analysed. : parse_http_set_tos | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_mark (1075 to 1103 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1075 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1076 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1075 | Static procedure is not explicitly called in code analysed. : parse_http_set_mark | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_log_level (1108 to 1129 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1108 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1116 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1121 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1123 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1123 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1123 | Value is not of appropriate type. : (unsigned int and int): ( rule -> arg.http.i = get_log_level ( args [ cur_arg | GJB 4.6.1.8 |
M | 1124 | goto detected. | GJB 4.5.1.2 |
M | 1124 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1108 | Static procedure is not explicitly called in code analysed. : parse_http_set_log_level | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_early_hint (1141 to 1206 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1165 | Pointer not checked for null before use. : prev_rule | GJB 5.1.15 |
M | 1184 | Pointer not checked for null before use. : next_rule | GJB 5.1.15 |
M | 1170 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1197 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 1178 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 1142 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1151 | goto detected. | GJB 4.5.1.2 |
M | 1156 | goto detected. | GJB 4.5.1.2 |
M | 1165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1167 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 1167 | Signed/unsigned conversion without cast. : (unsigned int and int): ( HTX_SL_F_IS_RESP | GJB 4.6.1.9 |
M | 1173 | goto detected. | GJB 4.5.1.2 |
M | 1180 | goto detected. | GJB 4.5.1.2 |
M | 1184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1189 | goto detected. | GJB 4.5.1.2 |
M | 1193 | goto detected. | GJB 4.5.1.2 |
M | 1205 | goto detected. | GJB 4.5.1.2 |
M | 1141 | Function has no return statement. : http_action_early_hint | GJB 4.9.1.1 |
M | 1141 | Static procedure is not explicitly called in code analysed. : http_action_early_hint | GJB 4.7.1.3 |
M | 1200 | Identifier reuse: label vs variable (MR). : error |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_set_header (1216 to 1270 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1217 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1228 | goto detected. | GJB 4.5.1.2 |
M | 1238 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1243 | goto detected. | GJB 4.5.1.2 |
M | 1253 | goto detected. | GJB 4.5.1.2 |
M | 1269 | goto detected. | GJB 4.5.1.2 |
M | 1216 | Function has no return statement. : http_action_set_header | GJB 4.9.1.1 |
M | 1216 | Static procedure is not explicitly called in code analysed. : http_action_set_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_header (1279 to 1329 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1279 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1280 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1284 | Array bound exceeded. : args[][*]; accessed=0 | GJB 4.6.1.2 |
M | 1284 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1289 | Array bound exceeded. : args[][*]; accessed=0 | GJB 4.6.1.2 |
M | 1289 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1298 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1298 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1304 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.http.str.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1305 | Value is not of appropriate type. : (int and char): rule -> arg.http.str.len = strlen ( rule -> arg.http.str.ptr | GJB 4.6.1.8 |
M | 1318 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg | GJB 4.6.1.8 |
M | 1323 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1279 | Static procedure is not explicitly called in code analysed. : parse_http_set_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_replace_header (1339 to 1383 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1354 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1340 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1346 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 1350 | goto detected. | GJB 4.5.1.2 |
M | 1356 | goto detected. | GJB 4.5.1.2 |
M | 1366 | goto detected. | GJB 4.5.1.2 |
M | 1382 | goto detected. | GJB 4.5.1.2 |
M | 1339 | Function has no return statement. : http_action_replace_header | GJB 4.9.1.1 |
M | 1339 | Static procedure is not explicitly called in code analysed. : http_action_replace_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_replace_header (1389 to 1439 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1389 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1394 | Array bound exceeded. : args[][*]; accessed=8 | GJB 4.6.1.2 |
M | 1394 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1402 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1402 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1402 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 1407 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.http.str.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1408 | Value is not of appropriate type. : (int and char): rule -> arg.http.str.len = strlen ( rule -> arg.http.str.ptr | GJB 4.6.1.8 |
M | 1412 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1412 | Value is not of appropriate type. : (unsigned int and int): ! ( rule -> arg.http.re = regex_comp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1427 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg | GJB 4.6.1.8 |
M | 1433 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1389 | Static procedure is not explicitly called in code analysed. : parse_http_replace_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_del_header (1446 to 1481 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1447 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1459 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1463 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1467 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1471 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1475 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1479 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1446 | Static procedure is not explicitly called in code analysed. : http_action_del_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_del_header (1488 to 1538 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1488 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1489 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1500 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1505 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.http.str.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1506 | Value is not of appropriate type. : (int and char): rule -> arg.http.str.len = strlen ( rule -> arg.http.str.ptr | GJB 4.6.1.8 |
M | 1510 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1512 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1518 | Value is not of appropriate type. : (unsigned int and int): pat_idx = pat_find_match_name ( args [ cur_arg | GJB 4.6.1.8 |
M | 1521 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1524 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1525 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1531 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "-m with unsupported matching method '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1533 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1488 | Static procedure is not explicitly called in code analysed. : parse_http_del_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_http_redir (1541 to 1559 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1547 | Pointer not checked for null before use. : redir | GJB 5.1.15 |
M | 1553 | Pointer not checked for null before use. : (redir)->rdr_str | GJB 5.1.15 |
M | 1558 | Pointer not checked for null before use. : (redir)->cookie_str | GJB 5.1.15 |
M | 1552 | Pointer not checked for null before use. : (redir)->cond | GJB 5.1.15 |
M | 1550 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1552 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1553 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1556 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1558 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1541 | Static procedure is not explicitly called in code analysed. : release_http_redir | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_redirect (1564 to 1590 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1564 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1565 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1577 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1577 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1577 | Value is not of appropriate type. : (unsigned int and int): ( redir = http_parse_redirect_rule ( px -> conf.args.file , px -> conf.args.line , px , & args [ cur_arg | GJB 4.6.1.8 |
M | 1585 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1586 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1564 | Static procedure is not explicitly called in code analysed. : parse_http_redirect | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_set_map (1595 to 1670 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1596 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1605 | goto detected. | GJB 4.5.1.2 |
M | 1610 | goto detected. | GJB 4.5.1.2 |
M | 1614 | Value is not of appropriate type. : (unsigned int and int): key -> area [ key -> data | GJB 4.6.1.8 |
M | 1614 | Type conversion without cast. : (int and char): key -> area [ key -> data ] = '\0' | GJB 4.6.1.9 |
M | 1629 | goto detected. | GJB 4.5.1.2 |
M | 1633 | Value is not of appropriate type. : (unsigned int and int): value -> area [ value -> data | GJB 4.6.1.8 |
M | 1633 | Type conversion without cast. : (int and char): value -> area [ value -> data ] = '\0' | GJB 4.6.1.9 |
M | 1648 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1657 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1669 | goto detected. | GJB 4.5.1.2 |
M | 1595 | Function has no return statement. : http_action_set_map | GJB 4.9.1.1 |
M | 1595 | Static procedure is not explicitly called in code analysed. : http_action_set_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_http_map (1673 to 1692 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1682 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 1689 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 1686 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 1677 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1681 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1682 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1688 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1689 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1673 | Static procedure is not explicitly called in code analysed. : release_http_map | GJB 4.7.1.3 |
M | 1686 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_map (1699 to 1769 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1699 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1700 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1704 | Array bound exceeded. : args[][*]; accessed=0 | GJB 4.6.1.2 |
M | 1704 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1706 | Array bound exceeded. : args[][*]; accessed=0 | GJB 4.6.1.2 |
M | 1706 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1708 | Array bound exceeded. : args[][*]; accessed=4 | GJB 4.6.1.2 |
M | 1708 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1710 | Array bound exceeded. : args[][*]; accessed=4 | GJB 4.6.1.2 |
M | 1710 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1720 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1720 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1725 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1729 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1735 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.map.ref = my_strndup ( args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1735 | Value is not of appropriate type. : (char and signed char): rule -> arg.map.ref = my_strndup ( args [ cur_arg - 1 ] | GJB 4.6.1.8 |
M | 1735 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1735 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1748 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg | GJB 4.6.1.8 |
M | 1749 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1757 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg | GJB 4.6.1.8 |
M | 1758 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1763 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1699 | Static procedure is not explicitly called in code analysed. : parse_http_set_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_track_sc (1774 to 1839 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1787 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1775 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1783 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1790 | goto detected. | GJB 4.5.1.2 |
M | 1793 | goto detected. | GJB 4.5.1.2 |
M | 1795 | Value is not of appropriate type. : (unsigned int and int): stream_track_stkctr ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 1808 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1808 | Value is not of appropriate type. : (unsigned int and int): ) ( s -> txn -> status - 400 | GJB 4.6.1.8 |
M | 1819 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr2 , http_req_rate ) , t -> data_arg [ STKTABLE_DT_HTTP_REQ_RATE | GJB 4.6.1.8 |
M | 1833 | Value is not of appropriate type. : (unsigned int and int): stkctr_set_flags ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 1835 | Value is not of appropriate type. : (unsigned int and int): stkctr_set_flags ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 1774 | Static procedure is not explicitly called in code analysed. : http_action_track_sc | GJB 4.7.1.3 |
M | 1783 | Procedure contains UR data flow anomalies. : ptr4 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_http_track_sc (1841 to 1844 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1841 | Static procedure is not explicitly called in code analysed. : release_http_track_sc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_track_sc (1849 to 1902 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1849 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1855 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1858 | Array bound exceeded. : args[][*]; accessed=8 | GJB 4.6.1.2 |
M | 1858 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1863 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1863 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1868 | Signed/unsigned conversion without cast. : (unsigned int and int): where | GJB 4.6.1.9 |
M | 1875 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "fetch method '%s' extracts information from '%s', none of which is available here" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1881 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1883 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1890 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.trk_ctr.table.n = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1894 | Signed/unsigned conversion without cast. : (int and unsigned int): rule -> action = tsc_num | GJB 4.6.1.9 |
M | 1849 | Static procedure is not explicitly called in code analysed. : parse_http_track_sc | GJB 4.7.1.3 |
M | 1854 | Procedure contains UR data flow anomalies. : tsc_num |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_timeout_set_stream_timeout (1904 to 1924 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1907 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1904 | Static procedure is not explicitly called in code analysed. : action_timeout_set_stream_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_set_timeout (1928 to 1963 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1928 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1931 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1940 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1940 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1928 | Static procedure is not explicitly called in code analysed. : parse_http_set_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_strict_mode (1968 to 1978 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1969 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1968 | Static procedure is not explicitly called in code analysed. : http_action_strict_mode | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_strict_mode (1983 to 2006 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1983 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1984 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1989 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1994 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1996 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1999 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "Unexpected value '%s'. Only 'on' and 'off' are supported" , args [ cur_arg | GJB 4.6.1.8 |
M | 1983 | Static procedure is not explicitly called in code analysed. : parse_http_strict_mode | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_action_return (2013 to 2036 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2014 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2013 | Static procedure is not explicitly called in code analysed. : http_action_return | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_return (2042 to 2057 http_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2042 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2043 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2042 | Static procedure is not explicitly called in code analysed. : parse_http_return | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_wait_for_request (78 to 309 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 129 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 133 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 78 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 98 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 98 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 106 | goto detected. | GJB 4.5.1.2 |
M | 108 | goto detected. | GJB 4.5.1.2 |
M | 156 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | goto detected. | GJB 4.5.1.2 |
M | 166 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 177 | Type conversion without cast. : (int and char): * sess -> fe -> monitor_uri == '/' | GJB 4.6.1.9 |
M | 177 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 177 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 201 | goto detected. | GJB 4.5.1.2 |
M | 209 | goto detected. | GJB 4.5.1.2 |
M | 219 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 219 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 225 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 238 | Nested comment found. | GJB 4.10.1.1 |
M | 242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | Type conversion without cast. : (int and char): ) != '/' | GJB 4.6.1.9 |
M | 242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | Type conversion without cast. : (int and char): ) != '*' | GJB 4.6.1.9 |
M | 267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 287 | goto detected. | GJB 4.5.1.2 |
M | 222 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_process_req_common (319 to 562 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 344 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 347 | Null case in switch statement. | GJB 4.3.1.8 |
M | 352 | goto detected. | GJB 4.5.1.2 |
M | 353 | goto detected. | GJB 4.5.1.2 |
M | 353 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 356 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 359 | goto detected. | GJB 4.5.1.2 |
M | 359 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 362 | goto detected. | GJB 4.5.1.2 |
M | 362 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 365 | goto detected. | GJB 4.5.1.2 |
M | 366 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 342 | No default case in switch statement. | GJB 4.3.1.4 |
M | 376 | goto detected. | GJB 4.5.1.2 |
M | 386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 392 | goto detected. | GJB 4.5.1.2 |
M | 401 | goto detected. | GJB 4.5.1.2 |
M | 404 | goto detected. | GJB 4.5.1.2 |
M | 407 | goto detected. | GJB 4.5.1.2 |
M | 410 | goto detected. | GJB 4.5.1.2 |
M | 419 | goto detected. | GJB 4.5.1.2 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 449 | goto detected. | GJB 4.5.1.2 |
M | 450 | goto detected. | GJB 4.5.1.2 |
M | 455 | goto detected. | GJB 4.5.1.2 |
M | 479 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 479 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 505 | goto detected. | GJB 4.5.1.2 |
M | 511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 521 | goto detected. | GJB 4.5.1.2 |
M | 532 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_process_request (569 to 811 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 599 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 600 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 569 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 597 | goto detected. | GJB 4.5.1.2 |
M | 604 | goto detected. | GJB 4.5.1.2 |
M | 606 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 640 | goto detected. | GJB 4.5.1.2 |
M | 644 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 646 | goto detected. | GJB 4.5.1.2 |
M | 654 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 664 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 668 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 669 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 671 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 672 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 674 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 683 | goto detected. | GJB 4.5.1.2 |
M | 686 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 686 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 686 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 690 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 692 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 693 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 703 | goto detected. | GJB 4.5.1.2 |
M | 704 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 723 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 726 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 740 | goto detected. | GJB 4.5.1.2 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 789 | goto detected. | GJB 4.5.1.2 |
M | 690 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_process_tarpit (817 to 857 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 844 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 817 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 829 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 844 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_wait_for_request_body (868 to 973 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 879 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 868 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 880 | goto detected. | GJB 4.5.1.2 |
M | 882 | goto detected. | GJB 4.5.1.2 |
M | 885 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 886 | goto detected. | GJB 4.5.1.2 |
M | 896 | goto detected. | GJB 4.5.1.2 |
M | 904 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 905 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 906 | goto detected. | GJB 4.5.1.2 |
M | 908 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 915 | goto detected. | GJB 4.5.1.2 |
M | 951 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_request_forward_body (985 to 1245 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 998 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1231 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 985 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 999 | goto detected. | GJB 4.5.1.2 |
M | 1001 | goto detected. | GJB 4.5.1.2 |
M | 1004 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1004 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1045 | goto detected. | GJB 4.5.1.2 |
M | 1050 | goto detected. | GJB 4.5.1.2 |
M | 1054 | goto detected. | GJB 4.5.1.2 |
M | 1064 | goto detected. | GJB 4.5.1.2 |
M | 1074 | goto detected. | GJB 4.5.1.2 |
M | 1081 | goto detected. | GJB 4.5.1.2 |
M | 1090 | goto detected. | GJB 4.5.1.2 |
M | 1096 | goto detected. | GJB 4.5.1.2 |
M | 1097 | goto detected. | GJB 4.5.1.2 |
M | 1120 | goto detected. | GJB 4.5.1.2 |
M | 1122 | goto detected. | GJB 4.5.1.2 |
M | 1144 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1151 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1151 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1152 | goto detected. | GJB 4.5.1.2 |
M | 1157 | goto detected. | GJB 4.5.1.2 |
M | 1195 | goto detected. | GJB 4.5.1.2 |
M | 1207 | goto detected. | GJB 4.5.1.2 |
M | 1219 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_l7_retry (1249 to 1289 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1249 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_wait_for_response (1298 to 1763 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1526 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1321 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1530 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 1759 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1298 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1314 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 1322 | goto detected. | GJB 4.5.1.2 |
M | 1324 | goto detected. | GJB 4.5.1.2 |
M | 1339 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1339 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1347 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1360 | goto detected. | GJB 4.5.1.2 |
M | 1374 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1377 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1463 | goto detected. | GJB 4.5.1.2 |
M | 1488 | goto detected. | GJB 4.5.1.2 |
M | 1504 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1552 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1558 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1558 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1570 | Value is not of appropriate type. : (unsigned int and int): __objt_server ( s -> target ) -> counters.p.http.rsp [ n | GJB 4.6.1.8 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1593 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1593 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1601 | goto detected. | GJB 4.5.1.2 |
M | 1610 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1644 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1644 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1644 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1671 | goto detected. | GJB 4.5.1.2 |
M | 1681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1682 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1682 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1714 | goto detected. | GJB 4.5.1.2 |
M | 1724 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_process_res_common (1770 to 2059 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1993 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1820 | Pointer not checked for null before use. : cur_proxy | GJB 5.1.15 |
M | 1770 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1792 | goto detected. | GJB 4.5.1.2 |
M | 1824 | goto detected. | GJB 4.5.1.2 |
M | 1824 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1827 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1831 | goto detected. | GJB 4.5.1.2 |
M | 1831 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1834 | goto detected. | GJB 4.5.1.2 |
M | 1834 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1837 | goto detected. | GJB 4.5.1.2 |
M | 1837 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1840 | goto detected. | GJB 4.5.1.2 |
M | 1840 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1843 | goto detected. | GJB 4.5.1.2 |
M | 1844 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1822 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1855 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1855 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1856 | goto detected. | GJB 4.5.1.2 |
M | 1861 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1861 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1874 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1877 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1877 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1878 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1879 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1896 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1896 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1907 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 1909 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1931 | goto detected. | GJB 4.5.1.2 |
M | 1934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1950 | goto detected. | GJB 4.5.1.2 |
M | 1971 | goto detected. | GJB 4.5.1.2 |
M | 1981 | goto detected. | GJB 4.5.1.2 |
M | 1991 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2011 | goto detected. | GJB 4.5.1.2 |
M | 2023 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_response_forward_body (2090 to 2323 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2102 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2315 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2090 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2103 | goto detected. | GJB 4.5.1.2 |
M | 2105 | goto detected. | GJB 4.5.1.2 |
M | 2108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2134 | goto detected. | GJB 4.5.1.2 |
M | 2139 | goto detected. | GJB 4.5.1.2 |
M | 2141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2142 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2144 | goto detected. | GJB 4.5.1.2 |
M | 2154 | goto detected. | GJB 4.5.1.2 |
M | 2164 | goto detected. | GJB 4.5.1.2 |
M | 2166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2168 | goto detected. | GJB 4.5.1.2 |
M | 2176 | goto detected. | GJB 4.5.1.2 |
M | 2185 | goto detected. | GJB 4.5.1.2 |
M | 2191 | goto detected. | GJB 4.5.1.2 |
M | 2192 | goto detected. | GJB 4.5.1.2 |
M | 2196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2199 | goto detected. | GJB 4.5.1.2 |
M | 2217 | goto detected. | GJB 4.5.1.2 |
M | 2219 | goto detected. | GJB 4.5.1.2 |
M | 2230 | goto detected. | GJB 4.5.1.2 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2239 | goto detected. | GJB 4.5.1.2 |
M | 2242 | goto detected. | GJB 4.5.1.2 |
M | 2251 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2279 | goto detected. | GJB 4.5.1.2 |
M | 2290 | goto detected. | GJB 4.5.1.2 |
M | 2301 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_apply_redirect_rule (2329 to 2561 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2409 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2361 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2362 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 2410 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 2506 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2329 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2344 | goto detected. | GJB 4.5.1.2 |
M | 2368 | Expression needs brackets. | GJB 5.1.2 |
M | 2368 | Type conversion without cast. : (int and char): * ( path.ptr + qs ) == '?' | GJB 4.6.1.9 |
M | 2382 | goto detected. | GJB 4.5.1.2 |
M | 2390 | Nested comment found. | GJB 4.10.1.1 |
M | 2391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2394 | goto detected. | GJB 4.5.1.2 |
M | 2397 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2397 | Value is not of appropriate type. : (unsigned int and int): chunk -> area [ chunk -> data - 1 | GJB 4.6.1.8 |
M | 2399 | Expression needs brackets. | GJB 5.1.2 |
M | 2400 | goto detected. | GJB 4.5.1.2 |
M | 2401 | Value is not of appropriate type. : (unsigned int and int): chunk -> area [ chunk -> data ++ | GJB 4.6.1.8 |
M | 2416 | Expression needs brackets. | GJB 5.1.2 |
M | 2416 | Type conversion without cast. : (int and char): * ( path.ptr + qs ) == '?' | GJB 4.6.1.9 |
M | 2432 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2432 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2432 | Type conversion without cast. : (int and char): * rule -> rdr_str != '/' | GJB 4.6.1.9 |
M | 2434 | goto detected. | GJB 4.5.1.2 |
M | 2446 | goto detected. | GJB 4.5.1.2 |
M | 2449 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2449 | Value is not of appropriate type. : (unsigned int and int): chunk -> area [ chunk -> data - 1 | GJB 4.6.1.8 |
M | 2451 | Expression needs brackets. | GJB 5.1.2 |
M | 2452 | goto detected. | GJB 4.5.1.2 |
M | 2453 | Value is not of appropriate type. : (unsigned int and int): chunk -> area [ chunk -> data ++ | GJB 4.6.1.8 |
M | 2458 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2462 | goto detected. | GJB 4.5.1.2 |
M | 2495 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2501 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2510 | goto detected. | GJB 4.5.1.2 |
M | 2514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2515 | goto detected. | GJB 4.5.1.2 |
M | 2517 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2518 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2519 | goto detected. | GJB 4.5.1.2 |
M | 2521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2523 | goto detected. | GJB 4.5.1.2 |
M | 2528 | goto detected. | GJB 4.5.1.2 |
M | 2531 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2531 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2532 | goto detected. | GJB 4.5.1.2 |
M | 2536 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_hdrs (2568 to 2586 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2579 | Pointer not checked for null before use. : output | GJB 5.1.15 |
M | 2568 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2569 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_req_replace_stline (2602 to 2637 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2603 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2635 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_res_set_status (2643 to 2661 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2650 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 2655 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 2643 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2646 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2654 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_req_get_intercept_rule (2672 to 2806 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2702 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 2715 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 2699 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 2673 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2690 | goto detected. | GJB 4.5.1.2 |
M | 2726 | goto detected. | GJB 4.5.1.2 |
M | 2726 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2730 | goto detected. | GJB 4.5.1.2 |
M | 2730 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2733 | goto detected. | GJB 4.5.1.2 |
M | 2733 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2736 | goto detected. | GJB 4.5.1.2 |
M | 2736 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2741 | goto detected. | GJB 4.5.1.2 |
M | 2741 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2744 | goto detected. | GJB 4.5.1.2 |
M | 2744 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2747 | goto detected. | GJB 4.5.1.2 |
M | 2748 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2721 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2756 | goto detected. | GJB 4.5.1.2 |
M | 2756 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2762 | goto detected. | GJB 4.5.1.2 |
M | 2762 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2769 | goto detected. | GJB 4.5.1.2 |
M | 2769 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2775 | goto detected. | GJB 4.5.1.2 |
M | 2775 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_res_get_intercept_rule (2817 to 2945 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2847 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 2861 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 2844 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 2818 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2835 | goto detected. | GJB 4.5.1.2 |
M | 2872 | goto detected. | GJB 4.5.1.2 |
M | 2872 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2876 | goto detected. | GJB 4.5.1.2 |
M | 2876 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2879 | goto detected. | GJB 4.5.1.2 |
M | 2879 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2882 | goto detected. | GJB 4.5.1.2 |
M | 2882 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2887 | goto detected. | GJB 4.5.1.2 |
M | 2887 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2890 | goto detected. | GJB 4.5.1.2 |
M | 2890 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2893 | goto detected. | GJB 4.5.1.2 |
M | 2894 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2867 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2902 | goto detected. | GJB 4.5.1.2 |
M | 2902 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2908 | goto detected. | GJB 4.5.1.2 |
M | 2908 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2930 | goto detected. | GJB 4.5.1.2 |
M | 2933 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_eval_after_res_rules (2952 to 2975 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2952 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2959 | goto detected. | GJB 4.5.1.2 |
M | 2969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2974 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2974 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2974 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_manage_client_side_cookies (2983 to 3374 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3131 | Pointer not checked for null before use. : att_end | GJB 5.1.15 |
M | 3138 | Pointer not checked for null before use. : equal | GJB 5.1.15 |
M | 3320 | Pointer not checked for null before use. : val_beg | GJB 5.1.15 |
M | 3055 | Pointer not checked for null before use. : att_beg | GJB 5.1.15 |
M | 3125 | Pointer not checked for null before use. : att_end | GJB 5.1.15 |
M | 3125 | Pointer not checked for null before use. : val_beg | GJB 5.1.15 |
M | 3213 | Pointer not checked for null before use. : val_beg | GJB 5.1.15 |
M | 3157 | Pointer not checked for null before use. : val_end | GJB 5.1.15 |
M | 3111 | Pointer not checked for null before use. : val_end | GJB 5.1.15 |
M | 2983 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2989 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2990 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3058 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3058 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3059 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3064 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3066 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3066 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3066 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3068 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3077 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3077 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3081 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3088 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3088 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3089 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3092 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3125 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3125 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3125 | Expression needs brackets. | GJB 5.1.2 |
M | 3136 | Expression needs brackets. | GJB 5.1.2 |
M | 3137 | Expression needs brackets. | GJB 5.1.2 |
M | 3154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3155 | Expression needs brackets. | GJB 5.1.2 |
M | 3156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3159 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3159 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3165 | Value is not of appropriate type. : (unsigned int and int): txn -> cli_cookie [ log_len | GJB 4.6.1.8 |
M | 3178 | Expression needs brackets. | GJB 5.1.2 |
M | 3181 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3203 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3207 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3221 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3221 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3222 | Expression needs brackets. | GJB 5.1.2 |
M | 3225 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3229 | Expression needs brackets. | GJB 5.1.2 |
M | 3232 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3246 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3263 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3277 | Expression needs brackets. | GJB 5.1.2 |
M | 3278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3311 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 3327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3328 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3330 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3361 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 2997 | Procedure contains UR data flow anomalies. : del_from | GJB 4.13.1.4 |
M | 3115 | Procedure contains UR data flow anomalies. : del_from | GJB 4.13.1.4 |
M | 3324 | Procedure contains UR data flow anomalies. : del_from | GJB 4.13.1.4 |
M | 3350 | Procedure contains UR data flow anomalies. : del_from |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_manage_server_side_cookies (3381 to 3657 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3534 | Pointer not checked for null before use. : att_end | GJB 5.1.15 |
M | 3541 | Pointer not checked for null before use. : equal | GJB 5.1.15 |
M | 3550 | Pointer not checked for null before use. : hdr_end | GJB 5.1.15 |
M | 3550 | Pointer not checked for null before use. : hdr_beg | GJB 5.1.15 |
M | 3462 | Pointer not checked for null before use. : att_beg | GJB 5.1.15 |
M | 3528 | Pointer not checked for null before use. : att_end | GJB 5.1.15 |
M | 3528 | Pointer not checked for null before use. : val_beg | GJB 5.1.15 |
M | 3619 | Pointer not checked for null before use. : val_beg | GJB 5.1.15 |
M | 3563 | Pointer not checked for null before use. : val_end | GJB 5.1.15 |
M | 3619 | Pointer not checked for null before use. : val_end | GJB 5.1.15 |
M | 3381 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3388 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3389 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3466 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3471 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3474 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3474 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3474 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3476 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3486 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3486 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3490 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3498 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3502 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3528 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3528 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3528 | Expression needs brackets. | GJB 5.1.2 |
M | 3539 | Expression needs brackets. | GJB 5.1.2 |
M | 3540 | Expression needs brackets. | GJB 5.1.2 |
M | 3559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3560 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3561 | Expression needs brackets. | GJB 5.1.2 |
M | 3562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3564 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3564 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3571 | Value is not of appropriate type. : (unsigned int and int): txn -> srv_cookie [ log_len | GJB 4.6.1.8 |
M | 3578 | Expression needs brackets. | GJB 5.1.2 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3613 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3620 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3632 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3638 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3647 | Value is not of appropriate type. : (unsigned int and int): val_beg [ srv -> cklen | GJB 4.6.1.8 |
M | 3650 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_check_request_for_cacheability (3664 to 3723 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3664 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3668 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 3675 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3700 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3701 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3701 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3702 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3702 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_check_response_for_cacheability (3728 to 3803 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3728 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3731 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 3759 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3762 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3762 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3801 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_stats_check_uri (3814 to 3841 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3828 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 3829 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 3814 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3824 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3824 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3824 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3830 | Type conversion without cast. : (int and char): * uri_auth -> uri_prefix == '/' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_handle_stats (3851 to 4022 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3865 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3874 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 3875 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 3955 | Pointer not checked for null before use. : h2 | GJB 5.1.15 |
M | 3935 | Pointer not checked for null before use. : h | GJB 5.1.15 |
M | 3851 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3859 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3859 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 3866 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3878 | Expression needs brackets. | GJB 5.1.2 |
M | 3890 | Expression needs brackets. | GJB 5.1.2 |
M | 3898 | Expression needs brackets. | GJB 5.1.2 |
M | 3905 | Expression needs brackets. | GJB 5.1.2 |
M | 3913 | Expression needs brackets. | GJB 5.1.2 |
M | 3921 | Expression needs brackets. | GJB 5.1.2 |
M | 3929 | Expression needs brackets. | GJB 5.1.2 |
M | 3931 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3935 | Value is not of appropriate type. : (unsigned int and int): strncmp ( stat_status_codes [ i | GJB 4.6.1.8 |
M | 3946 | Expression needs brackets. | GJB 5.1.2 |
M | 3947 | Value is not of appropriate type. : (int and char): strlen ( STAT_SCOPE_INPUT_NAME | GJB 4.6.1.8 |
M | 3947 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3949 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3950 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3951 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3953 | Value is not of appropriate type. : (int and char): h += strlen ( STAT_SCOPE_INPUT_NAME | GJB 4.6.1.8 |
M | 3953 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3957 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3957 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3957 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3969 | Value is not of appropriate type. : (unsigned int and int): scope_txt [ itx | GJB 4.6.1.8 |
M | 3998 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3998 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3853 | Procedure contains UR data flow anomalies. : stats_admin_rule |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_perform_server_redirect (4024 to 4103 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4042 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 4049 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4050 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 4063 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4024 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4042 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4042 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4042 | Type conversion without cast. : (int and char): * srv -> rdr_pfx != '/' | GJB 4.6.1.9 |
M | 4066 | goto detected. | GJB 4.5.1.2 |
M | 4070 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4071 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4071 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4072 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4072 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4073 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4074 | goto detected. | GJB 4.5.1.2 |
M | 4076 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4076 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4077 | goto detected. | GJB 4.5.1.2 |
M | 4081 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_end_request (4108 to 4242 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4108 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4115 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4119 | goto detected. | GJB 4.5.1.2 |
M | 4136 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4186 | goto detected. | GJB 4.5.1.2 |
M | 4193 | goto detected. | GJB 4.5.1.2 |
M | 4203 | goto detected. | GJB 4.5.1.2 |
M | 4207 | goto detected. | GJB 4.5.1.2 |
M | 4208 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4221 | goto detected. | GJB 4.5.1.2 |
M | 4229 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_end_response (4248 to 4359 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4248 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4256 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4259 | goto detected. | GJB 4.5.1.2 |
M | 4273 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 4307 | goto detected. | GJB 4.5.1.2 |
M | 4317 | goto detected. | GJB 4.5.1.2 |
M | 4327 | goto detected. | GJB 4.5.1.2 |
M | 4328 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4338 | goto detected. | GJB 4.5.1.2 |
M | 4346 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_forward_proxy_resp (4368 to 4408 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4376 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4403 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4368 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4406 | Signed/unsigned conversion without cast. : (int and unsigned int): res -> total += data | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_server_error (4410 to 4418 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4410 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_reply_and_close (4420 to 4452 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4420 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4424 | goto detected. | GJB 4.5.1.2 |
M | 4434 | goto detected. | GJB 4.5.1.2 |
M | 4439 | Void procedure with return statement. : http_reply_and_close | GJB 4.9.1.2 |
M | 4439 | Void procedure used in expression. : http_reply_and_close | GJB 4.7.1.7 |
M | 4420 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_error_message (4454 to 4466 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4454 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4460 | Value is not of appropriate type. : (unsigned int and int): s -> be -> replies [ msgnum | GJB 4.6.1.8 |
M | 4461 | Value is not of appropriate type. : (unsigned int and int): s -> be -> replies [ msgnum | GJB 4.6.1.8 |
M | 4462 | Value is not of appropriate type. : (unsigned int and int): strm_fe ( s ) -> replies [ msgnum | GJB 4.6.1.8 |
M | 4463 | Value is not of appropriate type. : (unsigned int and int): strm_fe ( s ) -> replies [ msgnum | GJB 4.6.1.8 |
M | 4465 | Value is not of appropriate type. : (unsigned int and int): & http_err_replies [ msgnum | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_reply_to_htx (4473 to 4580 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4499 | Pointer not checked for null before use. : reply | GJB 5.1.15 |
M | 4494 | Pointer not checked for null before use. : reply | GJB 5.1.15 |
M | 4505 | Pointer not checked for null before use. : reply | GJB 5.1.15 |
M | 4533 | Pointer not checked for null before use. : status | GJB 5.1.15 |
M | 4533 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 4560 | Pointer not checked for null before use. : clen | GJB 5.1.15 |
M | 4473 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4478 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4494 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4494 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4508 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4510 | goto detected. | GJB 4.5.1.2 |
M | 4523 | goto detected. | GJB 4.5.1.2 |
M | 4525 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4531 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4535 | goto detected. | GJB 4.5.1.2 |
M | 4546 | goto detected. | GJB 4.5.1.2 |
M | 4551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4553 | goto detected. | GJB 4.5.1.2 |
M | 4560 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4565 | goto detected. | GJB 4.5.1.2 |
M | 4579 | goto detected. | GJB 4.5.1.2 |
M | 4473 | Function has no return statement. : http_reply_to_htx | GJB 4.9.1.1 |
M | 4542 | Procedure contains UR data flow anomalies. : hdr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_reply_message (4589 to 4611 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4596 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4589 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4599 | goto detected. | GJB 4.5.1.2 |
M | 4603 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_return_srv_error (4624 to 4661 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4636 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4646 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4650 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4654 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4624 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_handle_expect_hdr (4667 to 4687 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4667 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4672 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4674 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 4679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4680 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_reply_100_continue (4692 to 4718 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4700 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 4692 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4697 | Signed/unsigned conversion without cast. : (unsigned int and int): ( HTX_SL_F_IS_RESP | GJB 4.6.1.9 |
M | 4703 | goto detected. | GJB 4.5.1.2 |
M | 4707 | goto detected. | GJB 4.5.1.2 |
M | 4710 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_capture_headers (4725 to 4763 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4732 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 4725 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4745 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 4746 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 4749 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 4758 | Value is not of appropriate type. : (unsigned int and int): memcpy ( cap [ h -> index | GJB 4.6.1.8 |
M | 4759 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 4759 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index ] [ v.len | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_del_hdr_value (4782 to 4814 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4797 | Pointer not checked for null before use. : prev | GJB 5.1.15 |
M | 4782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4782 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4784 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4793 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4798 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4799 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4805 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4806 | Expression needs brackets. | GJB 5.1.2 |
M | 4807 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4808 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4808 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4809 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_fmt_req_line (4820 to 4839 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4820 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4825 | goto detected. | GJB 4.5.1.2 |
M | 4826 | Signed/unsigned conversion without cast. : (int and unsigned int): dst.len + 1 | GJB 4.6.1.9 |
M | 4826 | Expression needs brackets. | GJB 5.1.2 |
M | 4827 | goto detected. | GJB 4.5.1.2 |
M | 4831 | goto detected. | GJB 4.5.1.2 |
M | 4832 | Signed/unsigned conversion without cast. : (int and unsigned int): dst.len + 1 | GJB 4.6.1.9 |
M | 4832 | Expression needs brackets. | GJB 5.1.2 |
M | 4833 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_debug_stline (4844 to 4870 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4849 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 4844 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4844 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4857 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 4862 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 4867 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_debug_hdr (4875 to 4897 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4880 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 4875 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4875 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4875 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 4875 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 4888 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 4889 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 4894 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_alloc_txn (4904 to 4917 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4904 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4909 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4913 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4916 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_init_txn (4936 to 4963 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4936 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4941 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_end_txn (4966 to 4985 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4971 | Pointer not checked for null before use. : pool_head_requri | GJB 5.1.15 |
M | 4973 | Pointer not checked for null before use. : pool_head_capture | GJB 5.1.15 |
M | 4966 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__http_protocol_init (4991 to 4993 http_ana.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4991 | Static procedure is not explicitly called in code analysed. : __http_protocol_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_http_date_unit (30 to 34 http_conv.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 30 | Static procedure is not explicitly called in code analysed. : smp_check_http_date_unit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_http_date (42 to 91 http_conv.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 75 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 75 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 42 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 44 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 45 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 64 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 74 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 74 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 75 | Value is not of appropriate type. : (unsigned int and int): temp -> data = snprintf ( temp -> area , temp -> size - temp -> data , "%s, %02d %s %04d %02d:%02d:%02d.%d GMT" , day [ tm -> tm_wday | GJB 4.6.1.8 |
M | 77 | Value is not of appropriate type. : (unsigned int and int): tm_mon | GJB 4.6.1.8 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): temp -> data = snprintf ( temp -> area , temp -> size - temp -> data , "%s, %02d %s %04d %02d:%02d:%02d GMT" , day [ tm -> tm_wday | GJB 4.6.1.8 |
M | 81 | Value is not of appropriate type. : (unsigned int and int): temp -> data = snprintf ( temp -> area , temp -> size - temp -> data , "%s, %02d %s %04d %02d:%02d:%02d GMT" , day [ tm -> tm_wday ] , tm -> tm_mday , mon [ tm -> tm_mon | GJB 4.6.1.8 |
M | 42 | Static procedure is not explicitly called in code analysed. : sample_conv_http_date | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_q_preferred (94 to 238 http_conv.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | Pointer not checked for null before use. : w | GJB 5.1.15 |
M | 94 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 97 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 102 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 102 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 118 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 126 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 127 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 129 | goto detected. | GJB 4.5.1.2 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 143 | goto detected. | GJB 4.5.1.2 |
M | 145 | goto detected. | GJB 4.5.1.2 |
M | 150 | goto detected. | GJB 4.5.1.2 |
M | 155 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 155 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 155 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 156 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 158 | goto detected. | GJB 4.5.1.2 |
M | 162 | goto detected. | GJB 4.5.1.2 |
M | 168 | goto detected. | GJB 4.5.1.2 |
M | 174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 175 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 177 | goto detected. | GJB 4.5.1.2 |
M | 181 | goto detected. | GJB 4.5.1.2 |
M | 185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 186 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 188 | goto detected. | GJB 4.5.1.2 |
M | 192 | goto detected. | GJB 4.5.1.2 |
M | 196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 196 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 197 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 199 | goto detected. | GJB 4.5.1.2 |
M | 211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 211 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 222 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Static procedure is not explicitly called in code analysed. : sample_conv_q_preferred | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_url_dec (241 to 269 http_conv.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 252 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 241 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 241 | Static procedure is not explicitly called in code analysed. : sample_conv_url_dec | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_conv_req_capture (271 to 314 http_conv.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 271 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 274 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 288 | Expression needs brackets. | GJB 5.1.2 |
M | 292 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 294 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 294 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 299 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> req_cap [ hdr -> index | GJB 4.6.1.8 |
M | 300 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> req_cap [ hdr -> index | GJB 4.6.1.8 |
M | 301 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> req_cap [ hdr -> index | GJB 4.6.1.8 |
M | 310 | Value is not of appropriate type. : (unsigned int and int): memcpy ( smp -> strm -> req_cap [ idx | GJB 4.6.1.8 |
M | 311 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> req_cap [ idx | GJB 4.6.1.8 |
M | 311 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> req_cap [ idx ] [ len | GJB 4.6.1.8 |
M | 311 | Type conversion without cast. : (int and char): smp -> strm -> req_cap [ idx ] [ len ] = '\0' | GJB 4.6.1.9 |
M | 271 | Static procedure is not explicitly called in code analysed. : smp_conv_req_capture | GJB 4.7.1.3 |
M | 274 | Procedure contains UR data flow anomalies. : i |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_conv_res_capture (316 to 359 http_conv.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 333 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 316 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 319 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 323 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 333 | Expression needs brackets. | GJB 5.1.2 |
M | 337 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 339 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 339 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 344 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> res_cap [ hdr -> index | GJB 4.6.1.8 |
M | 345 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> res_cap [ hdr -> index | GJB 4.6.1.8 |
M | 346 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> res_cap [ hdr -> index | GJB 4.6.1.8 |
M | 355 | Value is not of appropriate type. : (unsigned int and int): memcpy ( smp -> strm -> res_cap [ idx | GJB 4.6.1.8 |
M | 356 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> res_cap [ idx | GJB 4.6.1.8 |
M | 356 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> res_cap [ idx ] [ len | GJB 4.6.1.8 |
M | 316 | Static procedure is not explicitly called in code analysed. : smp_conv_res_capture | GJB 4.7.1.3 |
M | 319 | Procedure contains UR data flow anomalies. : i |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_raw_htx_chunk_per_thread (60 to 67 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Empty parameter list to procedure/function. : alloc_raw_htx_chunk_per_thread | GJB 4.1.1.10 |
M | 62 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 60 | Static procedure is not explicitly called in code analysed. : alloc_raw_htx_chunk_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_raw_htx_chunk_per_thread (69 to 73 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | Empty parameter list to procedure/function. : free_raw_htx_chunk_per_thread | GJB 4.1.1.10 |
M | 71 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 69 | Static procedure is not explicitly called in code analysed. : free_raw_htx_chunk_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_http_auth (89 to 153 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 129 | Pointer not checked for null before use. : http_auth | GJB 5.1.15 |
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 137 | Value is not of appropriate type. : (unsigned int and int): http_auth -> area [ len | GJB 4.6.1.8 |
M | 137 | Type conversion without cast. : (int and char): http_auth -> area [ len ] = '\0' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_prefetch_htx (170 to 318 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 219 | Pointer not checked for null before use. : txn | GJB 5.1.15 |
M | 198 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 224 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 229 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 224 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 198 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 198 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | goto detected. | GJB 4.5.1.2 |
M | 224 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 236 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 246 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 255 | Expression needs brackets. | GJB 5.1.2 |
M | 259 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 290 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 317 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 244 | Procedure contains UR data flow anomalies. : hdrs | GJB 4.13.1.4 |
M | 316 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_meth (328 to 361 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 350 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 356 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 328 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 328 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 328 | Static procedure is not explicitly called in code analysed. : smp_fetch_meth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_rqver (363 to 388 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 366 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 375 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 383 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 363 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 368 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 378 | Expression needs brackets. | GJB 5.1.2 |
M | 378 | Expression needs brackets. | GJB 5.1.2 |
M | 378 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 363 | Static procedure is not explicitly called in code analysed. : smp_fetch_rqver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_stver (390 to 416 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 394 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 403 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 411 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 390 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 396 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 406 | Expression needs brackets. | GJB 5.1.2 |
M | 406 | Expression needs brackets. | GJB 5.1.2 |
M | 406 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 390 | Static procedure is not explicitly called in code analysed. : smp_fetch_stver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_stcode (419 to 439 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 423 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 432 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 436 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 419 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 419 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 425 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 419 | Static procedure is not explicitly called in code analysed. : smp_fetch_stcode | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_uniqueid (441 to 460 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 441 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 441 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 441 | Static procedure is not explicitly called in code analysed. : smp_fetch_uniqueid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdrs (466 to 498 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 480 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 471 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 496 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 466 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 466 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 493 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 466 | Static procedure is not explicitly called in code analysed. : smp_fetch_hdrs | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdrs_bin (513 to 577 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 527 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 531 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 545 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 548 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 554 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 518 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 574 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 539 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 539 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 513 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 513 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 520 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 542 | Expression needs brackets. | GJB 5.1.2 |
M | 551 | Expression needs brackets. | GJB 5.1.2 |
M | 568 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 513 | Static procedure is not explicitly called in code analysed. : smp_fetch_hdrs_bin | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_body (582 to 619 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 598 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 587 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 611 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 582 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 582 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 614 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 614 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 582 | Static procedure is not explicitly called in code analysed. : smp_fetch_body | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_body_len (625 to 651 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 639 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 630 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 625 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 625 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 641 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 641 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 641 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 644 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 625 | Static procedure is not explicitly called in code analysed. : smp_fetch_body_len | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_body_size (658 to 686 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 672 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 663 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 679 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 658 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 674 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 674 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 674 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 677 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 679 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> extra != ULLONG_MAX | GJB 4.6.1.9 |
M | 680 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 658 | Static procedure is not explicitly called in code analysed. : smp_fetch_body_size | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url (690 to 704 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 693 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 700 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 690 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 690 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 690 | Static procedure is not explicitly called in code analysed. : smp_fetch_url | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url_ip (706 to 725 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 709 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 716 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 706 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 706 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 718 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 722 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 706 | Static procedure is not explicitly called in code analysed. : smp_fetch_url_ip | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url_port (727 to 746 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 730 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 737 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 727 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 739 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 743 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 727 | Static procedure is not explicitly called in code analysed. : smp_fetch_url_port | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fhdr (755 to 803 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 760 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 755 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 755 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 755 | Static procedure is not explicitly called in code analysed. : smp_fetch_fhdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_fhdr_cnt (809 to 838 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 814 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 809 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 809 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 822 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 833 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 809 | Static procedure is not explicitly called in code analysed. : smp_fetch_fhdr_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdr_names (840 to 878 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 860 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 845 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 875 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 869 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 840 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 840 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 854 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 870 | Value is not of appropriate type. : (unsigned int and int): temp -> area [ temp -> data ++ | GJB 4.6.1.8 |
M | 840 | Static procedure is not explicitly called in code analysed. : smp_fetch_hdr_names | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdr (886 to 935 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 891 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 886 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 886 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 889 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 889 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_chn_hdr (941 to 945 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 941 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 941 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 944 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 941 | Static procedure is not explicitly called in code analysed. : smp_fetch_chn_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdr_cnt (950 to 980 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 955 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 950 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 950 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 953 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 953 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 963 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 974 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 950 | Static procedure is not explicitly called in code analysed. : smp_fetch_hdr_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdr_val (987 to 998 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 987 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 987 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 991 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 987 | Static procedure is not explicitly called in code analysed. : smp_fetch_hdr_val | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hdr_ip (1004 to 1028 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1014 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1010 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1004 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1004 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1009 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1009 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1009 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1010 | Expression needs brackets. | GJB 5.1.2 |
M | 1013 | Type conversion without cast. : (int and char): temp -> area [ smp -> data.u.str.data ] = '\0' | GJB 4.6.1.9 |
M | 1014 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1020 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1004 | Static procedure is not explicitly called in code analysed. : smp_fetch_hdr_ip | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_path (1034 to 1061 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1037 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1045 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1034 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1034 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_base (1070 to 1107 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1073 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1088 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1092 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1070 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1070 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1083 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1083 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1084 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1096 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 1096 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1096 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1096 | Type conversion without cast. : (unsigned int and char): * ( path.ptr + len ) != '?' | GJB 4.6.1.9 |
M | 1097 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1099 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1070 | Static procedure is not explicitly called in code analysed. : smp_fetch_base | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_base32 (1117 to 1157 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1120 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1138 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1117 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1132 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1133 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1133 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1133 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1133 | Expression needs brackets. | GJB 5.1.2 |
M | 1142 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 1142 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1142 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1142 | Type conversion without cast. : (unsigned int and char): * ( path.ptr + len ) != '?' | GJB 4.6.1.9 |
M | 1143 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1145 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1146 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1147 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1147 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1147 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1147 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_base32_src (1166 to 1201 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1178 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1166 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1171 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1174 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1179 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1196 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1166 | Static procedure is not explicitly called in code analysed. : smp_fetch_base32_src | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_query (1207 to 1232 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1210 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1218 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1207 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1207 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1225 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1225 | Expression needs brackets. | GJB 5.1.2 |
M | 1207 | Static procedure is not explicitly called in code analysed. : smp_fetch_query | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_proto_http (1234 to 1244 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1237 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1234 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1234 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1234 | Static procedure is not explicitly called in code analysed. : smp_fetch_proto_http | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_http_first_req (1247 to 1255 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1247 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1247 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1247 | Static procedure is not explicitly called in code analysed. : smp_fetch_http_first_req | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_http_auth_type (1260 to 1290 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1263 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1273 | Pointer not checked for null before use. : txn | GJB 5.1.15 |
M | 1260 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1260 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1285 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1270 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1260 | Static procedure is not explicitly called in code analysed. : smp_fetch_http_auth_type | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_http_auth_user (1295 to 1313 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1298 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1309 | Pointer not checked for null before use. : txn | GJB 5.1.15 |
M | 1295 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1295 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1310 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( txn -> auth.user | GJB 4.6.1.8 |
M | 1305 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1295 | Static procedure is not explicitly called in code analysed. : smp_fetch_http_auth_user | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_http_auth_pass (1318 to 1336 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1321 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1332 | Pointer not checked for null before use. : txn | GJB 5.1.15 |
M | 1318 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1318 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1333 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( txn -> auth.pass | GJB 4.6.1.8 |
M | 1328 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1318 | Static procedure is not explicitly called in code analysed. : smp_fetch_http_auth_pass | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_http_auth (1339 to 1356 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1342 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1339 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1339 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1349 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1339 | Static procedure is not explicitly called in code analysed. : smp_fetch_http_auth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_http_auth_grp (1359 to 1389 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1362 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1359 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1359 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1364 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1386 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( smp -> strm -> txn -> auth.user | GJB 4.6.1.8 |
M | 1369 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1359 | Static procedure is not explicitly called in code analysed. : smp_fetch_http_auth_grp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_capture_req_hdr (1394 to 1417 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1408 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 1394 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1394 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1399 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1408 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> req_cap [ idx | GJB 4.6.1.8 |
M | 1413 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.area = smp -> strm -> req_cap [ idx | GJB 4.6.1.8 |
M | 1414 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.data = strlen ( smp -> strm -> req_cap [ idx | GJB 4.6.1.8 |
M | 1414 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( smp -> strm -> req_cap [ idx ] | GJB 4.6.1.8 |
M | 1394 | Static procedure is not explicitly called in code analysed. : smp_fetch_capture_req_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_capture_res_hdr (1422 to 1445 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1436 | Pointer not checked for null before use. : fe | GJB 5.1.15 |
M | 1422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1422 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1427 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1436 | Value is not of appropriate type. : (unsigned int and int): smp -> strm -> res_cap [ idx | GJB 4.6.1.8 |
M | 1441 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.area = smp -> strm -> res_cap [ idx | GJB 4.6.1.8 |
M | 1442 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.data = strlen ( smp -> strm -> res_cap [ idx | GJB 4.6.1.8 |
M | 1442 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( smp -> strm -> res_cap [ idx ] | GJB 4.6.1.8 |
M | 1422 | Static procedure is not explicitly called in code analysed. : smp_fetch_capture_res_hdr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_capture_req_method (1448 to 1475 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1467 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1448 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1448 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1452 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1458 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1463 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1463 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1463 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1448 | Static procedure is not explicitly called in code analysed. : smp_fetch_capture_req_method | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_capture_req_uri (1478 to 1515 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1478 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1478 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1482 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1488 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1493 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1500 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1501 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1501 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1502 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1478 | Static procedure is not explicitly called in code analysed. : smp_fetch_capture_req_uri | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_capture_req_ver (1520 to 1541 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1520 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1528 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1520 | Static procedure is not explicitly called in code analysed. : smp_fetch_capture_req_ver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_capture_res_ver (1546 to 1567 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1546 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1546 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1554 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1546 | Static procedure is not explicitly called in code analysed. : smp_fetch_capture_res_ver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cookie (1579 to 1663 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1584 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 1637 | Pointer not checked for null before use. : cook | GJB 5.1.15 |
M | 1579 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1579 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1587 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1591 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1606 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1626 | goto detected. | GJB 4.5.1.2 |
M | 1628 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1628 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_chn_cookie (1669 to 1673 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1669 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1669 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1672 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1669 | Static procedure is not explicitly called in code analysed. : smp_fetch_chn_cookie | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cookie_cnt (1680 to 1734 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1685 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 1721 | Pointer not checked for null before use. : val_end | GJB 5.1.15 |
M | 1721 | Pointer not checked for null before use. : cook | GJB 5.1.15 |
M | 1680 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1680 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1683 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1683 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1688 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1689 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1701 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1703 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1712 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1712 | Expression needs brackets. | GJB 5.1.2 |
M | 1721 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1680 | Static procedure is not explicitly called in code analysed. : smp_fetch_cookie_cnt | GJB 4.7.1.3 |
M | 1703 | Procedure contains UR data flow anomalies. : val_beg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cookie_val (1739 to 1750 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1739 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1739 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1743 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1739 | Static procedure is not explicitly called in code analysed. : smp_fetch_cookie_val | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_param (1761 to 1803 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1780 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1761 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1761 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1761 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1761 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1763 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1775 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1776 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1776 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1787 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1787 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1793 | Modification of string literal. : chunks | GJB 5.1.19 |
M | 1794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1795 | Modification of string literal. : chunks | GJB 5.1.19 |
M | 1796 | Modification of string literal. : chunks | GJB 5.1.19 |
M | 1799 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 1763 | Procedure contains UR data flow anomalies. : vend | GJB 4.13.1.4 |
M | 1763 | Procedure contains UR data flow anomalies. : vstart |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url_param (1812 to 1856 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1835 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1842 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1855 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1812 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1812 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1816 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1820 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1820 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1821 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1821 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1850 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 1851 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 1855 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_body_param (1865 to 1914 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1882 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1892 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 1902 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1865 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1868 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1871 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1871 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1894 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1894 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1894 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1907 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 1908 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 1913 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1865 | Static procedure is not explicitly called in code analysed. : smp_fetch_body_param | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url_param_val (1919 to 1930 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1919 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1919 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1923 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1919 | Static procedure is not explicitly called in code analysed. : smp_fetch_url_param_val | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url32 (1942 to 1975 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1945 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1963 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1942 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1942 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1957 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1958 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1958 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1958 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1958 | Expression needs brackets. | GJB 5.1.2 |
M | 1964 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1965 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1966 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1966 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1966 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1966 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_url32_src (1984 to 2019 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1996 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 1984 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1984 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1989 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1992 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1997 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2014 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1984 | Static procedure is not explicitly called in code analysed. : smp_fetch_url32_src | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
val_hdr (2034 to 2041 http_fetch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2034 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2036 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2036 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_get_stline (63 to 73 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 71 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_get_hdrs_size (76 to 91 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 86 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__http_find_header (128 to 241 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 132 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 175 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 143 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 135 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 138 | goto detected. | GJB 4.5.1.2 |
M | 140 | goto detected. | GJB 4.5.1.2 |
M | 146 | goto detected. | GJB 4.5.1.2 |
M | 148 | Expression needs brackets. | GJB 5.1.2 |
M | 153 | goto detected. | GJB 4.5.1.2 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 172 | goto detected. | GJB 4.5.1.2 |
M | 175 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 179 | goto detected. | GJB 4.5.1.2 |
M | 185 | goto detected. | GJB 4.5.1.2 |
M | 189 | goto detected. | GJB 4.5.1.2 |
M | 193 | goto detected. | GJB 4.5.1.2 |
M | 197 | goto detected. | GJB 4.5.1.2 |
M | 199 | Expression needs brackets. | GJB 5.1.2 |
M | 201 | goto detected. | GJB 4.5.1.2 |
M | 205 | goto detected. | GJB 4.5.1.2 |
M | 208 | goto detected. | GJB 4.5.1.2 |
M | 218 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 225 | Expression needs brackets. | GJB 5.1.2 |
M | 239 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 237 | Procedure contains UR data flow anomalies. : (ctx)->blk | GJB 4.13.1.4 |
M | 237 | Procedure contains UR data flow anomalies. : ctx.blk |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_find_header (245 to 248 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 245 | Name redeclared in another C name space (MR). : name |
GJB 4.1.1.16 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_find_str_header (251 to 254 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 251 | Name redeclared in another C name space (MR). : name |
GJB 4.1.1.16 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_find_pfx_header (258 to 261 http_htx.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_find_sfx_header (264 to 267 http_htx.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_find_sub_header (269 to 272 http_htx.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_match_header (275 to 278 http_htx.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_add_header (284 to 328 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 302 | Pointer not checked for null before use. : pblk | GJB 5.1.15 |
M | 305 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 284 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 284 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 293 | goto detected. | GJB 4.5.1.2 |
M | 296 | goto detected. | GJB 4.5.1.2 |
M | 302 | Name reused in inner scope. : type | GJB 4.15.1.2,4.15.1.5 |
M | 306 | Operation not appropriate to plain char. : ^= used with char: info | GJB 4.1.1.15 |
M | 306 | Operation not appropriate to plain char. : ^= used with char: info | GJB 4.1.1.15 |
M | 306 | Operation not appropriate to plain char. : ^= used with char: info | GJB 4.1.1.15 |
M | 320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 322 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_stline (333 to 341 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_req_meth (346 to 365 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 356 | Pointer not checked for null before use. : temp |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_req_uri (370 to 397 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 380 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 377 | goto detected. | GJB 4.5.1.2 |
M | 388 | goto detected. | GJB 4.5.1.2 |
M | 392 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_req_path (404 to 439 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 426 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 421 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 421 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 421 | Type conversion without cast. : (unsigned int and char): * ( p.ptr + plen ) != '?' | GJB 4.6.1.9 |
M | 422 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 435 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 435 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_req_query (445 to 485 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 473 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 472 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 481 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_res_status (490 to 511 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 490 | Name redeclared in another C name space (MR). : status | GJB 4.1.1.16 |
M | 500 | Pointer not checked for null before use. : temp |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_res_reason (516 to 534 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 520 | Name redeclared in another C name space (MR). : status | GJB 4.1.1.16 |
M | 526 | Pointer not checked for null before use. : temp |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_header_value (540 to 584 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 554 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 572 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 544 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 549 | goto detected. | GJB 4.5.1.2 |
M | 558 | goto detected. | GJB 4.5.1.2 |
M | 568 | goto detected. | GJB 4.5.1.2 |
M | 579 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_replace_header (590 to 619 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 591 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 612 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 597 | goto detected. | GJB 4.5.1.2 |
M | 601 | goto detected. | GJB 4.5.1.2 |
M | 604 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 606 | goto detected. | GJB 4.5.1.2 |
M | 614 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_remove_header (628 to 682 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 631 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 644 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 647 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 652 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 679 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_update_authority (690 to 718 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 705 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 713 | Expression needs brackets. | GJB 5.1.2 |
M | 714 | Expression needs brackets. | GJB 5.1.2 |
M | 718 | Memory not freed after last reference. : (http_errmsg)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_update_host (727 to 764 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 732 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 732 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 741 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 741 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 741 | Type conversion without cast. : (unsigned char and char): ) == 'h' | GJB 4.6.1.9 |
M | 742 | Type conversion without cast. : (int and char): ( uri.ptr [ 4 ] == ':' | GJB 4.6.1.9 |
M | 746 | goto detected. | GJB 4.5.1.2 |
M | 757 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_get_htx_hdr (777 to 828 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 778 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 797 | Function return type inconsistent. : (unsigned int and int) | GJB 4.9.1.4 |
M | 807 | Signed/unsigned conversion without cast. : (int and unsigned int): found = hist_idx | GJB 4.6.1.9 |
M | 807 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 807 | Signed/unsigned conversion without cast. : (unsigned int and int): found = hist_idx | GJB 4.6.1.9 |
M | 810 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 810 | Expression needs brackets. | GJB 5.1.2 |
M | 810 | Signed/unsigned conversion without cast. : (unsigned int and int): ++ hist_idx >= MAX_HDR_HISTORY | GJB 4.6.1.9 |
M | 811 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx | GJB 4.6.1.9 |
M | 822 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 822 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx += occ | GJB 4.6.1.9 |
M | 823 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx >= MAX_HDR_HISTORY | GJB 4.6.1.9 |
M | 824 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 824 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx -= MAX_HDR_HISTORY | GJB 4.6.1.9 |
M | 827 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_get_htx_fhdr (841 to 892 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 842 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 861 | Function return type inconsistent. : (unsigned int and int) | GJB 4.9.1.4 |
M | 871 | Signed/unsigned conversion without cast. : (int and unsigned int): found = hist_idx | GJB 4.6.1.9 |
M | 871 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 871 | Signed/unsigned conversion without cast. : (unsigned int and int): found = hist_idx | GJB 4.6.1.9 |
M | 874 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 874 | Expression needs brackets. | GJB 5.1.2 |
M | 874 | Signed/unsigned conversion without cast. : (unsigned int and int): ++ hist_idx >= MAX_HDR_HISTORY | GJB 4.6.1.9 |
M | 875 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx | GJB 4.6.1.9 |
M | 886 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 886 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx += occ | GJB 4.6.1.9 |
M | 887 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx >= MAX_HDR_HISTORY | GJB 4.6.1.9 |
M | 888 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 888 | Signed/unsigned conversion without cast. : (unsigned int and int): hist_idx -= MAX_HDR_HISTORY | GJB 4.6.1.9 |
M | 891 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_str_to_htx (894 to 1005 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 978 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 894 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 907 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 912 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 912 | Value is not of appropriate type. : (int and char*): buf -> area = ( char * | GJB 4.6.1.8 |
M | 912 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 914 | goto detected. | GJB 4.5.1.2 |
M | 918 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 922 | goto detected. | GJB 4.5.1.2 |
M | 927 | goto detected. | GJB 4.5.1.2 |
M | 929 | Type conversion without cast. : (unsigned char and char): * ( h1sl.st.v.ptr + 5 ) > '1' | GJB 4.6.1.9 |
M | 930 | Type conversion without cast. : (unsigned char and char): * ( h1sl.st.v.ptr + 5 ) == '1' | GJB 4.6.1.9 |
M | 930 | Type conversion without cast. : (unsigned char and char): ( * ( h1sl.st.v.ptr + 7 ) >= '1' | GJB 4.6.1.9 |
M | 931 | Bit operator with boolean operand. : |= used with bool: h1m.flags | GJB 4.6.1.17,4.6.1.18 |
M | 931 | Bit operator with boolean operand. : |= used with bool: H1_MF_VER_11 | GJB 4.6.1.17,4.6.1.18 |
M | 933 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 933 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 933 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 936 | goto detected. | GJB 4.5.1.2 |
M | 939 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 939 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 943 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 946 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 948 | Bit operator with boolean operand. : & used with bool: H1_MF_VER_11 | GJB 4.6.1.17,4.6.1.18 |
M | 956 | goto detected. | GJB 4.5.1.2 |
M | 967 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 969 | goto detected. | GJB 4.5.1.2 |
M | 971 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 972 | Value is not of appropriate type. : (unsigned long and int): memprintf ( errmsg , "payload size does not match the announced content-length (%lu != %lu)" , ( unsigned long ) ( raw.len - ret | GJB 4.6.1.8 |
M | 974 | goto detected. | GJB 4.5.1.2 |
M | 979 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 981 | goto detected. | GJB 4.5.1.2 |
M | 989 | goto detected. | GJB 4.5.1.2 |
M | 996 | goto detected. | GJB 4.5.1.2 |
M | 1002 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 899 | Procedure contains UR data flow anomalies. : hdrs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_http_reply (1007 to 1044 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1023 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 1040 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 1037 | Pointer not checked for null before use. : lf | GJB 5.1.15 |
M | 1013 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1022 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1023 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1026 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1030 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1039 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1040 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1042 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1042 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1016 | Attempt to read from freed memory. : http_reply | GJB 5.1.16 |
M | 1031 | Attempt to read from freed memory. : http_reply | GJB 5.1.16 |
M | 1037 | Attempt to read from freed memory. : lf | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_htx_init (1046 to 1085 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1062 | Pointer not checked for null before use. : errmsg | GJB 5.1.15 |
M | 1076 | Pointer not checked for null before use. : (chk)->area | GJB 5.1.15 |
M | 1050 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1055 | Value is not of appropriate type. : (unsigned int and int): ! http_err_msgs [ rc | GJB 4.6.1.8 |
M | 1061 | Value is not of appropriate type. : (unsigned int and int): raw = ist2 ( http_err_msgs [ rc | GJB 4.6.1.8 |
M | 1061 | Value is not of appropriate type. : (unsigned int and int): strlen ( http_err_msgs [ rc | GJB 4.6.1.8 |
M | 1063 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "Internal error: invalid default message for HTTP return code %d: %s.\n" , http_err_codes [ rc | GJB 4.6.1.8 |
M | 1068 | Value is not of appropriate type. : (unsigned int and int): ha_warning ( "invalid default message for HTTP return code %d: %s.\n" , http_err_codes [ rc | GJB 4.6.1.8 |
M | 1070 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1072 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1073 | free used on string. | GJB 5.1.19 |
M | 1076 | Value is not of appropriate type. : (unsigned int and int): http_err_chunks [ rc | GJB 4.6.1.8 |
M | 1077 | Value is not of appropriate type. : (unsigned int and int): http_err_replies [ rc | GJB 4.6.1.8 |
M | 1078 | Value is not of appropriate type. : (unsigned int and int): http_err_replies [ rc | GJB 4.6.1.8 |
M | 1078 | Value is not of appropriate type. : (unsigned int and int): http_err_replies [ rc ].status = http_err_codes [ rc | GJB 4.6.1.8 |
M | 1079 | Value is not of appropriate type. : (unsigned int and int): http_err_replies [ rc | GJB 4.6.1.8 |
M | 1080 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & http_err_replies [ rc | GJB 4.6.1.8 |
M | 1081 | Value is not of appropriate type. : (unsigned int and int): http_err_replies [ rc | GJB 4.6.1.8 |
M | 1081 | Value is not of appropriate type. : (unsigned int and int): http_err_replies [ rc ].body.errmsg = &http_err_chunks [ rc | GJB 4.6.1.8 |
M | 1046 | Static procedure is not explicitly called in code analysed. : http_htx_init | GJB 4.7.1.3 |
M | 1085 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 1076 | Attempt to read from freed memory. : chk | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_htx_deinit (1087 to 1119 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1100 | Pointer not checked for null before use. : http_errmsg | GJB 5.1.15 |
M | 1108 | Pointer not checked for null before use. : (http_errs)->conf.file | GJB 5.1.15 |
M | 1099 | Pointer not checked for null before use. : http_errmsg | GJB 5.1.15 |
M | 1111 | Pointer not checked for null before use. : (http_errs)->id | GJB 5.1.15 |
M | 1110 | Pointer not checked for null before use. : (http_errs)->id | GJB 5.1.15 |
M | 1101 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1102 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1107 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1108 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1110 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1110 | Value is not of appropriate type. : (unsigned int and int): http_errs -> replies [ rc | GJB 4.6.1.8 |
M | 1112 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1087 | Static procedure is not explicitly called in code analysed. : http_htx_deinit | GJB 4.7.1.3 |
M | 1099 | Attempt to read from freed memory. : http_errmsg | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_load_errorfile (1128 to 1205 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1143 | Pointer not checked for null before use. : http_errmsg | GJB 5.1.15 |
M | 1191 | Pointer not checked for null before use. : (http_errmsg)->node.key | GJB 5.1.15 |
M | 1188 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1196 | Pointer not checked for null before use. : (chk)->area | GJB 5.1.15 |
M | 1128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1144 | goto detected. | GJB 4.5.1.2 |
M | 1151 | goto detected. | GJB 4.5.1.2 |
M | 1162 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1165 | goto detected. | GJB 4.5.1.2 |
M | 1171 | goto detected. | GJB 4.5.1.2 |
M | 1175 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1178 | goto detected. | GJB 4.5.1.2 |
M | 1183 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1184 | goto detected. | GJB 4.5.1.2 |
M | 1190 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1191 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1192 | goto detected. | GJB 4.5.1.2 |
M | 1202 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1204 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1205 | Memory not freed after last reference. : http_errmsg | GJB 5.1.17 |
M | 1196 | Attempt to read from freed memory. : chk | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_load_errormsg (1211 to 1252 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1222 | Pointer not checked for null before use. : http_errmsg | GJB 5.1.15 |
M | 1242 | Pointer not checked for null before use. : (http_errmsg)->node.key | GJB 5.1.15 |
M | 1247 | Pointer not checked for null before use. : (chk)->area | GJB 5.1.15 |
M | 1211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1223 | goto detected. | GJB 4.5.1.2 |
M | 1226 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1229 | goto detected. | GJB 4.5.1.2 |
M | 1234 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1235 | goto detected. | GJB 4.5.1.2 |
M | 1241 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1242 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1243 | goto detected. | GJB 4.5.1.2 |
M | 1251 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1252 | Memory not freed after last reference. : http_errmsg | GJB 5.1.17 |
M | 1247 | Attempt to read from freed memory. : chk | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_parse_errorfile (1258 to 1273 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1258 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1258 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1264 | Value is not of appropriate type. : (unsigned int and int): http_err_codes [ rc | GJB 4.6.1.8 |
M | 1272 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_parse_errorloc (1281 to 1328 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1317 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1281 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1281 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1295 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1296 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1300 | Value is not of appropriate type. : (unsigned int and int): http_err_codes [ rc | GJB 4.6.1.8 |
M | 1304 | goto detected. | GJB 4.5.1.2 |
M | 1308 | Signed/unsigned conversion without cast. : (int and unsigned int): errlen = strlen | GJB 4.6.1.9 |
M | 1308 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1309 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1312 | goto detected. | GJB 4.5.1.2 |
M | 1324 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1325 | free used on string. | GJB 5.1.19 |
M | 1326 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1327 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_check_http_reply (1339 to 1368 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1361 | Pointer not checked for null before use. : (reply)->body.http_errors | GJB 5.1.15 |
M | 1339 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1345 | goto detected. | GJB 4.5.1.2 |
M | 1350 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1341 | Procedure contains UR data flow anomalies. : http_errs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_parse_http_reply (1386 to 1729 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1672 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 1441 | Pointer not checked for null before use. : act_arg | GJB 5.1.15 |
M | 1460 | Pointer not checked for null before use. : act_arg | GJB 5.1.15 |
M | 1515 | Pointer not checked for null before use. : obj | GJB 5.1.15 |
M | 1711 | Pointer not checked for null before use. : obj | GJB 5.1.15 |
M | 1711 | Pointer not checked for null before use. : (px)->conf.lfs_file | GJB 5.1.15 |
M | 1386 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1387 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1393 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1394 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1398 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1401 | goto detected. | GJB 4.5.1.2 |
M | 1415 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1416 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1418 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1419 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <status_code> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1420 | goto detected. | GJB 4.5.1.2 |
M | 1422 | Value is not of appropriate type. : (unsigned int and int): reply -> status = atol ( args [ cur_arg | GJB 4.6.1.8 |
M | 1423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1425 | goto detected. | GJB 4.5.1.2 |
M | 1429 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1431 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1432 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <ctype> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1433 | goto detected. | GJB 4.5.1.2 |
M | 1435 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1436 | Value is not of appropriate type. : (unsigned int and int): reply -> ctype = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1439 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1441 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1442 | goto detected. | GJB 4.5.1.2 |
M | 1444 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1446 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1447 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <name> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1448 | goto detected. | GJB 4.5.1.2 |
M | 1450 | Value is not of appropriate type. : (unsigned int and int): reply -> body.http_errors = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1453 | goto detected. | GJB 4.5.1.2 |
M | 1458 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1460 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1461 | goto detected. | GJB 4.5.1.2 |
M | 1463 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1467 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1469 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1470 | goto detected. | GJB 4.5.1.2 |
M | 1472 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1474 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1475 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <fmt> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1476 | goto detected. | GJB 4.5.1.2 |
M | 1478 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1480 | goto detected. | GJB 4.5.1.2 |
M | 1485 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1487 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1488 | goto detected. | GJB 4.5.1.2 |
M | 1490 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1492 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1493 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <file> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1494 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1496 | Value is not of appropriate type. : (unsigned int and int): fd = open ( args [ cur_arg | GJB 4.6.1.8 |
M | 1498 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "error opening file '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1499 | goto detected. | GJB 4.5.1.2 |
M | 1502 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "file '%s' exceeds the buffer size (%lld > %d)" , args [ cur_arg | GJB 4.6.1.8 |
M | 1504 | goto detected. | GJB 4.5.1.2 |
M | 1507 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1508 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1509 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "error reading file '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1510 | goto detected. | GJB 4.5.1.2 |
M | 1519 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1521 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1522 | goto detected. | GJB 4.5.1.2 |
M | 1524 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1526 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1527 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <str> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1528 | goto detected. | GJB 4.5.1.2 |
M | 1530 | Value is not of appropriate type. : (unsigned int and int): obj = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1531 | Signed/unsigned conversion without cast. : (int and unsigned int): objlen = strlen | GJB 4.6.1.9 |
M | 1531 | Value is not of appropriate type. : (unsigned int and int): objlen = strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 1534 | goto detected. | GJB 4.5.1.2 |
M | 1541 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1543 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1544 | goto detected. | GJB 4.5.1.2 |
M | 1546 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1548 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1549 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <file> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1550 | goto detected. | GJB 4.5.1.2 |
M | 1552 | Value is not of appropriate type. : (unsigned int and int): fd = open ( args [ cur_arg | GJB 4.6.1.8 |
M | 1554 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "error opening file '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1555 | goto detected. | GJB 4.5.1.2 |
M | 1558 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "file '%s' exceeds the buffer size (%lld > %d)" , args [ cur_arg | GJB 4.6.1.8 |
M | 1560 | goto detected. | GJB 4.5.1.2 |
M | 1563 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1565 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "error reading file '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1566 | goto detected. | GJB 4.5.1.2 |
M | 1570 | Value is not of appropriate type. : (unsigned int and int): obj [ objlen | GJB 4.6.1.8 |
M | 1574 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1576 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "unexpected '%s' argument, '%s' already defined" , args [ cur_arg | GJB 4.6.1.8 |
M | 1577 | goto detected. | GJB 4.5.1.2 |
M | 1579 | Value is not of appropriate type. : (unsigned int and int): act_arg = args [ cur_arg | GJB 4.6.1.8 |
M | 1581 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1582 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <fmt> as argument" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1583 | goto detected. | GJB 4.5.1.2 |
M | 1585 | Value is not of appropriate type. : (unsigned int and int): obj = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1586 | Signed/unsigned conversion without cast. : (int and unsigned int): objlen = strlen | GJB 4.6.1.9 |
M | 1586 | Value is not of appropriate type. : (unsigned int and int): objlen = strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 1590 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1592 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 1592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1592 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1593 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <name> and <value> as arguments" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1594 | goto detected. | GJB 4.5.1.2 |
M | 1596 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1596 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1597 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1598 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1598 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1600 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1604 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1606 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : out of memory" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 1607 | goto detected. | GJB 4.5.1.2 |
M | 1611 | Value is not of appropriate type. : (unsigned int and int): strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1614 | goto detected. | GJB 4.5.1.2 |
M | 1616 | Value is not of appropriate type. : (unsigned int and int): ! parse_logformat_string ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1617 | goto detected. | GJB 4.5.1.2 |
M | 1617 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1633 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1639 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1639 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1644 | Value is not of appropriate type. : (unsigned int and int): http_err_codes [ rc | GJB 4.6.1.8 |
M | 1651 | goto detected. | GJB 4.5.1.2 |
M | 1659 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1671 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1672 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1675 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1680 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1680 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1682 | goto detected. | GJB 4.5.1.2 |
M | 1684 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1686 | goto detected. | GJB 4.5.1.2 |
M | 1688 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1692 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1705 | goto detected. | GJB 4.5.1.2 |
M | 1709 | goto detected. | GJB 4.5.1.2 |
M | 1712 | goto detected. | GJB 4.5.1.2 |
M | 1712 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1717 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1717 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1723 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1724 | free used on string. | GJB 5.1.19 |
M | 1436 | Attempt to read from freed memory. : reply | GJB 5.1.16 |
M | 1634 | Attempt to read from freed memory. : reply | GJB 5.1.16 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1660 | Attempt to read from freed memory. : reply | GJB 5.1.16 |
M | 1693 | Attempt to read from freed memory. : reply | GJB 5.1.16 |
M | 1729 | Memory not freed after last reference. : hdr | GJB 5.1.17 |
M | 1711 | Attempt to read from freed memory. : px | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_errorloc (1732 to 1796 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1739 | Name redeclared in another C name space (MR). : status | GJB 4.1.1.16 |
M | 1732 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1733 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1734 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1744 | goto detected. | GJB 4.5.1.2 |
M | 1747 | Expression needs brackets. | GJB 5.1.2 |
M | 1747 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1747 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 1750 | goto detected. | GJB 4.5.1.2 |
M | 1759 | goto detected. | GJB 4.5.1.2 |
M | 1762 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1766 | goto detected. | GJB 4.5.1.2 |
M | 1775 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1778 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1780 | goto detected. | GJB 4.5.1.2 |
M | 1782 | Value is not of appropriate type. : (char and signed char): conf_err -> type = 1 | GJB 4.6.1.8 |
M | 1783 | Type conversion without cast. : (char and int): conf_err -> info.errorfile.status = status | GJB 4.6.1.9 |
M | 1732 | Static procedure is not explicitly called in code analysed. : proxy_parse_errorloc | GJB 4.7.1.3 |
M | 1796 | Memory not freed after last reference. : reply | GJB 5.1.17 |
M | 1796 | Memory not freed after last reference. : conf_err |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_errorfile (1799 to 1861 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1806 | Name redeclared in another C name space (MR). : status | GJB 4.1.1.16 |
M | 1799 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1800 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1801 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1811 | goto detected. | GJB 4.5.1.2 |
M | 1814 | Expression needs brackets. | GJB 5.1.2 |
M | 1814 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 1814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1814 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 1817 | goto detected. | GJB 4.5.1.2 |
M | 1825 | goto detected. | GJB 4.5.1.2 |
M | 1828 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1832 | goto detected. | GJB 4.5.1.2 |
M | 1841 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1844 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1846 | goto detected. | GJB 4.5.1.2 |
M | 1848 | Value is not of appropriate type. : (char and signed char): conf_err -> type = 1 | GJB 4.6.1.8 |
M | 1849 | Type conversion without cast. : (char and int): conf_err -> info.errorfile.status = status | GJB 4.6.1.9 |
M | 1799 | Static procedure is not explicitly called in code analysed. : proxy_parse_errorfile | GJB 4.7.1.3 |
M | 1861 | Memory not freed after last reference. : reply | GJB 5.1.17 |
M | 1861 | Memory not freed after last reference. : conf_err |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_errorfiles (1864 to 1924 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1869 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 1897 | Name redeclared in another C name space (MR). : status | GJB 4.1.1.16 |
M | 1889 | Pointer not checked for null before use. : conf_err | GJB 5.1.15 |
M | 1864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1866 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1869 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1874 | goto detected. | GJB 4.5.1.2 |
M | 1880 | goto detected. | GJB 4.5.1.2 |
M | 1884 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1885 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1887 | goto detected. | GJB 4.5.1.2 |
M | 1894 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1894 | Value is not of appropriate type. : (unsigned int and int): conf_err -> info.errorfiles.status [ rc | GJB 4.6.1.8 |
M | 1898 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1899 | Value is not of appropriate type. : (unsigned int and int): status = atol ( args [ cur_arg | GJB 4.6.1.8 |
M | 1902 | Value is not of appropriate type. : (unsigned int and int): http_err_codes [ rc | GJB 4.6.1.8 |
M | 1903 | Value is not of appropriate type. : (unsigned int and int): conf_err -> info.errorfiles.status [ rc | GJB 4.6.1.8 |
M | 1909 | goto detected. | GJB 4.5.1.2 |
M | 1919 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1920 | free used on string. | GJB 5.1.19 |
M | 1921 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1923 | goto detected. | GJB 4.5.1.2 |
M | 1864 | Function has no return statement. : proxy_parse_errorfiles | GJB 4.9.1.1 |
M | 1864 | Static procedure is not explicitly called in code analysed. : proxy_parse_errorfiles | GJB 4.7.1.3 |
M | 1924 | Memory not freed after last reference. : conf_err | GJB 5.1.17 |
M | 1924 | Memory not freed after last reference. : name |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_http_error (1927 to 2001 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1927 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1928 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1929 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1937 | goto detected. | GJB 4.5.1.2 |
M | 1942 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1942 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1945 | goto detected. | GJB 4.5.1.2 |
M | 1949 | goto detected. | GJB 4.5.1.2 |
M | 1950 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1953 | Value is not of appropriate type. : (unsigned int and int): http_err_codes [ rc | GJB 4.6.1.8 |
M | 1959 | goto detected. | GJB 4.5.1.2 |
M | 1961 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1962 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "%s : unknown keyword '%s'." , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 1963 | goto detected. | GJB 4.5.1.2 |
M | 1966 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1969 | goto detected. | GJB 4.5.1.2 |
M | 1972 | Name reused in inner scope. : rc | GJB 4.15.1.2,4.15.1.5 |
M | 1974 | Value is not of appropriate type. : (char and signed char): conf_err -> type = 2 | GJB 4.6.1.8 |
M | 1976 | Value is not of appropriate type. : (unsigned int and int): conf_err -> info.errorfiles.status [ rc | GJB 4.6.1.8 |
M | 1981 | Value is not of appropriate type. : (char and signed char): conf_err -> type = 1 | GJB 4.6.1.8 |
M | 1999 | goto detected. | GJB 4.5.1.2 |
M | 1927 | Function has no return statement. : proxy_parse_http_error | GJB 4.9.1.1 |
M | 1927 | Static procedure is not explicitly called in code analysed. : proxy_parse_http_error | GJB 4.7.1.3 |
M | 2001 | Memory not freed after last reference. : conf_err |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_check_errors (2004 to 2057 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2052 | Pointer not checked for null before use. : (conf_err)->file | GJB 5.1.15 |
M | 2050 | Pointer not checked for null before use. : (conf_err)->info.errorfiles.name | GJB 5.1.15 |
M | 2043 | Pointer not checked for null before use. : (conf_err)->info.errorfiles.name | GJB 5.1.15 |
M | 2014 | Value is not of appropriate type. : (unsigned int and int): px -> replies [ rc | GJB 4.6.1.8 |
M | 2017 | Value is not of appropriate type. : (unsigned int and int): px -> replies [ rc | GJB 4.6.1.8 |
M | 2017 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2017 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2017 | Value is not of appropriate type. : (unsigned int and int): ! px -> replies [ rc | GJB 4.6.1.8 |
M | 2018 | Value is not of appropriate type. : (unsigned int and int): px -> replies [ rc | GJB 4.6.1.8 |
M | 2032 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2033 | goto detected. | GJB 4.5.1.2 |
M | 2036 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2038 | Value is not of appropriate type. : (unsigned int and int): conf_err -> info.errorfiles.status [ rc | GJB 4.6.1.8 |
M | 2039 | Value is not of appropriate type. : (unsigned int and int): http_errs -> replies [ rc | GJB 4.6.1.8 |
M | 2040 | Value is not of appropriate type. : (unsigned int and int): px -> replies [ rc | GJB 4.6.1.8 |
M | 2040 | Value is not of appropriate type. : (unsigned int and int): px -> replies [ rc ] = http_errs -> replies [ rc | GJB 4.6.1.8 |
M | 2041 | Value is not of appropriate type. : (unsigned int and int): conf_err -> info.errorfiles.status [ rc | GJB 4.6.1.8 |
M | 2043 | Value is not of appropriate type. : (unsigned int and int): (at %s:%d).\n" , px -> id , http_err_codes [ rc | GJB 4.6.1.8 |
M | 2043 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2051 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2052 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2004 | Static procedure is not explicitly called in code analysed. : proxy_check_errors | GJB 4.7.1.3 |
M | 2007 | Procedure contains UR data flow anomalies. : http_errs | GJB 4.13.1.4 |
M | 2049 | Identifier reuse: label vs variable (MR). : next |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
post_check_errors (2059 to 2084 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2069 | Pointer not checked for null before use. : http_errmsg | GJB 5.1.15 |
M | 2059 | Empty parameter list to procedure/function. : post_check_errors | GJB 4.1.1.10 |
M | 2070 | goto detected. | GJB 4.5.1.2 |
M | 2075 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2059 | Static procedure is not explicitly called in code analysed. : post_check_errors | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_dup_default_conf_errors (2086 to 2121 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2119 | Pointer not checked for null before use. : new_conf_err | GJB 5.1.15 |
M | 2086 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2092 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2095 | goto detected. | GJB 4.5.1.2 |
M | 2106 | goto detected. | GJB 4.5.1.2 |
M | 2118 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_release_conf_errors (2123 to 2134 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2132 | Pointer not checked for null before use. : (conf_err)->file | GJB 5.1.15 |
M | 2130 | Pointer not checked for null before use. : (conf_err)->info.errorfiles.name | GJB 5.1.15 |
M | 2128 | Value is not of appropriate type. : (char and signed char): conf_err -> type == 0 | GJB 4.6.1.8 |
M | 2128 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2131 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2132 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_http_errors (2146 to 2235 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2190 | Name redeclared in another C name space (MR). : status | GJB 4.1.1.16 |
M | 2146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2150 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2157 | goto detected. | GJB 4.5.1.2 |
M | 2176 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2176 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2176 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2179 | goto detected. | GJB 4.5.1.2 |
M | 2192 | Expression needs brackets. | GJB 5.1.2 |
M | 2192 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 2192 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2192 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2192 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 2196 | goto detected. | GJB 4.5.1.2 |
M | 2204 | goto detected. | GJB 4.5.1.2 |
M | 2211 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2215 | goto detected. | GJB 4.5.1.2 |
M | 2224 | Value is not of appropriate type. : (unsigned int and int): curr_errs -> replies [ rc | GJB 4.6.1.8 |
M | 2226 | Value is not of appropriate type. : (char and signed char): * args [ 0 ] != 0 | GJB 4.6.1.8 |
M | 2229 | goto detected. | GJB 4.5.1.2 |
M | 2230 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2232 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2233 | free used on string. | GJB 5.1.19 |
M | 2146 | Static procedure is not explicitly called in code analysed. : cfg_parse_http_errors | GJB 4.7.1.3 |
M | 2225 | Memory not freed after last reference. : reply |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_is_htx (2258 to 2267 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2259 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2259 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2258 | Static procedure is not explicitly called in code analysed. : smp_fetch_is_htx | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_nbblks (2271 to 2289 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2281 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2285 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2272 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2272 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2271 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_nbblks | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_size (2293 to 2311 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2303 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2307 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2294 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2294 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2293 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_size | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_data (2315 to 2333 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2325 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2329 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2316 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2316 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2315 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_data | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_used (2337 to 2355 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2347 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2351 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2338 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2337 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_used | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_free (2359 to 2377 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2369 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2373 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2360 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2360 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2359 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_free | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_free_data (2381 to 2399 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2391 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2395 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2382 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2382 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2381 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_free_data | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_has_eom (2404 to 2422 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2414 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2418 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2405 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2405 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2404 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_has_eom | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_blk_type (2428 to 2460 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2433 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 2440 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2446 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2429 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2429 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2428 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_blk_type | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_blk_size (2465 to 2495 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2477 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2483 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2491 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 2466 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2466 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2473 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2473 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2465 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_blk_size | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_blk_stline (2501 to 2550 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2538 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 2538 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 2515 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2521 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2502 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2502 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2511 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2527 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2527 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2529 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2529 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2539 | Value is not of appropriate type. : (unsigned int and int): temp -> area [ temp -> data ++ | GJB 4.6.1.8 |
M | 2541 | Value is not of appropriate type. : (unsigned int and int): temp -> area [ temp -> data ++ | GJB 4.6.1.8 |
M | 2501 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_blk_stline | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_blk_hdrname (2556 to 2595 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2588 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 2568 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2574 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2557 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2557 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2580 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2580 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2556 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_blk_hdrname | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_blk_hdrval (2601 to 2640 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2613 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2619 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2602 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2627 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2627 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2601 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_blk_hdrval | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_htx_blk_data (2646 to 2685 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2658 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 2664 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2647 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2647 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2654 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2670 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2670 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2672 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2646 | Static procedure is not explicitly called in code analysed. : smp_fetch_htx_blk_data | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
val_blk_arg (2692 to 2734 http_htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2692 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2717 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) arg [ 0 ].data.str.area [ pos | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_http_req_custom (54 to 57 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_http_res_custom (62 to 65 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 62 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_http_after_res_custom (70 to 73 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 70 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_req_cond (76 to 137 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 76 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 76 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 85 | goto detected. | GJB 4.5.1.2 |
M | 89 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 89 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 98 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 98 | free used on string. | GJB 5.1.19 |
M | 99 | goto detected. | GJB 4.5.1.2 |
M | 103 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 103 | free used on string. | GJB 5.1.19 |
M | 104 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 111 | goto detected. | GJB 4.5.1.2 |
M | 114 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 114 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 114 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 114 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 116 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 118 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 118 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 121 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 121 | free used on string. | GJB 5.1.19 |
M | 122 | goto detected. | GJB 4.5.1.2 |
M | 126 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 128 | Value is not of appropriate type. : (unsigned int and int): if' or 'unless' followed by a condition but found '%s'.\n" , file , linenum , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 130 | goto detected. | GJB 4.5.1.2 |
M | 131 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 133 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 134 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 105 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 125 | Memory not freed after last reference. : errmsg |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_res_cond (140 to 201 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 146 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 149 | goto detected. | GJB 4.5.1.2 |
M | 153 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 153 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 162 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 162 | free used on string. | GJB 5.1.19 |
M | 163 | goto detected. | GJB 4.5.1.2 |
M | 167 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 167 | free used on string. | GJB 5.1.19 |
M | 168 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 175 | goto detected. | GJB 4.5.1.2 |
M | 178 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 180 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 182 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 182 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 185 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 185 | free used on string. | GJB 5.1.19 |
M | 186 | goto detected. | GJB 4.5.1.2 |
M | 190 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 192 | Value is not of appropriate type. : (unsigned int and int): if' or 'unless' followed by a condition but found '%s'.\n" , file , linenum , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 194 | goto detected. | GJB 4.5.1.2 |
M | 195 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 197 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 198 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 169 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 189 | Memory not freed after last reference. : errmsg |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_after_res_cond (205 to 266 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 211 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 214 | goto detected. | GJB 4.5.1.2 |
M | 218 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 218 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 219 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 227 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 227 | free used on string. | GJB 5.1.19 |
M | 228 | goto detected. | GJB 4.5.1.2 |
M | 232 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 232 | free used on string. | GJB 5.1.19 |
M | 233 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 240 | goto detected. | GJB 4.5.1.2 |
M | 243 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 243 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 245 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 247 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 247 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 250 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 250 | free used on string. | GJB 5.1.19 |
M | 251 | goto detected. | GJB 4.5.1.2 |
M | 255 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 257 | Value is not of appropriate type. : (unsigned int and int): if' or 'unless' followed by a condition but found '%s'.\n" , file , linenum , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 259 | goto detected. | GJB 4.5.1.2 |
M | 260 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 262 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 263 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 234 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 254 | Memory not freed after last reference. : errmsg |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_parse_redirect_rule (273 to 430 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 375 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 411 | Pointer not checked for null before use. : (rule)->cookie_str | GJB 5.1.15 |
M | 416 | Pointer not checked for null before use. : (rule)->cookie_str | GJB 5.1.15 |
M | 380 | Pointer not checked for null before use. : destination | GJB 5.1.15 |
M | 424 | Pointer not checked for null before use. : (rule)->cookie_str | GJB 5.1.15 |
M | 273 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 274 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 274 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 280 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 281 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 287 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 288 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 289 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 290 | goto detected. | GJB 4.5.1.2 |
M | 294 | Value is not of appropriate type. : (unsigned int and int): destination = args [ cur_arg | GJB 4.6.1.8 |
M | 296 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 297 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 298 | goto detected. | GJB 4.5.1.2 |
M | 301 | Value is not of appropriate type. : (unsigned int and int): destination = args [ cur_arg | GJB 4.6.1.8 |
M | 303 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 304 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 305 | goto detected. | GJB 4.5.1.2 |
M | 309 | Value is not of appropriate type. : (unsigned int and int): destination = args [ cur_arg | GJB 4.6.1.8 |
M | 311 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 312 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 313 | goto detected. | GJB 4.5.1.2 |
M | 316 | Value is not of appropriate type. : (unsigned int and int): cookie = args [ cur_arg | GJB 4.6.1.8 |
M | 319 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 320 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 321 | goto detected. | GJB 4.5.1.2 |
M | 324 | Value is not of appropriate type. : (unsigned int and int): cookie = args [ cur_arg | GJB 4.6.1.8 |
M | 327 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 328 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 329 | goto detected. | GJB 4.5.1.2 |
M | 332 | Value is not of appropriate type. : (unsigned int and int): code = atol ( args [ cur_arg | GJB 4.6.1.8 |
M | 333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 334 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s': unsupported HTTP code '%s' (must be one of 301, 302, 303, 307 or 308)" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 334 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s': unsupported HTTP code '%s' (must be one of 301, 302, 303, 307 or 308)" , args [ cur_arg - 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 340 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 343 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 346 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 347 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 347 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 348 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 348 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 358 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 374 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 381 | Signed/unsigned conversion without cast. : (int and unsigned int): rule -> rdr_len = strlen | GJB 4.6.1.9 |
M | 391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 398 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 408 | Signed/unsigned conversion without cast. : (int and unsigned int): rule -> cookie_len = strlen | GJB 4.6.1.9 |
M | 410 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 415 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 423 | Signed/unsigned conversion without cast. : (int and unsigned int): rule -> flags = flags | GJB 4.6.1.9 |
M | 425 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 428 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "missing argument for '%s'" , args [ cur_arg | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__http_rules_init (433 to 435 http_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 433 | Static procedure is not explicitly called in code analysed. : __http_rules_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_defrag (24 to 75 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 27 | Pointer not checked for null before use. : chunk | GJB 5.1.15 |
M | 49 | Pointer not checked for null before use. : newblk | GJB 5.1.15 |
M | 40 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 29 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 38 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 38 | Signed/unsigned conversion without cast. : (unsigned int and int): new | GJB 4.6.1.9 |
M | 39 | Signed/unsigned conversion without cast. : (unsigned int and int): addr | GJB 4.6.1.9 |
M | 43 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 43 | Value is not of appropriate type. : (unsigned int and signed char): old != | GJB 4.6.1.8 |
M | 48 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 54 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> first == old | GJB 4.6.1.9 |
M | 55 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 55 | Signed/unsigned conversion without cast. : (int and unsigned int): first = new | GJB 4.6.1.9 |
M | 58 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 58 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 59 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 62 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 63 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 69 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 69 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail = new | GJB 4.6.1.9 |
M | 69 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 70 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 71 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr = addr | GJB 4.6.1.9 |
M | 74 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 74 | Value is not of appropriate type. : (unsigned int and signed char): ( blkpos == | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_defrag_blks (81 to 107 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 101 | Pointer not checked for null before use. : newblk | GJB 5.1.15 |
M | 83 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 85 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 89 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 90 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 99 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 100 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 100 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 104 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 106 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_reserve_nxblk (115 to 196 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 166 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 171 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 177 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 180 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 125 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 128 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> data = blksz | GJB 4.6.1.9 |
M | 129 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr = blksz | GJB 4.6.1.9 |
M | 141 | Empty then clause. | GJB 4.3.1.1 |
M | 148 | goto detected. | GJB 4.5.1.2 |
M | 159 | Signed/unsigned conversion without cast. : (unsigned int and int): headroom = ( htx -> end_addr - htx -> head_addr | GJB 4.6.1.9 |
M | 160 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Expression needs brackets. | GJB 5.1.2 |
M | 167 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr += blksz | GJB 4.6.1.9 |
M | 172 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> head_addr += blksz | GJB 4.6.1.9 |
M | 181 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr += blksz | GJB 4.6.1.9 |
M | 185 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> data += blksz | GJB 4.6.1.9 |
M | 188 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> first = tail | GJB 4.6.1.9 |
M | 195 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_prepare_blk_expansion (216 to 300 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 223 | Signed/unsigned conversion without cast. : (unsigned int and int): headroom = ( htx -> end_addr - htx -> head_addr | GJB 4.6.1.9 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Signed/unsigned conversion without cast. : (unsigned int and int): tailroom = ( htx_pos_to_addr ( htx , htx -> tail ) - htx -> tail_addr | GJB 4.6.1.9 |
M | 231 | Expression needs brackets. | GJB 5.1.2 |
M | 233 | Expression needs brackets. | GJB 5.1.2 |
M | 234 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 241 | Expression needs brackets. | GJB 5.1.2 |
M | 243 | Signed/unsigned conversion without cast. : (int and unsigned int): delta < tailroom | GJB 4.6.1.9 |
M | 248 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 253 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr -= sz | GJB 4.6.1.9 |
M | 254 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> head_addr += sz | GJB 4.6.1.9 |
M | 254 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 258 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 261 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> end_addr += sz | GJB 4.6.1.9 |
M | 264 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 266 | Expression needs brackets. | GJB 5.1.2 |
M | 268 | Signed/unsigned conversion without cast. : (int and unsigned int): delta < headroom | GJB 4.6.1.9 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 276 | Expression needs brackets. | GJB 5.1.2 |
M | 279 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> end_addr += sz | GJB 4.6.1.9 |
M | 281 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr += sz | GJB 4.6.1.9 |
M | 281 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 284 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 284 | Expression needs brackets. | GJB 5.1.2 |
M | 287 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> end_addr += sz | GJB 4.6.1.9 |
M | 289 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> head_addr += sz | GJB 4.6.1.9 |
M | 289 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 291 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_blk (305 to 316 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 314 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 314 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 315 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_remove_blk (322 to 392 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 369 | Pointer not checked for null before use. : lastblk | GJB 5.1.15 |
M | 361 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 342 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 355 | goto detected. | GJB 4.5.1.2 |
M | 356 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 357 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 373 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 373 | Expression needs brackets. | GJB 5.1.2 |
M | 374 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> tail_addr = addr | GJB 4.6.1.9 |
M | 375 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 375 | Expression needs brackets. | GJB 5.1.2 |
M | 376 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> head_addr = addr | GJB 4.6.1.9 |
M | 376 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 380 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 383 | Signed/unsigned conversion without cast. : (int and unsigned int): htx -> end_addr += sz | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_find_offset (399 to 417 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 412 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_truncate (422 to 434 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 428 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 433 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_drain (442 to 477 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 455 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 460 | goto detected. | GJB 4.5.1.2 |
M | 469 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_data_atonce (486 to 561 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 536 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 493 | goto detected. | GJB 4.5.1.2 |
M | 502 | goto detected. | GJB 4.5.1.2 |
M | 508 | goto detected. | GJB 4.5.1.2 |
M | 513 | Signed/unsigned conversion without cast. : (unsigned int and int): headroom = ( htx -> end_addr - htx -> head_addr | GJB 4.6.1.9 |
M | 514 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 514 | Signed/unsigned conversion without cast. : (unsigned int and int): tailroom = ( htx_pos_to_addr ( htx , htx -> tail ) - htx -> tail_addr | GJB 4.6.1.9 |
M | 519 | Expression needs brackets. | GJB 5.1.2 |
M | 521 | goto detected. | GJB 4.5.1.2 |
M | 524 | goto detected. | GJB 4.5.1.2 |
M | 525 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 527 | Expression needs brackets. | GJB 5.1.2 |
M | 527 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 527 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 527 | Signed/unsigned conversion without cast. : (int and unsigned int): data.len <= headroom | GJB 4.6.1.9 |
M | 528 | goto detected. | GJB 4.5.1.2 |
M | 528 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 530 | goto detected. | GJB 4.5.1.2 |
M | 537 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 539 | Signed/unsigned conversion without cast. : (int and unsigned int): data.len == len | GJB 4.6.1.9 |
M | 541 | goto detected. | GJB 4.5.1.2 |
M | 543 | Signed/unsigned conversion without cast. : (int and unsigned int): data.ptr += len | GJB 4.6.1.9 |
M | 544 | Signed/unsigned conversion without cast. : (int and unsigned int): data.len -= len | GJB 4.6.1.9 |
M | 560 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_replace_blk_value (568 to 638 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 603 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 604 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 607 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 608 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 611 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 612 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 615 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 621 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 569 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 577 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 590 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 591 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 595 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 596 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 611 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 612 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 627 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_xfer_blks (645 to 722 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 671 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 662 | goto detected. | GJB 4.5.1.2 |
M | 668 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 668 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 668 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 671 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 671 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 671 | Signed/unsigned conversion without cast. : (int and unsigned int): sl -> hdrs_bytes > count | GJB 4.6.1.9 |
M | 677 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 677 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 678 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 678 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 680 | Signed/unsigned conversion without cast. : (int and unsigned int): htx_used_space ( src ) > count | GJB 4.6.1.9 |
M | 685 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 697 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 697 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 706 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 720 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 721 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_replace_header (728 to 760 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 757 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 740 | Expression needs brackets. | GJB 5.1.2 |
M | 746 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 746 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_replace_stline (766 to 816 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 782 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 803 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 787 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 787 | Expression needs brackets. | GJB 5.1.2 |
M | 793 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 815 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_stline (821 to 852 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 840 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 831 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 837 | Signed/unsigned conversion without cast. : (int and unsigned int): blk -> info += size | GJB 4.6.1.9 |
M | 841 | Signed/unsigned conversion without cast. : (int and unsigned int): sl -> flags = flags | GJB 4.6.1.9 |
M | 851 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_header (857 to 871 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 867 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 870 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_trailer (876 to 890 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 886 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 889 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_all_headers (895 to 904 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 897 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 899 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i | GJB 4.6.1.8 |
M | 900 | Value is not of appropriate type. : (unsigned int and int): htx , hdrs [ i | GJB 4.6.1.8 |
M | 900 | Value is not of appropriate type. : (unsigned int and int): htx , hdrs [ i ].n , hdrs [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_all_trailers (909 to 918 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 911 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 913 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i | GJB 4.6.1.8 |
M | 914 | Value is not of appropriate type. : (unsigned int and int): htx , hdrs [ i | GJB 4.6.1.8 |
M | 914 | Value is not of appropriate type. : (unsigned int and int): htx , hdrs [ i ].n , hdrs [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_endof (923 to 933 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 932 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_data (940 to 1007 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 989 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 948 | goto detected. | GJB 4.5.1.2 |
M | 960 | goto detected. | GJB 4.5.1.2 |
M | 966 | goto detected. | GJB 4.5.1.2 |
M | 972 | Expression needs brackets. | GJB 5.1.2 |
M | 973 | goto detected. | GJB 4.5.1.2 |
M | 974 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 974 | Signed/unsigned conversion without cast. : (unsigned int and int): room = ( htx_pos_to_addr ( htx , htx -> tail ) - htx -> tail_addr | GJB 4.6.1.9 |
M | 977 | Expression needs brackets. | GJB 5.1.2 |
M | 978 | goto detected. | GJB 4.5.1.2 |
M | 979 | Signed/unsigned conversion without cast. : (unsigned int and int): room = ( htx -> end_addr - htx -> head_addr | GJB 4.6.1.9 |
M | 982 | Signed/unsigned conversion without cast. : (unsigned int and int): room < len | GJB 4.6.1.9 |
M | 983 | Signed/unsigned conversion without cast. : (int and unsigned int): len = room | GJB 4.6.1.9 |
M | 990 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 996 | Function return type inconsistent. : (unsigned int and int) | GJB 4.9.1.4 |
M | 1006 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_add_last_data (1016 to 1038 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1029 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 1037 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_move_blk_before (1043 to 1061 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1048 | Pointer not checked for null before use. : cblk | GJB 5.1.15 |
M | 1050 | Pointer not checked for null before use. : cblk |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
htx_append_msg (1067 to 1092 htx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1082 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_id (21 to 24 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 21 | Name found with length less than 2. : a | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_tw1 (37 to 46 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 37 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 39 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 41 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 43 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_tw2 (53 to 62 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 55 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 57 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 59 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_tw3 (70 to 78 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 70 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 73 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 75 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_bj6 (88 to 97 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 88 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 90 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 92 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 93 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 94 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_bj7 (105 to 115 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 105 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 107 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 109 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 111 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
count_hash_results (118 to 125 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 118 | First array param dimension specified. | GJB 5.1.11 |
M | 122 | Signed/unsigned conversion without cast. : (int and unsigned long): srv = hash | GJB 4.6.1.9 |
M | 123 | Value is not of appropriate type. : (unsigned int and int): counts [ nsrv | GJB 4.6.1.8 |
M | 123 | Value is not of appropriate type. : (unsigned int and int): counts [ nsrv ] [ srv | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_hash_results (127 to 152 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 127 | First array param dimension specified. | GJB 5.1.11 |
M | 137 | Value is not of appropriate type. : (unsigned int and int): err = 100.0 * ( counts [ nsrv | GJB 4.6.1.8 |
M | 137 | Value is not of appropriate type. : (unsigned int and int): err = 100.0 * ( counts [ nsrv ] [ srv | GJB 4.6.1.8 |
M | 137 | Expression needs brackets. | GJB 5.1.2 |
M | 137 | Expression needs brackets. | GJB 5.1.2 |
M | 138 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 139 | Value is not of appropriate type. : (unsigned int and int): printf ( "% 3.1f%%%c " , err , counts [ nsrv | GJB 4.6.1.8 |
M | 139 | Value is not of appropriate type. : (unsigned int and int): printf ( "% 3.1f%%%c " , err , counts [ nsrv ] [ srv | GJB 4.6.1.8 |
M | 148 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (154 to 202 ip-hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 154 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 167 | Signed/unsigned conversion without cast. : (unsigned int and int): mask | GJB 4.6.1.9 |
M | 170 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 171 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 172 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 173 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 174 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 175 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 176 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 177 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 180 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 181 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 182 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 183 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 184 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 189 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 | GJB 4.7.1.9 |
M | 190 | Actual and formal parameters inconsistent (MR). : (unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
in6_bswap (29 to 35 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | Name found with length less than 2. : a | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_ipv6_addr (38 to 46 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 41 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 43 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_addr (48 to 57 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 56 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 48 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
M | 48 | Procedure is not called or referenced in code analysed. : get_addr | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a_le_b (60 to 71 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 60 | Name found with length less than 2. : b | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a_eq_b (74 to 81 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 74 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 74 | Name found with length less than 2. : b | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a_gt_b (84 to 95 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 84 | Name found with length less than 2. : b | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hmask (98 to 132 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 98 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 98 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 101 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 102 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 107 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 109 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 113 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 116 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 119 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 123 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
one_ls_b (135 to 168 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 135 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 135 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 137 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 143 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 145 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 149 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 152 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 155 | Signed/unsigned conversion without cast. : (unsigned int and int): b | GJB 4.6.1.9 |
M | 159 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a_plus_b (171 to 184 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 171 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 171 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 171 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 173 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 174 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 177 | Value is not of appropriate type. : (unsigned int and int): c = ( unsigned long long int ) a -> s6_addr32 [ i | GJB 4.6.1.8 |
M | 177 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 177 | Value is not of appropriate type. : (unsigned int and int): c = ( unsigned long long int ) a -> s6_addr32 [ i ] + ( unsigned long long int ) b -> s6_addr32 [ i | GJB 4.6.1.8 |
M | 179 | Value is not of appropriate type. : (unsigned int and int): r -> s6_addr32 [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a_minus_b (187 to 213 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 187 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 187 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 187 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 189 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 190 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 191 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 203 | Value is not of appropriate type. : (long long and uns long long): d = ( unsigned long long int | GJB 4.6.1.8 |
M | 203 | Value is not of appropriate type. : (unsigned int and int): d = ( unsigned long long int ) b -> s6_addr32 [ i | GJB 4.6.1.8 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Value is not of appropriate type. : (long long and uns long long): c = ( unsigned long long int | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): c = ( unsigned long long int ) a -> s6_addr32 [ i | GJB 4.6.1.8 |
M | 208 | Value is not of appropriate type. : (unsigned int and int): r -> s6_addr32 [ i | GJB 4.6.1.8 |
M | 209 | Use of shift operator on signed type. | GJB 4.6.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
a_and_b (216 to 223 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 216 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 216 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 216 | Name found with length less than 2. : r | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
is_set (226 to 232 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 226 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 228 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
convert_range (240 to 297 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 257 | Pointer not checked for null before use. : low | GJB 5.1.15 |
M | 257 | Pointer not checked for null before use. : high | GJB 5.1.15 |
M | 240 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 240 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 255 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 262 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 279 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 287 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 293 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 296 | Comment possibly contains code. | GJB 4.10.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (299 to 315 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (317 to 396 ip6range.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 393 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 393 | Pointer not checked for null before use. : he | GJB 5.1.15 |
M | 317 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 317 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 320 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | Signed/unsigned conversion without cast. : (int and unsigned int): l = strlen | GJB 4.6.1.9 |
M | 332 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 332 | Value is not of appropriate type. : (unsigned int and int): line [ l - 1 | GJB 4.6.1.8 |
M | 333 | Value is not of appropriate type. : (unsigned int and int): line [ -- l | GJB 4.6.1.8 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 362 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 362 | Type conversion without cast. : (bool and char): he ++ ) = ' ' | GJB 4.6.1.9 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 364 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 364 | Type conversion without cast. : (bool and char): he ++ ) = ' ' | GJB 4.6.1.9 |
M | 367 | Expression needs brackets. | GJB 5.1.2 |
M | 367 | Type conversion without cast. : (signed char and char): * ( he - 1 ) == ' ' | GJB 4.6.1.9 |
M | 385 | Value is not of appropriate type. : (unsigned int and int): inet_pton ( AF_INET6 , argv [ l | GJB 4.6.1.8 |
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 388 | Expression with more than one function. | GJB 4.7.1.6 |
M | 389 | Value is not of appropriate type. : (unsigned int and int): & sa , & da , he , argv [ l | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_ipv4_addr (30 to 36 iprange.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 30 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
convert_range (41 to 94 iprange.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 41 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 51 | Signed/unsigned conversion without cast. : (int and unsigned int): low | GJB 4.6.1.9 |
M | 53 | Signed/unsigned conversion without cast. : (unsigned int and int): high = swap | GJB 4.6.1.9 |
M | 54 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 56 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 56 | Expression needs brackets. | GJB 5.1.2 |
M | 61 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 64 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 64 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 64 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 64 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 64 | Expression needs brackets. | GJB 5.1.2 |
M | 64 | Signed/unsigned conversion without cast. : (int and unsigned int): low + ( 1 << bit ) - 1 | GJB 4.6.1.9 |
M | 66 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 69 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 69 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 74 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 77 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 80 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 80 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 80 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 80 | Expression needs brackets. | GJB 5.1.2 |
M | 82 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 82 | Expression needs brackets. | GJB 5.1.2 |
M | 84 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 86 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 90 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 93 | Comment possibly contains code. | GJB 4.10.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (96 to 112 iprange.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (114 to 202 iprange.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 198 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 198 | Pointer not checked for null before use. : he | GJB 5.1.15 |
M | 114 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 116 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 117 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 118 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 129 | Signed/unsigned conversion without cast. : (int and unsigned int): l = strlen | GJB 4.6.1.9 |
M | 130 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 130 | Value is not of appropriate type. : (unsigned int and int): line [ l - 1 | GJB 4.6.1.8 |
M | 131 | Value is not of appropriate type. : (unsigned int and int): line [ -- l | GJB 4.6.1.8 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 147 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 148 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 160 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 160 | Type conversion without cast. : (bool and char): he ++ ) = ' ' | GJB 4.6.1.9 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 162 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 162 | Type conversion without cast. : (bool and char): he ++ ) = ' ' | GJB 4.6.1.9 |
M | 165 | Expression needs brackets. | GJB 5.1.2 |
M | 165 | Type conversion without cast. : (signed char and char): * ( he - 1 ) == ' ' | GJB 4.6.1.9 |
M | 171 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 190 | Value is not of appropriate type. : (unsigned int and int): inet_pton ( AF_INET , argv [ l | GJB 4.6.1.8 |
M | 193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 194 | Value is not of appropriate type. : (unsigned int and int): sa , da , he , argv [ l | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_ist (20 to 20 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_ist | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 20 | Procedure is not called or referenced in code analysed. : f_ist | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_ist (21 to 30 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 21 | Empty parameter list to procedure/function. : test_ist | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_ist2 (32 to 32 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_ist2 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 32 | Procedure is not called or referenced in code analysed. : f_ist2 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_ist2 (33 to 42 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | Empty parameter list to procedure/function. : test_ist2 | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istlen (44 to 44 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istlen | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 44 | Function return type inconsistent. : (unsigned int and int) | GJB 4.9.1.4 |
M | 44 | Procedure is not called or referenced in code analysed. : f_istlen | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istlen (45 to 54 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 45 | Empty parameter list to procedure/function. : test_istlen | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istnext (56 to 56 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istnext | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 56 | Procedure is not called or referenced in code analysed. : f_istnext | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istnext (57 to 66 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 57 | Empty parameter list to procedure/function. : test_istnext | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istpad (68 to 68 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istpad | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | 68 | Procedure is not called or referenced in code analysed. : f_istpad | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istpad (69 to 80 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | Empty parameter list to procedure/function. : test_istpad | GJB 4.1.1.10 |
M | 71 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 71 | Array initialisation has too many items. : buf[*]; given=6, expected=5 | GJB 5.1.3 |
M | 77 | Value is not of appropriate type. : (char and signed char): buf [ 3 ] != 0 | GJB 4.6.1.8 |
M | 77 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 77 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_isttrim (82 to 82 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_isttrim | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Procedure is not called or referenced in code analysed. : f_isttrim | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_isttrim (83 to 104 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 83 | Empty parameter list to procedure/function. : test_isttrim | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istzero (106 to 106 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istzero | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 106 | Procedure is not called or referenced in code analysed. : f_istzero | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istzero (107 to 130 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 107 | Empty parameter list to procedure/function. : test_istzero | GJB 4.1.1.10 |
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 109 | Array initialisation has too many items. : buf[*]; given=6, expected=5 | GJB 5.1.3 |
M | 120 | Value is not of appropriate type. : (char and signed char): buf [ 4 ] != 0 | GJB 4.6.1.8 |
M | 126 | Value is not of appropriate type. : (char and signed char): buf [ 0 ] == 0 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istdiff (132 to 132 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istdiff | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 132 | Procedure is not called or referenced in code analysed. : f_istdiff | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istdiff (133 to 160 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 133 | Empty parameter list to procedure/function. : test_istdiff | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istmatch (162 to 162 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istmatch | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 162 | Procedure is not called or referenced in code analysed. : f_istmatch | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istmatch (163 to 199 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 163 | Empty parameter list to procedure/function. : test_istmatch | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istnmatch (201 to 201 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istnmatch | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 201 | Procedure is not called or referenced in code analysed. : f_istnmatch | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istnmatch (202 to 265 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 202 | Empty parameter list to procedure/function. : test_istnmatch | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_isteq (267 to 267 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_isteq | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 267 | Procedure is not called or referenced in code analysed. : f_isteq | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_isteq (268 to 304 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 268 | Empty parameter list to procedure/function. : test_isteq | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istneq (306 to 306 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istneq | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 306 | Procedure is not called or referenced in code analysed. : f_istneq | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istneq (307 to 370 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 307 | Empty parameter list to procedure/function. : test_istneq | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istcpy (372 to 372 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istcpy | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 372 | Procedure is not called or referenced in code analysed. : f_istcpy | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istcpy (373 to 400 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 373 | Empty parameter list to procedure/function. : test_istcpy | GJB 4.1.1.10 |
M | 375 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 375 | Array initialisation has insufficient items. : buf[*]; given=7, expected=100 | GJB 5.1.20 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istscpy (402 to 402 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istscpy | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 402 | Procedure is not called or referenced in code analysed. : f_istscpy | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istscpy (403 to 433 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 403 | Empty parameter list to procedure/function. : test_istscpy | GJB 4.1.1.10 |
M | 405 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 405 | Array initialisation has insufficient items. : buf[*]; given=7, expected=100 | GJB 5.1.20 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istcat (435 to 435 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istcat | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 435 | Procedure is not called or referenced in code analysed. : f_istcat | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istcat (436 to 466 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 436 | Empty parameter list to procedure/function. : test_istcat | GJB 4.1.1.10 |
M | 438 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 438 | Array initialisation has insufficient items. : buf[*]; given=7, expected=11 | GJB 5.1.20 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istscat (468 to 468 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istscat | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 468 | Procedure is not called or referenced in code analysed. : f_istscat | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istscat (469 to 499 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 469 | Empty parameter list to procedure/function. : test_istscat | GJB 4.1.1.10 |
M | 471 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 471 | Array initialisation has insufficient items. : buf[*]; given=7, expected=11 | GJB 5.1.20 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istchr (501 to 501 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istchr | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 501 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 501 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 501 | Procedure is not called or referenced in code analysed. : f_istchr | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istchr (502 to 522 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 502 | Empty parameter list to procedure/function. : test_istchr | GJB 4.1.1.10 |
M | 509 | Expression needs brackets. | GJB 5.1.2 |
M | 512 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istfind (524 to 524 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istfind | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 524 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 524 | Procedure is not called or referenced in code analysed. : f_istfind | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istfind (525 to 560 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 525 | Empty parameter list to procedure/function. : test_istfind | GJB 4.1.1.10 |
M | 535 | Expression needs brackets. | GJB 5.1.2 |
M | 541 | Expression needs brackets. | GJB 5.1.2 |
M | 547 | Expression needs brackets. | GJB 5.1.2 |
M | 553 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istskip (562 to 562 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istskip | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 562 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 562 | Procedure is not called or referenced in code analysed. : f_istskip | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istskip (563 to 605 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 563 | Empty parameter list to procedure/function. : test_istskip | GJB 4.1.1.10 |
M | 580 | Expression needs brackets. | GJB 5.1.2 |
M | 583 | Expression needs brackets. | GJB 5.1.2 |
M | 586 | Expression needs brackets. | GJB 5.1.2 |
M | 589 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
f_istist (607 to 607 ist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : f_istist | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 607 | Name redeclared in another C name space (MR). : ist | GJB 4.1.1.16 |
M | 607 | Procedure is not called or referenced in code analysed. : f_istist | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_istist (608 to 673 ist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 608 | Empty parameter list to procedure/function. : test_istist | GJB 4.1.1.10 |
M | 630 | Expression needs brackets. | GJB 5.1.2 |
M | 633 | Expression needs brackets. | GJB 5.1.2 |
M | 636 | Expression needs brackets. | GJB 5.1.2 |
M | 639 | Expression needs brackets. | GJB 5.1.2 |
M | 642 | Expression needs brackets. | GJB 5.1.2 |
M | 645 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_key_build (26 to 213 key.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 172 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 203 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 43 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 189 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 27 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 36 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 109 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 127 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 127 | Value is not of appropriate type. : (int and char): {.ptr = ck -> data ,.len = strlen ( ck -> data | GJB 4.6.1.8 |
M | 149 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 154 | Value is not of appropriate type. : (int and char): strlen ( ck -> data | GJB 4.6.1.8 |
M | 167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_key_hash (215 to 224 key.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 217 | Procedure contains UR data flow anomalies. : ctx |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_key_debug (226 to 273 key.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 231 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 241 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 241 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 241 | Value is not of appropriate type. : (unsigned int and int): key -> data [ i | GJB 4.6.1.8 |
M | 243 | Value is not of appropriate type. : (char and signed char): c != 0 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_skip_node (31 to 43 lb_chash.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_dequeue_srv (48 to 58 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 54 | Value is not of appropriate type. : (unsigned int and int): s -> proxy -> lbprm.chash.last == & s -> lb_nodes [ s -> lb_nodes_now | GJB 4.6.1.8 |
M | 56 | Value is not of appropriate type. : (unsigned int and int): eb32_delete ( & s -> lb_nodes [ s -> lb_nodes_now | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_queue_dequeue_srv (67 to 110 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 73 | Value is not of appropriate type. : (unsigned int and int): s -> proxy -> lbprm.chash.last == & s -> lb_nodes [ s -> lb_nodes_now | GJB 4.6.1.8 |
M | 75 | Value is not of appropriate type. : (unsigned int and int): eb32_delete ( & s -> lb_nodes [ s -> lb_nodes_now | GJB 4.6.1.8 |
M | 88 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 90 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 93 | Value is not of appropriate type. : (unsigned int and int): memset ( & s -> lb_nodes [ s -> lb_nodes_tot | GJB 4.6.1.8 |
M | 97 | Expression needs brackets. | GJB 5.1.2 |
M | 105 | Value is not of appropriate type. : (unsigned int and int): s -> proxy -> lbprm.chash.last == & s -> lb_nodes [ s -> lb_nodes_now | GJB 4.6.1.8 |
M | 107 | Value is not of appropriate type. : (unsigned int and int): eb32_insert ( s -> lb_tree , & s -> lb_nodes [ s -> lb_nodes_now | GJB 4.6.1.8 |
M | 101 | Memory not freed after last reference. : new_nodes |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_set_server_status_down (120 to 166 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | goto detected. | GJB 4.5.1.2 |
M | 134 | goto detected. | GJB 4.5.1.2 |
M | 149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_set_server_status_up (177 to 228 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 187 | goto detected. | GJB 4.5.1.2 |
M | 191 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_update_server_weight (235 to 281 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 262 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 235 | Static procedure is not explicitly called in code analysed. : chash_update_server_weight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_server_is_eligible (288 to 309 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 288 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 293 | Expression needs brackets. | GJB 5.1.2 |
M | 293 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 294 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 301 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 301 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 301 | Expression needs brackets. | GJB 5.1.2 |
M | 301 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 302 | Expression needs brackets. | GJB 5.1.2 |
M | 305 | Signed/unsigned conversion without cast. : (unsigned int and int): slots | GJB 4.6.1.9 |
M | 308 | Signed/unsigned conversion without cast. : (int and unsigned int): s -> served | GJB 4.6.1.9 |
M | 308 | Signed/unsigned conversion without cast. : (int and unsigned int): s -> served < slots | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_get_server_hash (319 to 384 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 356 | Pointer not checked for null before use. : prev | GJB 5.1.15 |
M | 351 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 378 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 372 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 319 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 333 | goto detected. | GJB 4.5.1.2 |
M | 339 | goto detected. | GJB 4.5.1.2 |
M | 348 | goto detected. | GJB 4.5.1.2 |
M | 362 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 375 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 375 | Expression needs brackets. | GJB 5.1.2 |
M | 383 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_get_next_server (389 to 459 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 441 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 453 | Pointer not checked for null before use. : avoided_node | GJB 5.1.15 |
M | 421 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 389 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 395 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 403 | goto detected. | GJB 4.5.1.2 |
M | 409 | goto detected. | GJB 4.5.1.2 |
M | 412 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 425 | goto detected. | GJB 4.5.1.2 |
M | 441 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 441 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 441 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 458 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 395 | Procedure contains UR data flow anomalies. : avoided | GJB 4.13.1.4 |
M | 396 | Procedure contains UR data flow anomalies. : avoided_node |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chash_init_server_tree (466 to 506 lb_chash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 499 | Pointer not checked for null before use. : (srv)->lb_nodes | GJB 5.1.15 |
M | 466 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 480 | Expression needs brackets. | GJB 5.1.2 |
M | 480 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 496 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 499 | Value is not of appropriate type. : (unsigned int and int): srv -> lb_nodes [ node | GJB 4.6.1.8 |
M | 500 | Value is not of appropriate type. : (unsigned int and int): srv -> lb_nodes [ node | GJB 4.6.1.8 |
M | 500 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_remove_from_tree (32 to 35 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 32 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_dequeue_srv (41 to 44 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_queue_srv (54 to 58 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 54 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_srv_reposition (66 to 74 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 66 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 66 | Static procedure is not explicitly called in code analysed. : fas_srv_reposition | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_set_server_status_down (84 to 131 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 92 | goto detected. | GJB 4.5.1.2 |
M | 98 | goto detected. | GJB 4.5.1.2 |
M | 113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_set_server_status_up (142 to 195 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 150 | goto detected. | GJB 4.5.1.2 |
M | 156 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_update_server_weight (202 to 253 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 232 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 202 | Static procedure is not explicitly called in code analysed. : fas_update_server_weight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_init_server_tree (259 to 289 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 259 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 272 | Expression needs brackets. | GJB 5.1.2 |
M | 272 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fas_get_next_server (296 to 341 lb_fas.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 326 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 296 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 301 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 308 | goto detected. | GJB 4.5.1.2 |
M | 314 | goto detected. | GJB 4.5.1.2 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 301 | Procedure contains UR data flow anomalies. : avoided |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_remove_from_tree (26 to 29 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 26 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_dequeue_srv (35 to 38 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 35 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_queue_srv (58 to 64 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 58 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 62 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 62 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_srv_reposition (72 to 80 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 72 | Static procedure is not explicitly called in code analysed. : fwlc_srv_reposition | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_set_server_status_down (90 to 137 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 98 | goto detected. | GJB 4.5.1.2 |
M | 104 | goto detected. | GJB 4.5.1.2 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_set_server_status_up (148 to 201 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 156 | goto detected. | GJB 4.5.1.2 |
M | 162 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_update_server_weight (208 to 259 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 235 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 238 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 208 | Static procedure is not explicitly called in code analysed. : fwlc_update_server_weight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_init_server_tree (265 to 295 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 265 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 278 | Expression needs brackets. | GJB 5.1.2 |
M | 278 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwlc_get_next_server (302 to 347 lb_fwlc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 332 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 302 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 307 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 314 | goto detected. | GJB 4.5.1.2 |
M | 320 | goto detected. | GJB 4.5.1.2 |
M | 332 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 332 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 332 | Expression needs brackets. | GJB 5.1.2 |
M | 332 | Expression needs brackets. | GJB 5.1.2 |
M | 346 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 307 | Procedure contains UR data flow anomalies. : avoided |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_set_server_status_down (35 to 86 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Pointer not checked for null before use. : grp | GJB 5.1.15 |
M | 44 | goto detected. | GJB 4.5.1.2 |
M | 50 | goto detected. | GJB 4.5.1.2 |
M | 68 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_set_server_status_up (97 to 154 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 115 | Pointer not checked for null before use. : grp | GJB 5.1.15 |
M | 106 | goto detected. | GJB 4.5.1.2 |
M | 112 | goto detected. | GJB 4.5.1.2 |
M | 144 | Expression needs brackets. | GJB 5.1.2 |
M | 144 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_update_server_weight (161 to 245 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 197 | Pointer not checked for null before use. : grp | GJB 5.1.15 |
M | 181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 189 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 192 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 197 | Expression needs brackets. | GJB 5.1.2 |
M | 212 | Expression needs brackets. | GJB 5.1.2 |
M | 212 | Expression needs brackets. | GJB 5.1.2 |
M | 230 | Expression needs brackets. | GJB 5.1.2 |
M | 161 | Static procedure is not explicitly called in code analysed. : fwrr_update_server_weight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_remove_from_tree (253 to 256 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 253 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_queue_by_weight (264 to 269 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 264 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_init_server_groups (275 to 318 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 275 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 286 | Expression needs brackets. | GJB 5.1.2 |
M | 286 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 294 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 296 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 298 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 299 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 302 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 304 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 306 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 307 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_dequeue_srv (324 to 327 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 324 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_queue_srv (335 to 370 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 349 | Pointer not checked for null before use. : grp | GJB 5.1.15 |
M | 335 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Expression needs brackets. | GJB 5.1.2 |
M | 350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 350 | Expression needs brackets. | GJB 5.1.2 |
M | 364 | Expression needs brackets. | GJB 5.1.2 |
M | 364 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 364 | Value is not of appropriate type. : (unsigned int and int): s -> lb_node.key = SRV_UWGHT_RANGE * s -> npos + ( unsigned ) ( SRV_EWGHT_MAX + s -> rweight - s -> next_eweight | GJB 4.6.1.8 |
M | 365 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_get_srv_init (376 to 379 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 376 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 378 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_get_srv_next (385 to 392 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 385 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_get_srv_down (398 to 405 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 398 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_get_srv (411 to 427 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 411 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 426 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_switch_trees (434 to 442 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 439 | Pointer not checked for null before use. : swap |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_get_server_from_group (449 to 476 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 459 | Pointer not checked for null before use. : s1 | GJB 5.1.15 |
M | 470 | Pointer not checked for null before use. : s2 | GJB 5.1.15 |
M | 459 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 475 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_update_position (483 to 503 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 483 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 499 | Signed/unsigned conversion without cast. : (int and unsigned int): s -> rweight >= eweight | GJB 4.6.1.9 |
M | 500 | Signed/unsigned conversion without cast. : (int and unsigned int): s -> rweight -= eweight | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fwrr_get_next_server (511 to 616 lb_fwrr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 577 | Pointer not checked for null before use. : avoided | GJB 5.1.15 |
M | 567 | Pointer not checked for null before use. : avoided | GJB 5.1.15 |
M | 583 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 511 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 522 | goto detected. | GJB 4.5.1.2 |
M | 528 | goto detected. | GJB 4.5.1.2 |
M | 539 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 551 | goto detected. | GJB 4.5.1.2 |
M | 553 | goto detected. | GJB 4.5.1.2 |
M | 567 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 567 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 567 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 569 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_set_server_status_down (24 to 42 lb_map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 32 | goto detected. | GJB 4.5.1.2 |
M | 24 | Static procedure is not explicitly called in code analysed. : map_set_server_status_down | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_set_server_status_up (48 to 66 lb_map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 56 | goto detected. | GJB 4.5.1.2 |
M | 48 | Static procedure is not explicitly called in code analysed. : map_set_server_status_up | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
recalc_server_map (75 to 133 lb_map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 129 | Pointer not checked for null before use. : best | GJB 5.1.15 |
M | 77 | Name found with length less than 2. : o | GJB 4.8.1.1 |
M | 82 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 101 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 109 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 129 | Value is not of appropriate type. : (unsigned int and int): px -> lbprm.map.srv [ o | GJB 4.6.1.8 |
M | 105 | Procedure contains UR data flow anomalies. : best |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_server_map (140 to 204 lb_map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 201 | Pointer not checked for null before use. : (p)->lbprm.map.srv | GJB 5.1.15 |
M | 140 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 160 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 165 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 166 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 168 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 181 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 183 | Expression needs brackets. | GJB 5.1.2 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 199 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_get_server_rr (214 to 254 lb_map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 233 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 222 | goto detected. | GJB 4.5.1.2 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 232 | Value is not of appropriate type. : (unsigned int and int): srv = px -> lbprm.map.srv [ newidx ++ | GJB 4.6.1.8 |
M | 233 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 233 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 233 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 240 | goto detected. | GJB 4.5.1.2 |
M | 253 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 229 | Procedure contains UR data flow anomalies. : avoided |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_get_server_hash (264 to 273 lb_map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 272 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_set_state (189 to 238 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 189 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 200 | Null case in switch statement. | GJB 4.3.1.8 |
M | 209 | Null case in switch statement. | GJB 4.3.1.8 |
M | 195 | No default case in switch statement. | GJB 4.3.1.4 |
M | 217 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 218 | Null case in switch statement. | GJB 4.3.1.8 |
M | 218 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 219 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 221 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 225 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 229 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 230 | Null case in switch statement. | GJB 4.3.1.8 |
M | 230 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 231 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 216 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 216 | No default case in switch statement. | GJB 4.3.1.4 |
M | 237 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
enable_listener (246 to 277 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 254 | Expression needs brackets. | GJB 5.1.2 |
M | 260 | Expression needs brackets. | GJB 5.1.2 |
M | 267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 267 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stop_listener (287 to 324 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 287 | Name found with length less than 2. : l | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
default_add_listener (331 to 339 listener.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
default_suspend_listener (347 to 356 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 347 | Name found with length less than 2. : l | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
default_resume_listener (367 to 397 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 367 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 372 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 379 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 383 | goto detected. | GJB 4.5.1.2 |
M | 389 | goto detected. | GJB 4.5.1.2 |
M | 392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 372 | Procedure contains UR data flow anomalies. : msg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pause_listener (407 to 435 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 407 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 416 | goto detected. | GJB 4.5.1.2 |
M | 419 | goto detected. | GJB 4.5.1.2 |
M | 428 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
resume_listener (447 to 488 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 447 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 459 | goto detected. | GJB 4.5.1.2 |
M | 463 | goto detected. | GJB 4.5.1.2 |
M | 466 | goto detected. | GJB 4.5.1.2 |
M | 471 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 474 | goto detected. | GJB 4.5.1.2 |
M | 481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_full (493 to 504 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 493 | Name found with length less than 2. : l | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
limit_listener (509 to 518 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 509 | Name found with length less than 2. : l | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dequeue_all_listeners (521 to 531 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 521 | Empty parameter list to procedure/function. : dequeue_all_listeners | GJB 4.1.1.10 |
M | 525 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dequeue_proxy_listeners (534 to 544 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 538 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
default_unbind_listener (552 to 571 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 555 | goto detected. | GJB 4.5.1.2 |
M | 559 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_unbind_listener (579 to 589 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
create_listeners (612 to 652 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 613 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 619 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 652 | Memory not freed after last reference. : l |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_backlog (689 to 704 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 689 | Name found with length less than 2. : l | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_accept (710 to 1096 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1046 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 710 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 734 | goto detected. | GJB 4.5.1.2 |
M | 737 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept | GJB 4.6.1.9 |
M | 737 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept > max | GJB 4.6.1.9 |
M | 738 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept = max | GJB 4.6.1.9 |
M | 747 | goto detected. | GJB 4.5.1.2 |
M | 750 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept | GJB 4.6.1.9 |
M | 750 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept > max | GJB 4.6.1.9 |
M | 751 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept = max | GJB 4.6.1.9 |
M | 773 | goto detected. | GJB 4.5.1.2 |
M | 776 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept | GJB 4.6.1.9 |
M | 776 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept > max | GJB 4.6.1.9 |
M | 777 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept = max | GJB 4.6.1.9 |
M | 785 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 802 | goto detected. | GJB 4.5.1.2 |
M | 804 | Signed/unsigned conversion without cast. : (int and unsigned int): next_conn = count | GJB 4.6.1.9 |
M | 804 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 805 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 816 | goto detected. | GJB 4.5.1.2 |
M | 818 | Signed/unsigned conversion without cast. : (int and unsigned int): next_feconn = count | GJB 4.6.1.9 |
M | 818 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 831 | goto detected. | GJB 4.5.1.2 |
M | 833 | Signed/unsigned conversion without cast. : (int and unsigned int): next_actconn = count | GJB 4.6.1.9 |
M | 833 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 834 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 841 | goto detected. | GJB 4.5.1.2 |
M | 841 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 849 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 852 | Signed/unsigned conversion without cast. : (unsigned int and int): max_accept | GJB 4.6.1.9 |
M | 853 | goto detected. | GJB 4.5.1.2 |
M | 853 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 856 | goto detected. | GJB 4.5.1.2 |
M | 857 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 883 | goto detected. | GJB 4.5.1.2 |
M | 1021 | goto detected. | GJB 4.5.1.2 |
M | 1051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1052 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1053 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1053 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1054 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1055 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1063 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1063 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1075 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1077 | goto detected. | GJB 4.5.1.2 |
M | 1086 | goto detected. | GJB 4.5.1.2 |
M | 1093 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1095 | goto detected. | GJB 4.5.1.2 |
M | 788 | Procedure contains UR data flow anomalies. : mask | GJB 4.13.1.4 |
M | 787 | Procedure contains UR data flow anomalies. : status |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_release (1102 to 1122 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1102 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 1113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_queue_init (1125 to 1137 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1125 | Empty parameter list to procedure/function. : listener_queue_init | GJB 4.1.1.10 |
M | 1125 | Static procedure is not explicitly called in code analysed. : listener_queue_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
listener_queue_deinit (1139 to 1143 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1141 | Pointer not checked for null before use. : global_listener_queue_task | GJB 5.1.15 |
M | 1139 | Empty parameter list to procedure/function. : listener_queue_deinit | GJB 4.1.1.10 |
M | 1139 | Static procedure is not explicitly called in code analysed. : listener_queue_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
manage_global_listener_queue (1153 to 1174 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1153 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1160 | goto detected. | GJB 4.5.1.2 |
M | 1153 | Static procedure is not explicitly called in code analysed. : manage_global_listener_queue | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_find_kw (1192 to 1215 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1205 | Pointer not checked for null before use. : kwend | GJB 5.1.15 |
M | 1192 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1204 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1205 | Value is not of appropriate type. : (unsigned int and int): strncmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 1206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1206 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1207 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1208 | Value is not of appropriate type. : (unsigned int and int): & kwl -> kw [ index | GJB 4.6.1.8 |
M | 1210 | Value is not of appropriate type. : (unsigned int and int): ret = &kwl -> kw [ index | GJB 4.6.1.8 |
M | 1214 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1196 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_dump_kws (1221 to 1242 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1221 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1231 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1232 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1233 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1233 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1233 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index ].kw ) == & kwl -> kw [ index | GJB 4.6.1.8 |
M | 1235 | Value is not of appropriate type. : (unsigned int and int): kwl -> scope , kwl -> kw [ index | GJB 4.6.1.8 |
M | 1235 | Value is not of appropriate type. : (unsigned int and int): kwl -> scope , kwl -> kw [ index ].kw , kwl -> kw [ index | GJB 4.6.1.8 |
M | 1237 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 1233 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1223 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_dconn (1249 to 1255 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1250 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1250 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1249 | Static procedure is not explicitly called in code analysed. : smp_fetch_dconn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_so_id (1258 to 1264 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1259 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1259 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1258 | Static procedure is not explicitly called in code analysed. : smp_fetch_so_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_so_name (1265 to 1276 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1266 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1266 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1274 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( smp -> data.u.str.area | GJB 4.6.1.8 |
M | 1265 | Static procedure is not explicitly called in code analysed. : smp_fetch_so_name | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_accept_proxy (1279 to 1287 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1279 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1279 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1279 | Static procedure is not explicitly called in code analysed. : bind_parse_accept_proxy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_accept_netscaler_cip (1290 to 1312 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1290 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1290 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1295 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1296 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 1300 | Signed/unsigned conversion without cast. : (unsigned int and long): val = atol | GJB 4.6.1.9 |
M | 1300 | Value is not of appropriate type. : (unsigned int and int): val = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1301 | Signed/unsigned conversion without cast. : (unsigned int and int): val | GJB 4.6.1.9 |
M | 1302 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : invalid value %d, must be >= 0" , args [ cur_arg | GJB 4.6.1.8 |
M | 1308 | Signed/unsigned conversion without cast. : (int and unsigned int): conf -> ns_cip_magic = val | GJB 4.6.1.9 |
M | 1290 | Static procedure is not explicitly called in code analysed. : bind_parse_accept_netscaler_cip | GJB 4.7.1.3 |
M | 1292 | Procedure contains UR data flow anomalies. : l |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_backlog (1315 to 1335 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1315 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1315 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1320 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1321 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 1325 | Value is not of appropriate type. : (unsigned int and int): val = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1327 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : invalid value %d, must be > 0" , args [ cur_arg | GJB 4.6.1.8 |
M | 1315 | Static procedure is not explicitly called in code analysed. : bind_parse_backlog | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_id (1338 to 1378 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1355 | Pointer not checked for null before use. : new | GJB 5.1.15 |
M | 1370 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 1338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1341 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1342 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1345 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' can only be used with a single socket" , args [ cur_arg | GJB 4.6.1.8 |
M | 1349 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1350 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : expects an integer argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 1354 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1355 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1355 | Value is not of appropriate type. : (unsigned int and int): new -> luid = strtol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1357 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : expects an integer argument, found '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1357 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : expects an integer argument, found '%s'" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1360 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1362 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1363 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : custom id has to be > 0" , args [ cur_arg | GJB 4.6.1.8 |
M | 1367 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1370 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : custom id %d already used at %s:%d ('bind %s')" , args [ cur_arg | GJB 4.6.1.8 |
M | 1376 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1338 | Static procedure is not explicitly called in code analysed. : bind_parse_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_maxconn (1381 to 1401 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1381 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1381 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1386 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1387 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 1391 | Value is not of appropriate type. : (unsigned int and int): val = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1393 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : invalid value %d, must be >= 0" , args [ cur_arg | GJB 4.6.1.8 |
M | 1381 | Static procedure is not explicitly called in code analysed. : bind_parse_maxconn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_name (1404 to 1417 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1408 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1409 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing name" , args [ cur_arg | GJB 4.6.1.8 |
M | 1413 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry ( l , & conf -> listeners , by_bind ) l -> name = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1404 | Static procedure is not explicitly called in code analysed. : bind_parse_name | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_nice (1420 to 1440 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1420 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1420 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1425 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1426 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 1430 | Value is not of appropriate type. : (unsigned int and int): val = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1432 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : invalid value %d, allowed range is -1024..1024" , args [ cur_arg | GJB 4.6.1.8 |
M | 1420 | Static procedure is not explicitly called in code analysed. : bind_parse_nice | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_process (1443 to 1467 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1443 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1443 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1445 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1448 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1448 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1448 | Value is not of appropriate type. : (unsigned int and int): ( slash = strchr ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1451 | Value is not of appropriate type. : (unsigned int and int): parse_process_number ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1452 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : %s" , args [ cur_arg | GJB 4.6.1.8 |
M | 1458 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : %s" , args [ cur_arg | GJB 4.6.1.8 |
M | 1443 | Static procedure is not explicitly called in code analysed. : bind_parse_process | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bind_parse_proto (1470 to 1486 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1470 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1470 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1474 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1475 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : missing value" , args [ cur_arg | GJB 4.6.1.8 |
M | 1479 | Value is not of appropriate type. : (unsigned int and int): proto = ist2 ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1479 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1482 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown MUX protocol '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1482 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s' : unknown MUX protocol '%s'" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1470 | Static procedure is not explicitly called in code analysed. : bind_parse_proto | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_tune_listener_mq (1489 to 1505 listener.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1489 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1490 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1491 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1497 | Bit operator with boolean operand. : |= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 1497 | Bit operator with boolean operand. : |= used with bool: GTUNE_LISTENER_MQ | GJB 4.6.1.17,4.6.1.18 |
M | 1499 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 1499 | Bit operator with boolean operand. : ~ used with bool: GTUNE_LISTENER_MQ | GJB 4.6.1.17,4.6.1.18 |
M | 1489 | Static procedure is not explicitly called in code analysed. : cfg_parse_tune_listener_mq | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fmt_directive (256 to 292 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 260 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 262 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 264 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 266 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 268 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 270 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 272 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 274 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 276 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 278 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 280 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 282 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 284 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 286 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 288 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 291 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prepare_addrsource (297 to 302 log.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_logformat_var_args (309 to 356 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 309 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 309 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 311 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 338 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 338 | Value is not of appropriate type. : (unsigned int and int): var_args_list [ i | GJB 4.6.1.8 |
M | 339 | Value is not of appropriate type. : (unsigned int and int): strcmp ( sp , var_args_list [ i | GJB 4.6.1.8 |
M | 341 | Value is not of appropriate type. : (unsigned int and int): node -> options |= var_args_list [ i | GJB 4.6.1.8 |
M | 344 | Value is not of appropriate type. : (unsigned int and int): node -> options &= ~ var_args_list [ i | GJB 4.6.1.8 |
M | 346 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 349 | Procedure contains UR data flow anomalies. : sp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_logformat_var (365 to 422 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 389 | Pointer not checked for null before use. : (node)->arg | GJB 5.1.15 |
M | 419 | Pointer not checked for null before use. : (node)->arg | GJB 5.1.15 |
M | 365 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 365 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 365 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 367 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 370 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 371 | Value is not of appropriate type. : (unsigned int and int): strlen ( logformat_keywords [ j | GJB 4.6.1.8 |
M | 371 | Signed/unsigned conversion without cast. : (unsigned int and int): strlen ( logformat_keywords [ j ].name ) == var_len | GJB 4.6.1.9 |
M | 371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 372 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 372 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 373 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 373 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 373 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 373 | Type conversion without cast. : (int and char): curproxy -> mode == PR_MODE_HTTP | GJB 4.6.1.9 |
M | 374 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 377 | goto detected. | GJB 4.5.1.2 |
M | 379 | Value is not of appropriate type. : (unsigned int and int): node -> type = logformat_keywords [ j | GJB 4.6.1.8 |
M | 384 | goto detected. | GJB 4.5.1.2 |
M | 386 | Type conversion without cast. : (int and char): node -> type == LOG_FMT_GLOBAL | GJB 4.6.1.9 |
M | 388 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 388 | free used on string. | GJB 5.1.19 |
M | 389 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 391 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 392 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 392 | Expression with more than one function. | GJB 4.7.1.6 |
M | 393 | goto detected. | GJB 4.5.1.2 |
M | 395 | Value is not of appropriate type. : (unsigned int and int): curproxy -> to_log |= logformat_keywords [ j | GJB 4.6.1.8 |
M | 398 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 401 | Value is not of appropriate type. : (unsigned int and int): logformat_keywords [ j | GJB 4.6.1.8 |
M | 401 | Value is not of appropriate type. : (unsigned int and int): curproxy ) , logformat_keywords [ j | GJB 4.6.1.8 |
M | 404 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "format variable '%s' is reserved for HTTP mode" , logformat_keywords [ j | GJB 4.6.1.8 |
M | 406 | goto detected. | GJB 4.5.1.2 |
M | 411 | Type conversion without cast. : (int and char): j = var | GJB 4.6.1.9 |
M | 411 | Value is not of appropriate type. : (unsigned int and int): j = var [ var_len | GJB 4.6.1.8 |
M | 412 | Value is not of appropriate type. : (unsigned int and int): var [ var_len | GJB 4.6.1.8 |
M | 414 | Value is not of appropriate type. : (unsigned int and int): var [ var_len | GJB 4.6.1.8 |
M | 414 | Type conversion without cast. : (char and int): var [ var_len ] = j | GJB 4.6.1.9 |
M | 418 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 418 | free used on string. | GJB 5.1.19 |
M | 419 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 391 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 422 | Memory not freed after last reference. : node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_to_logformat_list (435 to 461 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 447 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 448 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 437 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 440 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 445 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 445 | Expression needs brackets. | GJB 5.1.2 |
M | 452 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 459 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 451 | Memory not freed after last reference. : node | GJB 5.1.17 |
M | 459 | Memory not freed after last reference. : node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_sample_to_logformat_list (472 to 536 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 533 | Pointer not checked for null before use. : (node)->arg | GJB 5.1.15 |
M | 472 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 472 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 472 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 472 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 474 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 486 | goto detected. | GJB 4.5.1.2 |
M | 489 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 492 | goto detected. | GJB 4.5.1.2 |
M | 501 | goto detected. | GJB 4.5.1.2 |
M | 512 | goto detected. | GJB 4.5.1.2 |
M | 523 | Operation not appropriate to plain char. : |= used with char: LW_XPRT | GJB 4.1.1.15 |
M | 523 | Type conversion without cast. : (int and char): curpx -> to_log |= LW_XPRT | GJB 4.6.1.9 |
M | 525 | Operation not appropriate to plain char. : |= used with char: LW_REQ | GJB 4.1.1.15 |
M | 525 | Type conversion without cast. : (int and char): curpx -> to_log |= LW_REQ | GJB 4.6.1.9 |
M | 532 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 533 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 536 | Memory not freed after last reference. : node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_logformat_string (552 to 718 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 575 | Pointer not checked for null before use. : (tmplf)->arg | GJB 5.1.15 |
M | 700 | Pointer not checked for null before use. : sp | GJB 5.1.15 |
M | 695 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 695 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 649 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 554 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 555 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 556 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 563 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 568 | Operation not appropriate to plain char. : |= used with char: LW_INIT | GJB 4.1.1.15 |
M | 568 | Type conversion without cast. : (int and char): curproxy -> to_log |= LW_INIT | GJB 4.6.1.9 |
M | 574 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 574 | free used on string. | GJB 5.1.19 |
M | 575 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 592 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 601 | Use of banned function or variable. : isalpha | GJB 4.7.1.4 |
M | 601 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 607 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 613 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 614 | goto detected. | GJB 4.5.1.2 |
M | 635 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
M | 635 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 639 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 641 | goto detected. | GJB 4.5.1.2 |
M | 641 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 650 | goto detected. | GJB 4.5.1.2 |
M | 654 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 658 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 660 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 664 | goto detected. | GJB 4.5.1.2 |
M | 670 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
M | 670 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 676 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 681 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 686 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 692 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 692 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 696 | goto detected. | GJB 4.5.1.2 |
M | 699 | Null case in switch statement. | GJB 4.3.1.8 |
M | 701 | goto detected. | GJB 4.5.1.2 |
M | 693 | No default case in switch statement. | GJB 4.3.1.4 |
M | 708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 710 | goto detected. | GJB 4.5.1.2 |
M | 712 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 712 | free used on string. | GJB 5.1.19 |
M | 715 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 716 | free used on string. | GJB 5.1.19 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 718 | Memory not freed after last reference. : backfmt | GJB 5.1.17 |
M | 591 | Procedure contains UR data flow anomalies. : arg | GJB 4.13.1.4 |
M | 560 | Procedure contains UR data flow anomalies. : pformat | GJB 4.13.1.4 |
M | 591 | Procedure contains UR data flow anomalies. : var |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_logsrv_smp_range (725 to 757 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 754 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 732 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 744 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 736 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 725 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 725 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 727 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 729 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 729 | Signed/unsigned conversion without cast. : (unsigned int and int): low = *high | GJB 4.6.1.9 |
M | 736 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 736 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 736 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 738 | goto detected. | GJB 4.5.1.2 |
M | 741 | goto detected. | GJB 4.5.1.2 |
M | 744 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 744 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 746 | goto detected. | GJB 4.5.1.2 |
M | 751 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 754 | Identifier reuse: label vs variable (MR). : err |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_log_ranges_overlap (764 to 778 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 767 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 769 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_log_range_cmp (780 to 791 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 780 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 780 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 788 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_logsrv (806 to 1052 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 852 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 853 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 957 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 975 | Pointer not checked for null before use. : smp_rgs | GJB 5.1.15 |
M | 888 | Pointer not checked for null before use. : logsrv | GJB 5.1.15 |
M | 1049 | Pointer not checked for null before use. : logsrv | GJB 5.1.15 |
M | 1043 | Pointer not checked for null before use. : (logsrv)->ring_name | GJB 5.1.15 |
M | 1050 | Pointer not checked for null before use. : (logsrv)->ring_name | GJB 5.1.15 |
M | 806 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 806 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 822 | Expression needs brackets. | GJB 5.1.2 |
M | 822 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) != 0 | GJB 4.6.1.8 |
M | 824 | goto detected. | GJB 4.5.1.2 |
M | 829 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 838 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 838 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 838 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 841 | goto detected. | GJB 4.5.1.2 |
M | 848 | goto detected. | GJB 4.5.1.2 |
M | 851 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 852 | Use of sizeof on a type. | GJB 5.1.8 |
M | 866 | Expression needs brackets. | GJB 5.1.2 |
M | 866 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 866 | Value is not of appropriate type. : (char and signed char): * ( args [ 2 ] ) == 0 | GJB 4.6.1.8 |
M | 869 | goto detected. | GJB 4.5.1.2 |
M | 876 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 878 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 881 | goto detected. | GJB 4.5.1.2 |
M | 889 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 890 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 890 | Value is not of appropriate type. : (unsigned int and int): atoi ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 891 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 891 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 892 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "invalid log length '%s', must be between 80 and 65535" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 894 | goto detected. | GJB 4.5.1.2 |
M | 903 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 904 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 906 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown log format '%s'" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 907 | goto detected. | GJB 4.5.1.2 |
M | 912 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 914 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 914 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 917 | Value is not of appropriate type. : (unsigned int and int): p = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 921 | goto detected. | GJB 4.5.1.2 |
M | 924 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 930 | goto detected. | GJB 4.5.1.2 |
M | 932 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 933 | goto detected. | GJB 4.5.1.2 |
M | 935 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 938 | goto detected. | GJB 4.5.1.2 |
M | 943 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 943 | Expression needs brackets. | GJB 5.1.2 |
M | 952 | goto detected. | GJB 4.5.1.2 |
M | 957 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 957 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 959 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "wrong sample size '%s' for sample range '%s'" , smp_sz_str , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 961 | goto detected. | GJB 4.5.1.2 |
M | 968 | goto detected. | GJB 4.5.1.2 |
M | 973 | Use of banned function or variable. : qsort | GJB 4.7.1.4 |
M | 973 | Use of sizeof on a type. | GJB 5.1.8 |
M | 983 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 985 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown log facility '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 986 | goto detected. | GJB 4.5.1.2 |
M | 992 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 993 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 995 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown optional log level '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 996 | goto detected. | GJB 4.5.1.2 |
M | 1003 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1004 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1006 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "unknown optional minimum log level '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1007 | goto detected. | GJB 4.5.1.2 |
M | 1013 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1014 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "cannot handle unexpected argument '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 1015 | goto detected. | GJB 4.5.1.2 |
M | 1024 | Value is not of appropriate type. : (char and signed char): logsrv -> ring_name = strdup ( args [ 1 ] | GJB 4.6.1.8 |
M | 1025 | goto detected. | GJB 4.5.1.2 |
M | 1031 | goto detected. | GJB 4.5.1.2 |
M | 1037 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1037 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1046 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1048 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1049 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1052 | Memory not freed after last reference. : smp_rgs | GJB 5.1.17 |
M | 1052 | Memory not freed after last reference. : logsrv | GJB 5.1.17 |
M | 813 | Procedure contains UR data flow anomalies. : fd | GJB 4.13.1.4 |
M | 811 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 811 | Procedure contains UR data flow anomalies. : port2 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_message (1056 to 1089 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1064 | Pointer not checked for null before use. : head | GJB 5.1.15 |
M | 1066 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 1072 | Pointer not checked for null before use. : startup_logs | GJB 5.1.15 |
M | 1056 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1056 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1059 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1061 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1078 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1078 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1078 | Value is not of appropriate type. : (unsigned int and signed char): m [ 1 ].ptr [ m [ 1 ].len - 1 | GJB 4.6.1.8 |
M | 1087 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1087 | free used on string. | GJB 5.1.19 |
M | 1088 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1088 | free used on string. | GJB 5.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_alert (1095 to 1112 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1095 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1095 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 1101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1108 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 1110 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_warning (1118 to 1129 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1118 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1118 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 1125 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 1127 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_notice (1134 to 1143 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1134 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 1139 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 1141 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
qfprintf (1148 to 1158 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1148 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1148 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 1153 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 1156 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_log_format (1163 to 1174 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1170 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_log_level (1179 to 1188 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1179 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1184 | Value is not of appropriate type. : (unsigned int and int): strcmp ( log_levels [ level | GJB 4.6.1.8 |
M | 1185 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_log_facility (1193 to 1202 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1198 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1198 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1198 | Value is not of appropriate type. : (unsigned int and int): strcmp ( log_facilities [ facility | GJB 4.6.1.8 |
M | 1199 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lf_encode_string (1211 to 1247 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1220 | Pointer not checked for null before use. : string | GJB 5.1.15 |
M | 1211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1220 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * string | GJB 4.6.1.8 |
M | 1221 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * string | GJB 4.6.1.8 |
M | 1222 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1224 | Expression needs brackets. | GJB 5.1.2 |
M | 1226 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1227 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1231 | Expression needs brackets. | GJB 5.1.2 |
M | 1233 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1234 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1234 | Operation not appropriate to plain char. : >> used with char: string | GJB 4.1.1.15 |
M | 1234 | Operation not appropriate to plain char. : & used with char | GJB 4.1.1.15 |
M | 1234 | Value is not of appropriate type. : (char and signed char): ( * string >> 4 ) | GJB 4.6.1.8 |
M | 1234 | Value is not of appropriate type. : (unsigned int and signed char): ( * string >> 4 ) & 15 | GJB 4.6.1.8 |
M | 1235 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1235 | Value is not of appropriate type. : (char and signed char): start ++ = hextab [ * string | GJB 4.6.1.8 |
M | 1235 | Value is not of appropriate type. : (unsigned int and signed char): start ++ = hextab [ * string & 15 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lf_encode_chunk (1256 to 1297 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1270 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1257 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1261 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1270 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * str | GJB 4.6.1.8 |
M | 1271 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * str | GJB 4.6.1.8 |
M | 1272 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1274 | Expression needs brackets. | GJB 5.1.2 |
M | 1276 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1277 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1281 | Expression needs brackets. | GJB 5.1.2 |
M | 1283 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1284 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1284 | Operation not appropriate to plain char. : >> used with char: str | GJB 4.1.1.15 |
M | 1284 | Operation not appropriate to plain char. : & used with char | GJB 4.1.1.15 |
M | 1284 | Value is not of appropriate type. : (char and signed char): ( * str >> 4 ) | GJB 4.6.1.8 |
M | 1284 | Value is not of appropriate type. : (unsigned int and signed char): ( * str >> 4 ) & 15 | GJB 4.6.1.8 |
M | 1285 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1285 | Value is not of appropriate type. : (char and signed char): start ++ = hextab [ * str | GJB 4.6.1.8 |
M | 1285 | Value is not of appropriate type. : (unsigned int and signed char): start ++ = hextab [ * str & 15 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lf_text_len (1305 to 1347 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1307 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 1316 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1316 | Expression needs brackets. | GJB 5.1.2 |
M | 1319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1324 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1330 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1333 | Type conversion without cast. : (int and char): ( node -> options & ( | GJB 4.6.1.9 |
M | 1333 | Operation not appropriate to plain char. : | used with char: LOG_OPT_QUOTE | GJB 4.1.1.15 |
M | 1333 | Operation not appropriate to plain char. : | used with char: LOG_OPT_MANDATORY | GJB 4.1.1.15 |
M | 1333 | Type conversion without cast. : (int and char): ( node -> options & ( LOG_OPT_QUOTE | LOG_OPT_MANDATORY ) ) == LOG_OPT_MANDATORY | GJB 4.6.1.9 |
M | 1334 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 1337 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1340 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lf_text (1349 to 1352 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1349 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1349 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1349 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lf_ip (1358 to 1390 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1369 | Pointer not checked for null before use. : addr | GJB 5.1.15 |
M | 1373 | Pointer not checked for null before use. : addr | GJB 5.1.15 |
M | 1358 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1358 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1360 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1362 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1368 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1368 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1372 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1372 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1379 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1380 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1380 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1380 | Signed/unsigned conversion without cast. : (int and unsigned int): iret | GJB 4.6.1.9 |
M | 1380 | Signed/unsigned conversion without cast. : (int and unsigned int): iret > size | GJB 4.6.1.9 |
M | 1384 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1389 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1362 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lf_port (1396 to 1413 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1396 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1396 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1398 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1402 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1402 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1404 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1404 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1404 | Signed/unsigned conversion without cast. : (int and unsigned int): iret | GJB 4.6.1.9 |
M | 1404 | Signed/unsigned conversion without cast. : (int and unsigned int): iret > size | GJB 4.6.1.9 |
M | 1408 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1412 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
send_log (1420 to 1436 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1434 | Pointer not checked for null before use. : logline | GJB 5.1.15 |
M | 1420 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1420 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1420 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 1425 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1425 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1425 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1426 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 1430 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1430 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1431 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
build_log_header (1448 to 1738 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1539 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1566 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1567 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1599 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1612 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1647 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1650 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1673 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1685 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1686 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1693 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1700 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1707 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1714 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1721 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1684 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1688 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1595 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1598 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1682 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1699 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1706 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1713 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1720 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1672 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1538 | Pointer not checked for null before use. : nbelem | GJB 5.1.15 |
M | 1453 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1463 | Signed/unsigned conversion without cast. : (unsigned int and int): nbelem | GJB 4.6.1.9 |
M | 1478 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1478 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1498 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1505 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1508 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1511 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1512 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1516 | Expression needs brackets. | GJB 5.1.2 |
M | 1519 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1524 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1527 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1529 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1503 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1535 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1537 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1543 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1545 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1550 | Expression needs brackets. | GJB 5.1.2 |
M | 1555 | Value is not of appropriate type. : (unsigned int and int): len = snprintf ( hdr_ctx.timestamp_buffer , sizeof ( hdr_ctx.timestamp_buffer ) , "%s %c%c " , monthname [ month | GJB 4.6.1.8 |
M | 1562 | Signed/unsigned conversion without cast. : (unsigned int and int): hdr_ctx.cur_legacy_time | GJB 4.6.1.9 |
M | 1573 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1583 | Expression needs brackets. | GJB 5.1.2 |
M | 1584 | Signed/unsigned conversion without cast. : (unsigned int and int): hdr_ctx.cur_legacy_time | GJB 4.6.1.9 |
M | 1596 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1596 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1601 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1605 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1610 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1618 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1621 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1621 | Value is not of appropriate type. : (unsigned int and int): ! memcmp ( monthname [ month | GJB 4.6.1.8 |
M | 1643 | Signed/unsigned conversion without cast. : (unsigned int and int): hdr_ctx.cur_legacy_time | GJB 4.6.1.9 |
M | 1656 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1660 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1664 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1666 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1533 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1671 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1678 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1691 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1712 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1727 | Null case in switch statement. | GJB 4.3.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1733 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1735 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1669 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__do_send_log (1747 to 1866 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1821 | Pointer not checked for null before use. : msg_header | GJB 5.1.15 |
M | 1747 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1749 | Value is not of appropriate type. : (unsigned int and signed char): static THREAD_LOCAL struct iovec iovec [ NB_LOG_HDR_MAX_ELEMENTS + 1 + 1 | GJB 4.6.1.8 |
M | 1766 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1766 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1766 | Value is not of appropriate type. : (char and signed char): ( message [ size - 1 ] == 0 | GJB 4.6.1.8 |
M | 1767 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1771 | goto detected. | GJB 4.5.1.2 |
M | 1775 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1784 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1784 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1786 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1789 | Value is not of appropriate type. : (char and signed char): once = 1 | GJB 4.6.1.8 |
M | 1790 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1791 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1791 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1824 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1827 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 1827 | Signed/unsigned conversion without cast. : (int and unsigned int): i < nbelem | GJB 4.6.1.9 |
M | 1828 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1828 | Value is not of appropriate type. : (unsigned int and int): iovec [ i ].iov_base = msg_header [ i | GJB 4.6.1.8 |
M | 1829 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1829 | Value is not of appropriate type. : (unsigned int and int): iovec [ i ].iov_len = msg_header [ i | GJB 4.6.1.8 |
M | 1830 | Value is not of appropriate type. : (unsigned int and int): totlen <= iovec [ i | GJB 4.6.1.8 |
M | 1831 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1835 | Value is not of appropriate type. : (unsigned int and int): totlen -= iovec [ i | GJB 4.6.1.8 |
M | 1838 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1839 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1840 | Value is not of appropriate type. : (unsigned int and int): totlen <= iovec [ i | GJB 4.6.1.8 |
M | 1841 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1844 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1845 | Value is not of appropriate type. : (unsigned int and int): iovec [ i | GJB 4.6.1.8 |
M | 1856 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1858 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1861 | Value is not of appropriate type. : (char and signed char): once = 1 | GJB 4.6.1.8 |
M | 1862 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1863 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1863 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1864 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_send_log (1875 to 1912 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1895 | Pointer not checked for null before use. : curr_rg | GJB 5.1.15 |
M | 1876 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1908 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__send_log (1920 to 1962 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1921 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1921 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1924 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1929 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1932 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1937 | Value is not of appropriate type. : (int and char): strlen ( global.log_send_hostname | GJB 4.6.1.8 |
M | 1940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1951 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 1958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1958 | Value is not of appropriate type. : (unsigned int and signed char): metadata [ LOG_META_STDATA ].ptr [ metadata [ LOG_META_STDATA ].len - 1 | GJB 4.6.1.8 |
M | 1959 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1961 | Void procedure with return statement. : __send_log | GJB 4.9.1.2 |
M | 1961 | Void procedure used in expression. : process_send_log | GJB 4.7.1.7 |
M | 1920 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_log (1982 to 2053 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1982 | Empty parameter list to procedure/function. : init_log | GJB 4.1.1.10 |
M | 1984 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1985 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1989 | Nested comment found. | GJB 4.10.1.1 |
M | 2049 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2051 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1982 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_log_buffers (2058 to 2065 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2061 | Pointer not checked for null before use. : logline_rfc5424 | GJB 5.1.15 |
M | 2058 | Empty parameter list to procedure/function. : init_log_buffers | GJB 4.1.1.10 |
M | 2062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_log_buffers (2068 to 2075 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2068 | Empty parameter list to procedure/function. : deinit_log_buffers | GJB 4.1.1.10 |
M | 2070 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2071 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sess_build_logline (2083 to 3164 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2117 | Pointer not checked for null before use. : txn | GJB 5.1.15 |
M | 2207 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2240 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2258 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2272 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2289 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2301 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2313 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2325 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2337 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2440 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2490 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2947 | Pointer not checked for null before use. : uri | GJB 5.1.15 |
M | 3121 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 3149 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2489 | Pointer not checked for null before use. : be | GJB 5.1.15 |
M | 2155 | Pointer not checked for null before use. : fe_conn | GJB 5.1.15 |
M | 2957 | Pointer not checked for null before use. : qmark | GJB 5.1.15 |
M | 2668 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 2735 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 3161 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 3136 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 2227 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 2752 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 2800 | Pointer not checked for null before use. : tmplog | GJB 5.1.15 |
M | 2451 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2509 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2649 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2658 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2083 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2083 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2093 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2094 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2095 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2096 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2102 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2103 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2154 | Type conversion without cast. : (int and char): fe -> mode == PR_MODE_HTTP | GJB 4.6.1.9 |
M | 2154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2158 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2160 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2167 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2171 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2157 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 2193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2200 | Expression needs brackets. | GJB 5.1.2 |
M | 2200 | goto detected. | GJB 4.5.1.2 |
M | 2207 | Expression needs brackets. | GJB 5.1.2 |
M | 2209 | goto detected. | GJB 4.5.1.2 |
M | 2227 | Expression needs brackets. | GJB 5.1.2 |
M | 2230 | goto detected. | GJB 4.5.1.2 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2238 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2238 | Expression needs brackets. | GJB 5.1.2 |
M | 2240 | Expression needs brackets. | GJB 5.1.2 |
M | 2242 | goto detected. | GJB 4.5.1.2 |
M | 2249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2251 | Expression needs brackets. | GJB 5.1.2 |
M | 2253 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2253 | Expression needs brackets. | GJB 5.1.2 |
M | 2258 | Expression needs brackets. | GJB 5.1.2 |
M | 2261 | goto detected. | GJB 4.5.1.2 |
M | 2268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2269 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2269 | Expression needs brackets. | GJB 5.1.2 |
M | 2272 | Expression needs brackets. | GJB 5.1.2 |
M | 2275 | goto detected. | GJB 4.5.1.2 |
M | 2282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2284 | Expression needs brackets. | GJB 5.1.2 |
M | 2286 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2286 | Expression needs brackets. | GJB 5.1.2 |
M | 2289 | Expression needs brackets. | GJB 5.1.2 |
M | 2292 | goto detected. | GJB 4.5.1.2 |
M | 2298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2299 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2299 | Expression needs brackets. | GJB 5.1.2 |
M | 2301 | Expression needs brackets. | GJB 5.1.2 |
M | 2304 | goto detected. | GJB 4.5.1.2 |
M | 2310 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2311 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2311 | Expression needs brackets. | GJB 5.1.2 |
M | 2313 | Expression needs brackets. | GJB 5.1.2 |
M | 2316 | goto detected. | GJB 4.5.1.2 |
M | 2322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2323 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2323 | Expression needs brackets. | GJB 5.1.2 |
M | 2325 | Expression needs brackets. | GJB 5.1.2 |
M | 2328 | goto detected. | GJB 4.5.1.2 |
M | 2334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2335 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2335 | Expression needs brackets. | GJB 5.1.2 |
M | 2337 | Expression needs brackets. | GJB 5.1.2 |
M | 2340 | goto detected. | GJB 4.5.1.2 |
M | 2347 | Expression needs brackets. | GJB 5.1.2 |
M | 2349 | goto detected. | GJB 4.5.1.2 |
M | 2356 | Expression needs brackets. | GJB 5.1.2 |
M | 2358 | Expression needs brackets. | GJB 5.1.2 |
M | 2360 | goto detected. | GJB 4.5.1.2 |
M | 2367 | Expression needs brackets. | GJB 5.1.2 |
M | 2369 | goto detected. | GJB 4.5.1.2 |
M | 2375 | Expression needs brackets. | GJB 5.1.2 |
M | 2377 | Expression needs brackets. | GJB 5.1.2 |
M | 2379 | goto detected. | GJB 4.5.1.2 |
M | 2386 | Expression needs brackets. | GJB 5.1.2 |
M | 2388 | goto detected. | GJB 4.5.1.2 |
M | 2394 | Expression needs brackets. | GJB 5.1.2 |
M | 2396 | Expression needs brackets. | GJB 5.1.2 |
M | 2398 | goto detected. | GJB 4.5.1.2 |
M | 2405 | Expression needs brackets. | GJB 5.1.2 |
M | 2406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2406 | Expression needs brackets. | GJB 5.1.2 |
M | 2406 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2407 | goto detected. | GJB 4.5.1.2 |
M | 2411 | Expression needs brackets. | GJB 5.1.2 |
M | 2413 | goto detected. | GJB 4.5.1.2 |
M | 2421 | Expression needs brackets. | GJB 5.1.2 |
M | 2421 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2422 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2422 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2422 | Expression needs brackets. | GJB 5.1.2 |
M | 2422 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2423 | goto detected. | GJB 4.5.1.2 |
M | 2427 | Expression needs brackets. | GJB 5.1.2 |
M | 2428 | goto detected. | GJB 4.5.1.2 |
M | 2429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2432 | goto detected. | GJB 4.5.1.2 |
M | 2440 | Expression needs brackets. | GJB 5.1.2 |
M | 2442 | goto detected. | GJB 4.5.1.2 |
M | 2450 | Expression needs brackets. | GJB 5.1.2 |
M | 2450 | goto detected. | GJB 4.5.1.2 |
M | 2451 | Expression needs brackets. | GJB 5.1.2 |
M | 2453 | goto detected. | GJB 4.5.1.2 |
M | 2456 | Expression needs brackets. | GJB 5.1.2 |
M | 2456 | goto detected. | GJB 4.5.1.2 |
M | 2458 | Expression needs brackets. | GJB 5.1.2 |
M | 2458 | goto detected. | GJB 4.5.1.2 |
M | 2490 | Expression needs brackets. | GJB 5.1.2 |
M | 2492 | goto detected. | GJB 4.5.1.2 |
M | 2509 | Expression needs brackets. | GJB 5.1.2 |
M | 2511 | goto detected. | GJB 4.5.1.2 |
M | 2517 | Expression needs brackets. | GJB 5.1.2 |
M | 2519 | goto detected. | GJB 4.5.1.2 |
M | 2525 | Expression needs brackets. | GJB 5.1.2 |
M | 2527 | goto detected. | GJB 4.5.1.2 |
M | 2534 | Expression needs brackets. | GJB 5.1.2 |
M | 2536 | goto detected. | GJB 4.5.1.2 |
M | 2542 | Expression needs brackets. | GJB 5.1.2 |
M | 2544 | goto detected. | GJB 4.5.1.2 |
M | 2551 | Expression needs brackets. | GJB 5.1.2 |
M | 2553 | goto detected. | GJB 4.5.1.2 |
M | 2560 | Expression needs brackets. | GJB 5.1.2 |
M | 2562 | goto detected. | GJB 4.5.1.2 |
M | 2569 | Expression needs brackets. | GJB 5.1.2 |
M | 2571 | goto detected. | GJB 4.5.1.2 |
M | 2577 | Type conversion without cast. : (int and char): be -> mode == PR_MODE_HTTP | GJB 4.6.1.9 |
M | 2579 | Expression needs brackets. | GJB 5.1.2 |
M | 2582 | Expression needs brackets. | GJB 5.1.2 |
M | 2584 | goto detected. | GJB 4.5.1.2 |
M | 2591 | Expression needs brackets. | GJB 5.1.2 |
M | 2591 | goto detected. | GJB 4.5.1.2 |
M | 2592 | Expression needs brackets. | GJB 5.1.2 |
M | 2593 | Expression needs brackets. | GJB 5.1.2 |
M | 2595 | goto detected. | GJB 4.5.1.2 |
M | 2602 | Expression needs brackets. | GJB 5.1.2 |
M | 2602 | goto detected. | GJB 4.5.1.2 |
M | 2603 | Expression needs brackets. | GJB 5.1.2 |
M | 2605 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2612 | Expression needs brackets. | GJB 5.1.2 |
M | 2612 | goto detected. | GJB 4.5.1.2 |
M | 2614 | Expression needs brackets. | GJB 5.1.2 |
M | 2616 | goto detected. | GJB 4.5.1.2 |
M | 2622 | Expression needs brackets. | GJB 5.1.2 |
M | 2624 | goto detected. | GJB 4.5.1.2 |
M | 2631 | Expression needs brackets. | GJB 5.1.2 |
M | 2631 | goto detected. | GJB 4.5.1.2 |
M | 2632 | Expression needs brackets. | GJB 5.1.2 |
M | 2634 | goto detected. | GJB 4.5.1.2 |
M | 2640 | Expression needs brackets. | GJB 5.1.2 |
M | 2642 | goto detected. | GJB 4.5.1.2 |
M | 2649 | Expression needs brackets. | GJB 5.1.2 |
M | 2651 | goto detected. | GJB 4.5.1.2 |
M | 2658 | Expression needs brackets. | GJB 5.1.2 |
M | 2660 | goto detected. | GJB 4.5.1.2 |
M | 2666 | Expression needs brackets. | GJB 5.1.2 |
M | 2666 | goto detected. | GJB 4.5.1.2 |
M | 2667 | Expression needs brackets. | GJB 5.1.2 |
M | 2667 | goto detected. | GJB 4.5.1.2 |
M | 2673 | Expression needs brackets. | GJB 5.1.2 |
M | 2673 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2673 | goto detected. | GJB 4.5.1.2 |
M | 2674 | Expression needs brackets. | GJB 5.1.2 |
M | 2674 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2674 | goto detected. | GJB 4.5.1.2 |
M | 2675 | Expression needs brackets. | GJB 5.1.2 |
M | 2675 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2675 | goto detected. | GJB 4.5.1.2 |
M | 2676 | Expression needs brackets. | GJB 5.1.2 |
M | 2676 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2676 | goto detected. | GJB 4.5.1.2 |
M | 2681 | Expression needs brackets. | GJB 5.1.2 |
M | 2683 | goto detected. | GJB 4.5.1.2 |
M | 2689 | Expression needs brackets. | GJB 5.1.2 |
M | 2691 | goto detected. | GJB 4.5.1.2 |
M | 2697 | Expression needs brackets. | GJB 5.1.2 |
M | 2699 | goto detected. | GJB 4.5.1.2 |
M | 2707 | Expression needs brackets. | GJB 5.1.2 |
M | 2709 | goto detected. | GJB 4.5.1.2 |
M | 2716 | Expression needs brackets. | GJB 5.1.2 |
M | 2716 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2716 | goto detected. | GJB 4.5.1.2 |
M | 2717 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2719 | Expression needs brackets. | GJB 5.1.2 |
M | 2721 | goto detected. | GJB 4.5.1.2 |
M | 2727 | Expression needs brackets. | GJB 5.1.2 |
M | 2729 | goto detected. | GJB 4.5.1.2 |
M | 2735 | Expression needs brackets. | GJB 5.1.2 |
M | 2737 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2746 | Expression needs brackets. | GJB 5.1.2 |
M | 2746 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2746 | goto detected. | GJB 4.5.1.2 |
M | 2747 | Expression needs brackets. | GJB 5.1.2 |
M | 2747 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2747 | goto detected. | GJB 4.5.1.2 |
M | 2750 | Expression needs brackets. | GJB 5.1.2 |
M | 2750 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2750 | goto detected. | GJB 4.5.1.2 |
M | 2751 | Value is not of appropriate type. : (unsigned int and int): s -> req_cap [ hdr | GJB 4.6.1.8 |
M | 2752 | Value is not of appropriate type. : (unsigned int and int): tmplog , dst + maxsize , '#' , hdr_encode_map , s -> req_cap [ hdr | GJB 4.6.1.8 |
M | 2754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2755 | goto detected. | GJB 4.5.1.2 |
M | 2759 | Expression needs brackets. | GJB 5.1.2 |
M | 2759 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2759 | goto detected. | GJB 4.5.1.2 |
M | 2761 | Expression needs brackets. | GJB 5.1.2 |
M | 2761 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2761 | goto detected. | GJB 4.5.1.2 |
M | 2771 | Expression needs brackets. | GJB 5.1.2 |
M | 2771 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2771 | goto detected. | GJB 4.5.1.2 |
M | 2773 | Expression needs brackets. | GJB 5.1.2 |
M | 2773 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2773 | goto detected. | GJB 4.5.1.2 |
M | 2774 | Value is not of appropriate type. : (unsigned int and int): s -> req_cap [ hdr | GJB 4.6.1.8 |
M | 2775 | Value is not of appropriate type. : (unsigned int and int): tmplog , dst + maxsize , '#' , hdr_encode_map , s -> req_cap [ hdr | GJB 4.6.1.8 |
M | 2777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2778 | goto detected. | GJB 4.5.1.2 |
M | 2781 | Expression needs brackets. | GJB 5.1.2 |
M | 2781 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2781 | goto detected. | GJB 4.5.1.2 |
M | 2781 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2783 | Expression needs brackets. | GJB 5.1.2 |
M | 2783 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2783 | goto detected. | GJB 4.5.1.2 |
M | 2794 | Expression needs brackets. | GJB 5.1.2 |
M | 2794 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2794 | goto detected. | GJB 4.5.1.2 |
M | 2795 | Expression needs brackets. | GJB 5.1.2 |
M | 2795 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2795 | goto detected. | GJB 4.5.1.2 |
M | 2798 | Expression needs brackets. | GJB 5.1.2 |
M | 2798 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2798 | goto detected. | GJB 4.5.1.2 |
M | 2799 | Value is not of appropriate type. : (unsigned int and int): s -> res_cap [ hdr | GJB 4.6.1.8 |
M | 2800 | Value is not of appropriate type. : (unsigned int and int): tmplog , dst + maxsize , '#' , hdr_encode_map , s -> res_cap [ hdr | GJB 4.6.1.8 |
M | 2802 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2802 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2803 | goto detected. | GJB 4.5.1.2 |
M | 2807 | Expression needs brackets. | GJB 5.1.2 |
M | 2807 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2807 | goto detected. | GJB 4.5.1.2 |
M | 2810 | Expression needs brackets. | GJB 5.1.2 |
M | 2810 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2810 | goto detected. | GJB 4.5.1.2 |
M | 2819 | Expression needs brackets. | GJB 5.1.2 |
M | 2819 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2819 | goto detected. | GJB 4.5.1.2 |
M | 2821 | Expression needs brackets. | GJB 5.1.2 |
M | 2821 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2821 | goto detected. | GJB 4.5.1.2 |
M | 2822 | Value is not of appropriate type. : (unsigned int and int): s -> res_cap [ hdr | GJB 4.6.1.8 |
M | 2823 | Value is not of appropriate type. : (unsigned int and int): tmplog , dst + maxsize , '#' , hdr_encode_map , s -> res_cap [ hdr | GJB 4.6.1.8 |
M | 2825 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2825 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2826 | goto detected. | GJB 4.5.1.2 |
M | 2829 | Expression needs brackets. | GJB 5.1.2 |
M | 2829 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2829 | goto detected. | GJB 4.5.1.2 |
M | 2829 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2831 | Expression needs brackets. | GJB 5.1.2 |
M | 2831 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2831 | goto detected. | GJB 4.5.1.2 |
M | 2840 | Expression needs brackets. | GJB 5.1.2 |
M | 2840 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2840 | goto detected. | GJB 4.5.1.2 |
M | 2841 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2844 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2844 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2845 | goto detected. | GJB 4.5.1.2 |
M | 2848 | Expression needs brackets. | GJB 5.1.2 |
M | 2848 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2848 | goto detected. | GJB 4.5.1.2 |
M | 2853 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2856 | Expression needs brackets. | GJB 5.1.2 |
M | 2856 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2856 | goto detected. | GJB 4.5.1.2 |
M | 2860 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2860 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2861 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2864 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2864 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2870 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2871 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2882 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2882 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2883 | goto detected. | GJB 4.5.1.2 |
M | 2887 | Expression needs brackets. | GJB 5.1.2 |
M | 2887 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2887 | goto detected. | GJB 4.5.1.2 |
M | 2893 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2896 | Expression needs brackets. | GJB 5.1.2 |
M | 2896 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2896 | goto detected. | GJB 4.5.1.2 |
M | 2901 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2901 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2902 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2905 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2905 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2912 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2919 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2919 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2928 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2928 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2929 | goto detected. | GJB 4.5.1.2 |
M | 2933 | Expression needs brackets. | GJB 5.1.2 |
M | 2933 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2933 | goto detected. | GJB 4.5.1.2 |
M | 2940 | Expression needs brackets. | GJB 5.1.2 |
M | 2940 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2940 | goto detected. | GJB 4.5.1.2 |
M | 2942 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2949 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2949 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2950 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2955 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2962 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2962 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2963 | goto detected. | GJB 4.5.1.2 |
M | 2967 | Expression needs brackets. | GJB 5.1.2 |
M | 2967 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2967 | goto detected. | GJB 4.5.1.2 |
M | 2973 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2976 | Expression needs brackets. | GJB 5.1.2 |
M | 2976 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2976 | goto detected. | GJB 4.5.1.2 |
M | 2978 | Value is not of appropriate type. : (int and char): end = uri + strlen ( uri | GJB 4.6.1.8 |
M | 2980 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2980 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2981 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2984 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2984 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2990 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2990 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2991 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3002 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3002 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3003 | goto detected. | GJB 4.5.1.2 |
M | 3007 | Expression needs brackets. | GJB 5.1.2 |
M | 3007 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 3007 | goto detected. | GJB 4.5.1.2 |
M | 3013 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3015 | Expression needs brackets. | GJB 5.1.2 |
M | 3015 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 3015 | goto detected. | GJB 4.5.1.2 |
M | 3017 | Value is not of appropriate type. : (int and char): end = uri + strlen ( uri | GJB 4.6.1.8 |
M | 3020 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3020 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3021 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3032 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3032 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3033 | goto detected. | GJB 4.5.1.2 |
M | 3037 | Expression needs brackets. | GJB 5.1.2 |
M | 3037 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 3037 | goto detected. | GJB 4.5.1.2 |
M | 3043 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3045 | Expression needs brackets. | GJB 5.1.2 |
M | 3045 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 3045 | goto detected. | GJB 4.5.1.2 |
M | 3047 | Value is not of appropriate type. : (int and char): end = uri + strlen ( uri | GJB 4.6.1.8 |
M | 3049 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3049 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3050 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3053 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3053 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3058 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3058 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3059 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3063 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3065 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3065 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3077 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3077 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3078 | goto detected. | GJB 4.5.1.2 |
M | 3082 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3082 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 3082 | goto detected. | GJB 4.5.1.2 |
M | 3089 | Expression needs brackets. | GJB 5.1.2 |
M | 3090 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3090 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3090 | Expression needs brackets. | GJB 5.1.2 |
M | 3090 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3091 | goto detected. | GJB 4.5.1.2 |
M | 3095 | Expression needs brackets. | GJB 5.1.2 |
M | 3097 | goto detected. | GJB 4.5.1.2 |
M | 3105 | Expression needs brackets. | GJB 5.1.2 |
M | 3106 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3106 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3106 | Expression needs brackets. | GJB 5.1.2 |
M | 3106 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3107 | goto detected. | GJB 4.5.1.2 |
M | 3111 | Expression needs brackets. | GJB 5.1.2 |
M | 3113 | goto detected. | GJB 4.5.1.2 |
M | 3121 | Expression needs brackets. | GJB 5.1.2 |
M | 3123 | goto detected. | GJB 4.5.1.2 |
M | 3130 | Expression needs brackets. | GJB 5.1.2 |
M | 3131 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3131 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3131 | Expression needs brackets. | GJB 5.1.2 |
M | 3131 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3132 | goto detected. | GJB 4.5.1.2 |
M | 3136 | Expression needs brackets. | GJB 5.1.2 |
M | 3138 | goto detected. | GJB 4.5.1.2 |
M | 3147 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3149 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3151 | goto detected. | GJB 4.5.1.2 |
M | 2197 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3161 | Modification of string literal. : tmplog | GJB 5.1.19 |
M | 2224 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2238 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2240 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2253 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2258 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2269 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2272 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2286 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2289 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2299 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2301 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2311 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2313 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2323 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2325 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2335 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2337 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 4 | GJB 4.7.1.9 |
M | 2440 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2490 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2509 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2649 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2658 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2752 | Actual and formal parameters inconsistent (MR). : (int and char): param 5 | GJB 4.7.1.9 |
M | 2775 | Actual and formal parameters inconsistent (MR). : (int and char): param 5 | GJB 4.7.1.9 |
M | 2800 | Actual and formal parameters inconsistent (MR). : (int and char): param 5 | GJB 4.7.1.9 |
M | 2823 | Actual and formal parameters inconsistent (MR). : (int and char): param 5 | GJB 4.7.1.9 |
M | 3121 | Actual and formal parameters inconsistent (MR). : (char and unsigned int): param 3 | GJB 4.7.1.9 |
M | 3147 | Actual and formal parameters inconsistent (MR). : (stream and unsigned int): param 3 | GJB 4.7.1.9 |
M | 2299 | Procedure contains UR data flow anomalies. : (struct)->sa_family | GJB 4.13.1.4 |
M | 2215 | Procedure contains UR data flow anomalies. : key | GJB 4.13.1.4 |
M | 2299 | Procedure contains UR data flow anomalies. : struct.sin6_addr.s6_addr | GJB 4.13.1.4 |
M | 2299 | Procedure contains UR data flow anomalies. : struct.sin_addr.s_addr | GJB 4.13.1.4 |
M | 2097 | Procedure contains UR data flow anomalies. : tm | GJB 4.13.1.4 |
M | 2130 | Procedure contains UR data flow anomalies. : txn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strm_log (3170 to 3219 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3170 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3181 | Type conversion without cast. : (int and char): sess -> fe -> mode == PR_MODE_HTTP | GJB 4.6.1.9 |
M | 3181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3181 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3203 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3203 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sess_log (3230 to 3257 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3246 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 3251 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
app_log (3259 to 3274 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3273 | Pointer not checked for null before use. : logline | GJB 5.1.15 |
M | 3259 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3259 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 3264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3265 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 3269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3270 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_log_message (3284 to 3597 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3316 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3322 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 3537 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 3579 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 3382 | Pointer not checked for null before use. : metadata | GJB 5.1.15 |
M | 3589 | Pointer not checked for null before use. : metadata | GJB 5.1.15 |
M | 3338 | Pointer not checked for null before use. : metadata | GJB 5.1.15 |
M | 3378 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3302 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3334 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3285 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3288 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3291 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3296 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3299 | Signed/unsigned conversion without cast. : (unsigned int and int): * size | GJB 4.6.1.9 |
M | 3299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3304 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 3304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3304 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 3306 | Expression needs brackets. | GJB 5.1.2 |
M | 3312 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3318 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3319 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3325 | Signed/unsigned conversion without cast. : (unsigned int and int): * size | GJB 4.6.1.9 |
M | 3333 | Signed/unsigned conversion without cast. : (unsigned int and int): * size | GJB 4.6.1.9 |
M | 3333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3354 | goto detected. | GJB 4.5.1.2 |
M | 3355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3356 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * p - '0' | GJB 4.6.1.8 |
M | 3357 | goto detected. | GJB 4.5.1.2 |
M | 3361 | goto detected. | GJB 4.5.1.2 |
M | 3370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3371 | goto detected. | GJB 4.5.1.2 |
M | 3375 | goto detected. | GJB 4.5.1.2 |
M | 3379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3380 | goto detected. | GJB 4.5.1.2 |
M | 3386 | goto detected. | GJB 4.5.1.2 |
M | 3389 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3389 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3394 | goto detected. | GJB 4.5.1.2 |
M | 3400 | goto detected. | GJB 4.5.1.2 |
M | 3403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3407 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3407 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3408 | goto detected. | GJB 4.5.1.2 |
M | 3414 | goto detected. | GJB 4.5.1.2 |
M | 3417 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3417 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3421 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3421 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3422 | goto detected. | GJB 4.5.1.2 |
M | 3428 | goto detected. | GJB 4.5.1.2 |
M | 3431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3435 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3435 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3436 | goto detected. | GJB 4.5.1.2 |
M | 3452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3452 | Type conversion without cast. : (signed char and char): * ( p - 1 ) != '\\' | GJB 4.6.1.9 |
M | 3461 | goto detected. | GJB 4.5.1.2 |
M | 3465 | goto detected. | GJB 4.5.1.2 |
M | 3471 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3471 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3472 | goto detected. | GJB 4.5.1.2 |
M | 3475 | goto detected. | GJB 4.5.1.2 |
M | 3478 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3478 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3483 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3484 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3487 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3490 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 3506 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3506 | Value is not of appropriate type. : (unsigned int and int): ! memcmp ( monthname [ m | GJB 4.6.1.8 |
M | 3510 | goto detected. | GJB 4.5.1.2 |
M | 3515 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3515 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3516 | goto detected. | GJB 4.5.1.2 |
M | 3519 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3519 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3520 | goto detected. | GJB 4.5.1.2 |
M | 3526 | goto detected. | GJB 4.5.1.2 |
M | 3533 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3534 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3542 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3542 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3543 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3546 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3566 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3575 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3576 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3580 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
syslog_fd_handler (3602 to 3654 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3647 | Pointer not checked for null before use. : message | GJB 5.1.15 |
M | 3631 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 3608 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3611 | Value is not of appropriate type. : (unsigned int and int): objt_listener ( fdtab [ fd | GJB 4.6.1.8 |
M | 3617 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 3631 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3633 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3635 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3637 | goto detected. | GJB 4.5.1.2 |
M | 3649 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
syslog_io_handler (3659 to 3789 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3664 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3674 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 3754 | Pointer not checked for null before use. : message | GJB 5.1.15 |
M | 3780 | Pointer not checked for null before use. : frontend | GJB 5.1.15 |
M | 3692 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 3671 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3676 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3676 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 3679 | goto detected. | GJB 4.5.1.2 |
M | 3684 | goto detected. | GJB 4.5.1.2 |
M | 3686 | goto detected. | GJB 4.5.1.2 |
M | 3686 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3694 | goto detected. | GJB 4.5.1.2 |
M | 3696 | goto detected. | GJB 4.5.1.2 |
M | 3696 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3698 | Value is not of appropriate type. : (unsigned int and int): buf -> area [ to_skip - 1 | GJB 4.6.1.8 |
M | 3698 | Type conversion without cast. : (int and char): buf -> area [ to_skip - 1 ] != '\n' | GJB 4.6.1.9 |
M | 3699 | goto detected. | GJB 4.5.1.2 |
M | 3704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3704 | Value is not of appropriate type. : (unsigned int and int): buf -> area [ buf -> data - 1 | GJB 4.6.1.8 |
M | 3704 | Type conversion without cast. : (int and char): buf -> area [ buf -> data - 1 ] == '\r' | GJB 4.6.1.9 |
M | 3708 | Operation not appropriate to plain char. : - used with char: c | GJB 4.1.1.15 |
M | 3708 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( c - '1' | GJB 4.6.1.8 |
M | 3713 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3713 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3718 | goto detected. | GJB 4.5.1.2 |
M | 3720 | goto detected. | GJB 4.5.1.2 |
M | 3720 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3722 | Value is not of appropriate type. : (unsigned int and int): buf -> area [ to_skip - 1 | GJB 4.6.1.8 |
M | 3722 | Type conversion without cast. : (int and char): buf -> area [ to_skip - 1 ] != ' ' | GJB 4.6.1.9 |
M | 3723 | goto detected. | GJB 4.5.1.2 |
M | 3726 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3726 | Value is not of appropriate type. : (unsigned int and int): p != & buf -> area [ to_skip - 1 | GJB 4.6.1.8 |
M | 3727 | goto detected. | GJB 4.5.1.2 |
M | 3731 | goto detected. | GJB 4.5.1.2 |
M | 3735 | goto detected. | GJB 4.5.1.2 |
M | 3737 | goto detected. | GJB 4.5.1.2 |
M | 3737 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3744 | goto detected. | GJB 4.5.1.2 |
M | 3775 | goto detected. | GJB 4.5.1.2 |
M | 3659 | Static procedure is not explicitly called in code analysed. : syslog_io_handler | GJB 4.7.1.3 |
M | 3676 | Procedure contains UR data flow anomalies. : c |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_log_forward (3804 to 4078 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3804 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3804 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3808 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3809 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3815 | goto detected. | GJB 4.5.1.2 |
M | 3819 | goto detected. | GJB 4.5.1.2 |
M | 3826 | goto detected. | GJB 4.5.1.2 |
M | 3844 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3847 | goto detected. | GJB 4.5.1.2 |
M | 3870 | Expression needs brackets. | GJB 5.1.2 |
M | 3870 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 3873 | goto detected. | GJB 4.5.1.2 |
M | 3875 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 3877 | goto detected. | GJB 4.5.1.2 |
M | 3883 | Expression needs brackets. | GJB 5.1.2 |
M | 3883 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 3886 | goto detected. | GJB 4.5.1.2 |
M | 3888 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 3890 | goto detected. | GJB 4.5.1.2 |
M | 3906 | goto detected. | GJB 4.5.1.2 |
M | 3910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3918 | goto detected. | GJB 4.5.1.2 |
M | 3930 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3930 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3930 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 3930 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3930 | Value is not of appropriate type. : (unsigned int and int): kw = bind_find_kw ( args [ cur_arg | GJB 4.6.1.8 |
M | 3936 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3941 | Value is not of appropriate type. : (unsigned int and int): "parsing [%s:%d]: error encountered while processing '%s'\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 3944 | goto detected. | GJB 4.5.1.2 |
M | 3948 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3948 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] != 0 | GJB 4.6.1.8 |
M | 3949 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3956 | Value is not of appropriate type. : (unsigned int and int): "parsing [%s:%d] : unknown keyword '%s' in '%s' section.%s%s\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 3959 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3959 | free used on string. | GJB 5.1.19 |
M | 3961 | goto detected. | GJB 4.5.1.2 |
M | 3977 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3986 | goto detected. | GJB 4.5.1.2 |
M | 3996 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3996 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 3996 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3996 | Value is not of appropriate type. : (unsigned int and int): kw = bind_find_kw ( args [ cur_arg | GJB 4.6.1.8 |
M | 4002 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4007 | Value is not of appropriate type. : (unsigned int and int): "parsing [%s:%d]: error encountered while processing '%s'\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 4010 | goto detected. | GJB 4.5.1.2 |
M | 4014 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 4014 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] != 0 | GJB 4.6.1.8 |
M | 4015 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 4022 | Value is not of appropriate type. : (unsigned int and int): "parsing [%s:%d] : unknown keyword '%s' in '%s' section.%s%s\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 4025 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4025 | free used on string. | GJB 5.1.19 |
M | 4027 | goto detected. | GJB 4.5.1.2 |
M | 4034 | goto detected. | GJB 4.5.1.2 |
M | 4038 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4044 | goto detected. | GJB 4.5.1.2 |
M | 4047 | Value is not of appropriate type. : (char and signed char): * args [ 2 ] == 0 | GJB 4.6.1.8 |
M | 4050 | goto detected. | GJB 4.5.1.2 |
M | 4062 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4067 | goto detected. | GJB 4.5.1.2 |
M | 4074 | goto detected. | GJB 4.5.1.2 |
M | 4031 | Actual and formal parameters inconsistent (MR). : (bool and int): param 3 | GJB 4.7.1.9 |
M | 4078 | Memory not freed after last reference. : px | GJB 5.1.17 |
M | 3896 | Procedure contains UR data flow anomalies. : kw | GJB 4.13.1.4 |
M | 3968 | Procedure contains UR data flow anomalies. : kw | GJB 4.13.1.4 |
M | 3897 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 3969 | Procedure contains UR data flow anomalies. : l | GJB 4.13.1.4 |
M | 4039 | Procedure contains UR data flow anomalies. : timeout |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_startup_logs (4082 to 4091 log.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4082 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4082 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4082 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4082 | Static procedure is not explicitly called in code analysed. : cli_parse_show_startup_logs | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lru64_lookup (36 to 55 lru.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 43 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 48 | Signed/unsigned conversion without cast. : (int and uns long long): elem -> revision == revision | GJB 4.6.1.9 |
M | 49 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 49 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 49 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 49 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 49 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 49 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 49 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 49 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 50 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 50 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 50 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 50 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 50 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 50 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 50 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 50 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 50 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lru64_get (65 to 132 lru.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 83 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 117 | Pointer not checked for null before use. : old | GJB 5.1.15 |
M | 116 | Pointer not checked for null before use. : (lru)->spare | GJB 5.1.15 |
M | 74 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Signed/unsigned conversion without cast. : (int and uns long long): elem -> revision == revision | GJB 4.6.1.9 |
M | 90 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 90 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 90 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 90 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 90 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 90 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 90 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 90 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 91 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 91 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 91 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 91 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 91 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 91 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 91 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 91 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 91 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 99 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 99 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 99 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 99 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 99 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 99 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 99 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 99 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 110 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 110 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 110 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 110 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 110 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 110 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 110 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 110 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 110 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 119 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 119 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 119 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 119 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 119 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 119 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 119 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 119 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 121 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 122 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 126 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 131 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lru64_commit (139 to 149 lru.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 140 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 146 | Signed/unsigned conversion without cast. : (int and uns long long): elem -> revision = revision | GJB 4.6.1.9 |
M | 148 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 148 | Use of banned function or variable. : free | GJB 4.7.1.4 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | free |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lru64_new (154 to 167 lru.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 158 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 160 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 166 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lru64_destroy (172 to 200 lru.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 180 | Pointer not checked for null before use. : elem | GJB 5.1.15 |
M | 184 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 184 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 184 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 184 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 184 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 184 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 184 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 184 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 186 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 187 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 187 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 196 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 174 | Procedure contains UR data flow anomalies. : next |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lru64_kill_oldest (203 to 225 lru.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 208 | Pointer not checked for null before use. : elem | GJB 5.1.15 |
M | 214 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 214 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 214 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 214 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 214 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 214 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 214 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 214 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 216 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 217 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 220 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 205 | Procedure contains UR data flow anomalies. : next |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
email_alert_free (40 to 57 mailers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 56 | Attempt to read from freed memory. : alert | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_email_alert (59 to 98 mailers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | Pointer not checked for null before use. : q | GJB 5.1.15 |
M | 78 | Pointer not checked for null before use. : alert | GJB 5.1.15 |
M | 90 | Pointer not checked for null before use. : alert | GJB 5.1.15 |
M | 59 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 74 | goto detected. | GJB 4.5.1.2 |
M | 59 | Static procedure is not explicitly called in code analysed. : process_email_alert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_email_alert (105 to 168 mailers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 105 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 105 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 109 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 110 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 112 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 112 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 112 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 114 | goto detected. | GJB 4.5.1.2 |
M | 117 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 118 | Value is not of appropriate type. : (unsigned int and int): & queues [ i | GJB 4.6.1.8 |
M | 128 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 130 | goto detected. | GJB 4.5.1.2 |
M | 137 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 137 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 139 | goto detected. | GJB 4.5.1.2 |
M | 153 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 160 | Value is not of appropriate type. : (unsigned int and int): & queues [ i | GJB 4.6.1.8 |
M | 165 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 154 | Attempt to read from freed memory. : p | GJB 5.1.16 |
M | 168 | Memory not freed after last reference. : queues |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
enqueue_one_email_alert (170 to 281 mailers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 191 | Pointer not checked for null before use. : tcpcheck | GJB 5.1.15 |
M | 170 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 170 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 171 | Name found with length less than 2. : q | GJB 4.8.1.1 |
M | 171 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 177 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 177 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 178 | goto detected. | GJB 4.5.1.2 |
M | 181 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 183 | goto detected. | GJB 4.5.1.2 |
M | 188 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 188 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 189 | goto detected. | GJB 4.5.1.2 |
M | 197 | goto detected. | GJB 4.5.1.2 |
M | 200 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 202 | goto detected. | GJB 4.5.1.2 |
M | 206 | goto detected. | GJB 4.5.1.2 |
M | 209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 211 | goto detected. | GJB 4.5.1.2 |
M | 215 | goto detected. | GJB 4.5.1.2 |
M | 218 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 220 | goto detected. | GJB 4.5.1.2 |
M | 224 | goto detected. | GJB 4.5.1.2 |
M | 227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 229 | goto detected. | GJB 4.5.1.2 |
M | 233 | goto detected. | GJB 4.5.1.2 |
M | 237 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 253 | goto detected. | GJB 4.5.1.2 |
M | 257 | goto detected. | GJB 4.5.1.2 |
M | 261 | goto detected. | GJB 4.5.1.2 |
M | 264 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 266 | goto detected. | GJB 4.5.1.2 |
M | 270 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
enqueue_email_alert (283 to 297 mailers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 289 | Pointer not checked for null before use. : mailer | GJB 5.1.15 |
M | 283 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 283 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 283 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 285 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 288 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 289 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 290 | Value is not of appropriate type. : (unsigned int and int): p , s , & p -> email_alert.queues [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
send_email_alert (302 to 322 mailers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 302 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 302 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 302 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 309 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 316 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 316 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 316 | Signed/unsigned conversion without cast. : (int and unsigned int): len >= sizeof | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_parse_ip (31 to 44 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 31 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 33 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_parse_str (52 to 59 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 52 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 54 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 54 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_parse_int (65 to 72 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 65 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_create_descriptor (77 to 88 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 81 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 87 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_load_map (96 to 169 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 97 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 97 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 120 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 120 | Value is not of appropriate type. : (unsigned int and long): ( long ) conv -> private | GJB 4.6.1.8 |
M | 121 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 121 | Value is not of appropriate type. : (unsigned int and long): ( long ) conv -> private | GJB 4.6.1.8 |
M | 122 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 122 | Value is not of appropriate type. : (unsigned int and long): ( long ) conv -> private | GJB 4.6.1.8 |
M | 123 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 123 | Value is not of appropriate type. : (unsigned int and long): ( long ) conv -> private | GJB 4.6.1.8 |
M | 124 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 124 | Value is not of appropriate type. : (unsigned int and long): ( long ) conv -> private | GJB 4.6.1.8 |
M | 134 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 136 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 169 | Memory not freed after last reference. : desc |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_map (171 to 260 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 181 | Pointer not checked for null before use. : desc | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 171 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 187 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 187 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): tmptrash -> area [ tmptrash -> data | GJB 4.6.1.8 |
M | 235 | No default case in switch statement. | GJB 4.3.1.4 |
M | 171 | Static procedure is not explicitly called in code analysed. : sample_conv_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_list_get_next (267 to 286 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 267 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_lookup_ref (288 to 307 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 289 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 292 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_expr_get_next (312 to 320 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 317 | Pointer not checked for null before use. : expr | GJB 5.1.15 |
M | 319 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_pat_list (322 to 403 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 371 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 357 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 372 | goto detected. | GJB 4.5.1.2 |
M | 399 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 402 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 322 | Static procedure is not explicitly called in code analysed. : cli_io_handler_pat_list | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_pats_list (405 to 464 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 433 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 459 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 462 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 405 | Static procedure is not explicitly called in code analysed. : cli_io_handler_pats_list | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_map_lookup (466 to 584 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 481 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 494 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 495 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 502 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 502 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.map.expr -> pat_head -> match == pat_match_fcts [ match_method | GJB 4.6.1.8 |
M | 507 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , "type=%s" , pat_match_names [ match_method | GJB 4.6.1.8 |
M | 539 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 553 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 553 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 554 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , ", value=\"%s\", type=\"%s\"" , pat -> ref -> sample , smp_to_type [ pat -> data -> type | GJB 4.6.1.8 |
M | 580 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 583 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 466 | Static procedure is not explicitly called in code analysed. : cli_io_handler_map_lookup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_mlook (586 to 590 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 588 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 586 | Static procedure is not explicitly called in code analysed. : cli_release_mlook | GJB 4.7.1.3 |
M | 589 | Attempt to read from freed memory. : appctx | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_get_map (593 to 632 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 593 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 593 | Static procedure is not explicitly called in code analysed. : cli_parse_get_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_show_map (634 to 642 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 634 | Static procedure is not explicitly called in code analysed. : cli_release_show_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_map (644 to 676 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 644 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 644 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 644 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 646 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 647 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 663 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 644 | Static procedure is not explicitly called in code analysed. : cli_parse_show_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_map (678 to 746 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 716 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 731 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 678 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 678 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 678 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 681 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 698 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 701 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 710 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 710 | Type conversion without cast. : (long and long long): ( long long int ) ( long ) ref != conv | GJB 4.6.1.9 |
M | 678 | Static procedure is not explicitly called in code analysed. : cli_parse_set_map | GJB 4.7.1.3 |
M | 714 | Procedure contains UR data flow anomalies. : err | GJB 4.13.1.4 |
M | 729 | Procedure contains UR data flow anomalies. : err |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
map_add_key_value (748 to 760 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 748 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 748 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 748 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_add_map (762 to 862 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 828 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 838 | Pointer not checked for null before use. : payload | GJB 5.1.15 |
M | 840 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 811 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 832 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 762 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 762 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 762 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 764 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 767 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 787 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 787 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 790 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 820 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 823 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 824 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 762 | Static procedure is not explicitly called in code analysed. : cli_parse_add_map | GJB 4.7.1.3 |
M | 809 | Procedure contains UR data flow anomalies. : err |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_del_map (864 to 928 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 864 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 881 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 891 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 900 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 900 | Type conversion without cast. : (long and long long): ( long long int ) ( long ) ref != conv | GJB 4.6.1.9 |
M | 864 | Static procedure is not explicitly called in code analysed. : cli_parse_del_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_clear_map (932 to 947 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 932 | Static procedure is not explicitly called in code analysed. : cli_io_handler_clear_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_clear_map (949 to 980 map.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 949 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 949 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 949 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 968 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 949 | Static procedure is not explicitly called in code analysed. : cli_parse_clear_map | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_memory_cleanup (32 to 82 memory.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Pointer not checked for null before use. : tmp |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_memory_obj_create (87 to 119 memory.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 97 | Pointer not checked for null before use. : obj | GJB 5.1.15 |
M | 103 | Pointer not checked for null before use. : obj | GJB 5.1.15 |
M | 118 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_memory_obj_append (121 to 155 memory.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 123 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_store_memory_sync_disk (157 to 260 memory.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 186 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 186 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 187 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 199 | goto detected. | GJB 4.5.1.2 |
M | 209 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 209 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Expression needs brackets. | GJB 5.1.2 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 222 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 222 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 225 | goto detected. | GJB 4.5.1.2 |
M | 233 | goto detected. | GJB 4.5.1.2 |
M | 245 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start | GJB 4.6.1.9 |
M | 245 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_test_rule (20 to 46 misc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 21 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_debug (48 to 67 misc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 49 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 49 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 49 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 63 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 63 | Type conversion without cast. : (int and char): trash.area [ trash.data ++ ] = '\n' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_debug_beg (69 to 86 misc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 76 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 70 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 70 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 70 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_debug_add (88 to 98 misc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 89 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 89 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_debug_end (100 to 112 misc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 109 | Value is not of appropriate type. : (unsigned int and int): trash.area [ trash.data ++ | GJB 4.6.1.8 |
M | 109 | Type conversion without cast. : (int and char): trash.area [ trash.data ++ ] = '\n' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
haproxy_bucket_destroy (49 to 55 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 49 | Static procedure is not explicitly called in code analysed. : haproxy_bucket_destroy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
haproxy_bucket_read (57 to 73 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 57 | Static procedure is not explicitly called in code analysed. : haproxy_bucket_read | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
chunk_strdup (84 to 94 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 86 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 88 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 93 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
printf_dup (96 to 121 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 102 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 104 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
M | 111 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 115 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
M | 120 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
modsec_log (124 to 127 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 124 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 124 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
modsecurity_load (132 to 169 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
modsecurity_process (178 to 641 modsec_wrapper.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 191 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 191 | Name redeclared in another C name space (MR). : value | GJB 4.1.1.16 |
M | 624 | Name redeclared in another C name space (MR). : fail | GJB 4.1.1.16 |
M | 296 | Pointer not checked for null before use. : cr | GJB 5.1.15 |
M | 300 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 590 | Pointer not checked for null before use. : link_bucket | GJB 5.1.15 |
M | 597 | Pointer not checked for null before use. : last_bucket | GJB 5.1.15 |
M | 252 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 556 | Pointer not checked for null before use. : uniqueid | GJB 5.1.15 |
M | 360 | Pointer not checked for null before use. : meth | GJB 5.1.15 |
M | 523 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 530 | Pointer not checked for null before use. : qs | GJB 5.1.15 |
M | 504 | Pointer not checked for null before use. : vers | GJB 5.1.15 |
M | 577 | Pointer not checked for null before use. : body | GJB 5.1.15 |
M | 275 | Pointer not checked for null before use. : hdr.value | GJB 5.1.15 |
M | 275 | Pointer not checked for null before use. : hdr.name | GJB 5.1.15 |
M | 186 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 190 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 192 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 196 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 197 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 199 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 201 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 203 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 207 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | Value is not of appropriate type. : (unsigned int and int): req , hdrs [ i | GJB 4.6.1.8 |
M | 306 | Value is not of appropriate type. : (unsigned int and int): req , hdrs [ i ].name , hdrs [ i | GJB 4.6.1.8 |
M | 308 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 309 | goto detected. | GJB 4.5.1.2 |
M | 311 | Value is not of appropriate type. : (unsigned int and int): req , hdrs [ i | GJB 4.6.1.8 |
M | 311 | Value is not of appropriate type. : (unsigned int and int): req , hdrs [ i ].value , hdrs [ i | GJB 4.6.1.8 |
M | 313 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 314 | goto detected. | GJB 4.5.1.2 |
M | 325 | Value is not of appropriate type. : (int and char): strlen ( req -> hostname | GJB 4.6.1.8 |
M | 332 | Use of sizeof on a type. | GJB 5.1.8 |
M | 332 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 338 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 341 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 342 | goto detected. | GJB 4.5.1.2 |
M | 355 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 362 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 363 | goto detected. | GJB 4.5.1.2 |
M | 368 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 369 | goto detected. | GJB 4.5.1.2 |
M | 380 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 381 | goto detected. | GJB 4.5.1.2 |
M | 398 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 399 | goto detected. | GJB 4.5.1.2 |
M | 414 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 415 | goto detected. | GJB 4.5.1.2 |
M | 428 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 429 | goto detected. | GJB 4.5.1.2 |
M | 442 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 443 | goto detected. | GJB 4.5.1.2 |
M | 452 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 453 | goto detected. | GJB 4.5.1.2 |
M | 460 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 461 | goto detected. | GJB 4.5.1.2 |
M | 470 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 471 | goto detected. | GJB 4.5.1.2 |
M | 478 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 479 | goto detected. | GJB 4.5.1.2 |
M | 486 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 487 | goto detected. | GJB 4.5.1.2 |
M | 494 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 495 | goto detected. | GJB 4.5.1.2 |
M | 498 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 500 | goto detected. | GJB 4.5.1.2 |
M | 501 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 506 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 507 | goto detected. | GJB 4.5.1.2 |
M | 512 | Expression needs brackets. | GJB 5.1.2 |
M | 525 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 526 | goto detected. | GJB 4.5.1.2 |
M | 532 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 533 | goto detected. | GJB 4.5.1.2 |
M | 540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 545 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 546 | goto detected. | GJB 4.5.1.2 |
M | 567 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 568 | goto detected. | GJB 4.5.1.2 |
M | 574 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 575 | goto detected. | GJB 4.5.1.2 |
M | 577 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 577 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 583 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 584 | goto detected. | GJB 4.5.1.2 |
M | 587 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 610 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 610 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 632 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 633 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 634 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 635 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 637 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 306 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 311 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 325 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 360 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 504 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 523 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 530 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 556 | Actual and formal parameters inconsistent (MR). : (uint64_t and unsigned int): param 3 | GJB 4.7.1.9 |
M | 212 | Procedure contains UR data flow anomalies. : hdr.name_len | GJB 4.13.1.4 |
M | 212 | Procedure contains UR data flow anomalies. : hdr.value_len | GJB 4.13.1.4 |
M | 211 | Procedure contains UR data flow anomalies. : hdrs.name | GJB 4.13.1.4 |
M | 211 | Procedure contains UR data flow anomalies. : hdrs.name_len | GJB 4.13.1.4 |
M | 211 | Procedure contains UR data flow anomalies. : hdrs.value | GJB 4.13.1.4 |
M | 211 | Procedure contains UR data flow anomalies. : hdrs.value_len | GJB 4.13.1.4 |
M | 624 | Identifier reuse: label vs variable (MR). : fail |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_read_fixed_hdr (159 to 171 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_read_1byte_int (180 to 188 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 180 | Name found with length less than 2. : i | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_read_2byte_int (197 to 207 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 197 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 202 | Value is not of appropriate type. : (unsigned short and unsigned char): i = ( uint8_t | GJB 4.6.1.8 |
M | 202 | Shifting value too far. | GJB 4.6.1.4 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Value is not of appropriate type. : (unsigned short and unsigned char): i += ( uint8_t | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_read_4byte_int (216 to 228 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 223 | Pointer not checked for null before use. : i | GJB 5.1.15 |
M | 224 | Pointer not checked for null before use. : i | GJB 5.1.15 |
M | 216 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 221 | Value is not of appropriate type. : (unsigned int and unsigned char): i = ( uint8_t | GJB 4.6.1.8 |
M | 221 | Shifting value too far. | GJB 4.6.1.4 |
M | 222 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 222 | Value is not of appropriate type. : (unsigned int and unsigned char): i += ( uint8_t | GJB 4.6.1.8 |
M | 222 | Expression needs brackets. | GJB 5.1.2 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Value is not of appropriate type. : (unsigned int and unsigned char): i += ( uint8_t | GJB 4.6.1.8 |
M | 223 | Expression needs brackets. | GJB 5.1.2 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Value is not of appropriate type. : (unsigned int and unsigned char): i += ( uint8_t | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_read_varint (247 to 271 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 247 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 249 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 251 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 253 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 258 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 258 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 264 | Signed/unsigned conversion without cast. : (unsigned char and int): byte | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_read_string (289 to 311 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 295 | goto detected. | GJB 4.5.1.2 |
M | 297 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 300 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_uint2str (317 to 326 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 317 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 325 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_field_value (334 to 696 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 343 | goto detected. | GJB 4.5.1.2 |
M | 346 | goto detected. | GJB 4.5.1.2 |
M | 346 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 348 | goto detected. | GJB 4.5.1.2 |
M | 349 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 340 | No default case in switch statement. | GJB 4.3.1.4 |
M | 352 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 354 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 358 | goto detected. | GJB 4.5.1.2 |
M | 358 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 360 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 362 | goto detected. | GJB 4.5.1.2 |
M | 364 | goto detected. | GJB 4.5.1.2 |
M | 364 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 366 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 368 | goto detected. | GJB 4.5.1.2 |
M | 370 | goto detected. | GJB 4.5.1.2 |
M | 370 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 372 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 374 | goto detected. | GJB 4.5.1.2 |
M | 376 | goto detected. | GJB 4.5.1.2 |
M | 376 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 378 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 380 | goto detected. | GJB 4.5.1.2 |
M | 382 | goto detected. | GJB 4.5.1.2 |
M | 382 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 384 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 386 | goto detected. | GJB 4.5.1.2 |
M | 388 | goto detected. | GJB 4.5.1.2 |
M | 388 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 390 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 392 | goto detected. | GJB 4.5.1.2 |
M | 394 | goto detected. | GJB 4.5.1.2 |
M | 394 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 396 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 398 | goto detected. | GJB 4.5.1.2 |
M | 400 | goto detected. | GJB 4.5.1.2 |
M | 400 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 402 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 404 | goto detected. | GJB 4.5.1.2 |
M | 406 | goto detected. | GJB 4.5.1.2 |
M | 406 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 408 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 411 | goto detected. | GJB 4.5.1.2 |
M | 413 | goto detected. | GJB 4.5.1.2 |
M | 415 | goto detected. | GJB 4.5.1.2 |
M | 415 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 417 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 420 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 422 | goto detected. | GJB 4.5.1.2 |
M | 424 | goto detected. | GJB 4.5.1.2 |
M | 424 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 426 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 429 | goto detected. | GJB 4.5.1.2 |
M | 431 | goto detected. | GJB 4.5.1.2 |
M | 433 | goto detected. | GJB 4.5.1.2 |
M | 433 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 435 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 438 | goto detected. | GJB 4.5.1.2 |
M | 440 | goto detected. | GJB 4.5.1.2 |
M | 442 | goto detected. | GJB 4.5.1.2 |
M | 442 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 444 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 447 | goto detected. | GJB 4.5.1.2 |
M | 449 | goto detected. | GJB 4.5.1.2 |
M | 451 | goto detected. | GJB 4.5.1.2 |
M | 451 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 453 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 455 | goto detected. | GJB 4.5.1.2 |
M | 457 | goto detected. | GJB 4.5.1.2 |
M | 459 | goto detected. | GJB 4.5.1.2 |
M | 459 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 461 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 463 | goto detected. | GJB 4.5.1.2 |
M | 465 | goto detected. | GJB 4.5.1.2 |
M | 467 | goto detected. | GJB 4.5.1.2 |
M | 467 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 469 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 471 | goto detected. | GJB 4.5.1.2 |
M | 473 | goto detected. | GJB 4.5.1.2 |
M | 475 | goto detected. | GJB 4.5.1.2 |
M | 475 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 477 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 479 | goto detected. | GJB 4.5.1.2 |
M | 481 | goto detected. | GJB 4.5.1.2 |
M | 483 | goto detected. | GJB 4.5.1.2 |
M | 483 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 485 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 488 | goto detected. | GJB 4.5.1.2 |
M | 490 | goto detected. | GJB 4.5.1.2 |
M | 492 | goto detected. | GJB 4.5.1.2 |
M | 492 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 494 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 496 | goto detected. | GJB 4.5.1.2 |
M | 498 | goto detected. | GJB 4.5.1.2 |
M | 500 | goto detected. | GJB 4.5.1.2 |
M | 500 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 502 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 504 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 506 | goto detected. | GJB 4.5.1.2 |
M | 508 | goto detected. | GJB 4.5.1.2 |
M | 508 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 510 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 512 | goto detected. | GJB 4.5.1.2 |
M | 514 | goto detected. | GJB 4.5.1.2 |
M | 516 | goto detected. | GJB 4.5.1.2 |
M | 516 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 518 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 520 | goto detected. | GJB 4.5.1.2 |
M | 522 | goto detected. | GJB 4.5.1.2 |
M | 524 | goto detected. | GJB 4.5.1.2 |
M | 524 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 527 | goto detected. | GJB 4.5.1.2 |
M | 528 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 531 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 533 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 535 | goto detected. | GJB 4.5.1.2 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 537 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 539 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 541 | goto detected. | GJB 4.5.1.2 |
M | 543 | goto detected. | GJB 4.5.1.2 |
M | 543 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 545 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 547 | goto detected. | GJB 4.5.1.2 |
M | 549 | goto detected. | GJB 4.5.1.2 |
M | 549 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 551 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 553 | goto detected. | GJB 4.5.1.2 |
M | 555 | goto detected. | GJB 4.5.1.2 |
M | 557 | goto detected. | GJB 4.5.1.2 |
M | 557 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 559 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 561 | goto detected. | GJB 4.5.1.2 |
M | 563 | goto detected. | GJB 4.5.1.2 |
M | 565 | goto detected. | GJB 4.5.1.2 |
M | 565 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 567 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 569 | goto detected. | GJB 4.5.1.2 |
M | 571 | goto detected. | GJB 4.5.1.2 |
M | 573 | goto detected. | GJB 4.5.1.2 |
M | 573 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 575 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 577 | goto detected. | GJB 4.5.1.2 |
M | 579 | goto detected. | GJB 4.5.1.2 |
M | 581 | goto detected. | GJB 4.5.1.2 |
M | 581 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 583 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 585 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 587 | goto detected. | GJB 4.5.1.2 |
M | 589 | goto detected. | GJB 4.5.1.2 |
M | 589 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 591 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 593 | goto detected. | GJB 4.5.1.2 |
M | 595 | goto detected. | GJB 4.5.1.2 |
M | 597 | goto detected. | GJB 4.5.1.2 |
M | 597 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 599 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 601 | goto detected. | GJB 4.5.1.2 |
M | 603 | goto detected. | GJB 4.5.1.2 |
M | 605 | goto detected. | GJB 4.5.1.2 |
M | 605 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 607 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 609 | goto detected. | GJB 4.5.1.2 |
M | 611 | goto detected. | GJB 4.5.1.2 |
M | 613 | goto detected. | GJB 4.5.1.2 |
M | 613 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 615 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 617 | goto detected. | GJB 4.5.1.2 |
M | 619 | goto detected. | GJB 4.5.1.2 |
M | 621 | goto detected. | GJB 4.5.1.2 |
M | 621 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 623 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 625 | goto detected. | GJB 4.5.1.2 |
M | 627 | goto detected. | GJB 4.5.1.2 |
M | 629 | goto detected. | GJB 4.5.1.2 |
M | 629 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 631 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 633 | goto detected. | GJB 4.5.1.2 |
M | 635 | goto detected. | GJB 4.5.1.2 |
M | 637 | goto detected. | GJB 4.5.1.2 |
M | 637 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 639 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 641 | goto detected. | GJB 4.5.1.2 |
M | 643 | goto detected. | GJB 4.5.1.2 |
M | 645 | goto detected. | GJB 4.5.1.2 |
M | 645 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 647 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 649 | goto detected. | GJB 4.5.1.2 |
M | 651 | goto detected. | GJB 4.5.1.2 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 653 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 655 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 657 | goto detected. | GJB 4.5.1.2 |
M | 659 | goto detected. | GJB 4.5.1.2 |
M | 661 | goto detected. | GJB 4.5.1.2 |
M | 661 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 663 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 665 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 669 | goto detected. | GJB 4.5.1.2 |
M | 669 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 671 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 673 | goto detected. | GJB 4.5.1.2 |
M | 675 | goto detected. | GJB 4.5.1.2 |
M | 677 | goto detected. | GJB 4.5.1.2 |
M | 677 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 680 | goto detected. | GJB 4.5.1.2 |
M | 681 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 685 | goto detected. | GJB 4.5.1.2 |
M | 686 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 688 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_parse_connect (710 to 984 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 723 | goto detected. | GJB 4.5.1.2 |
M | 728 | goto detected. | GJB 4.5.1.2 |
M | 729 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 731 | goto detected. | GJB 4.5.1.2 |
M | 736 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 737 | goto detected. | GJB 4.5.1.2 |
M | 741 | goto detected. | GJB 4.5.1.2 |
M | 746 | goto detected. | GJB 4.5.1.2 |
M | 756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 756 | Signed/unsigned conversion without cast. : (int and unsigned int): ) < plen | GJB 4.6.1.9 |
M | 757 | goto detected. | GJB 4.5.1.2 |
M | 765 | goto detected. | GJB 4.5.1.2 |
M | 772 | goto detected. | GJB 4.5.1.2 |
M | 776 | goto detected. | GJB 4.5.1.2 |
M | 782 | goto detected. | GJB 4.5.1.2 |
M | 786 | goto detected. | GJB 4.5.1.2 |
M | 792 | goto detected. | GJB 4.5.1.2 |
M | 799 | goto detected. | GJB 4.5.1.2 |
M | 803 | goto detected. | GJB 4.5.1.2 |
M | 809 | goto detected. | GJB 4.5.1.2 |
M | 813 | goto detected. | GJB 4.5.1.2 |
M | 821 | Signed/unsigned conversion without cast. : (unsigned int and int): user_prop_idx | GJB 4.6.1.9 |
M | 826 | goto detected. | GJB 4.5.1.2 |
M | 833 | goto detected. | GJB 4.5.1.2 |
M | 840 | goto detected. | GJB 4.5.1.2 |
M | 846 | goto detected. | GJB 4.5.1.2 |
M | 847 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 850 | goto detected. | GJB 4.5.1.2 |
M | 855 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 856 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 857 | goto detected. | GJB 4.5.1.2 |
M | 866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 867 | goto detected. | GJB 4.5.1.2 |
M | 870 | Nested comment found. | GJB 4.10.1.1 |
M | 880 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 880 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 880 | Signed/unsigned conversion without cast. : (int and unsigned int): ) < plen | GJB 4.6.1.9 |
M | 881 | goto detected. | GJB 4.5.1.2 |
M | 889 | goto detected. | GJB 4.5.1.2 |
M | 896 | goto detected. | GJB 4.5.1.2 |
M | 900 | goto detected. | GJB 4.5.1.2 |
M | 906 | goto detected. | GJB 4.5.1.2 |
M | 913 | goto detected. | GJB 4.5.1.2 |
M | 920 | goto detected. | GJB 4.5.1.2 |
M | 927 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 936 | Signed/unsigned conversion without cast. : (unsigned int and int): user_prop_idx | GJB 4.6.1.9 |
M | 941 | goto detected. | GJB 4.5.1.2 |
M | 947 | goto detected. | GJB 4.5.1.2 |
M | 948 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 951 | goto detected. | GJB 4.5.1.2 |
M | 959 | goto detected. | GJB 4.5.1.2 |
M | 962 | goto detected. | GJB 4.5.1.2 |
M | 969 | goto detected. | GJB 4.5.1.2 |
M | 976 | goto detected. | GJB 4.5.1.2 |
M | 979 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 726 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 735 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 744 | Actual and formal parameters inconsistent (MR). : (int and unsigned short): param 2 | GJB 4.7.1.9 |
M | 766 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 2 | GJB 4.7.1.9 |
M | 773 | Actual and formal parameters inconsistent (MR). : (int and unsigned short): param 2 | GJB 4.7.1.9 |
M | 783 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 2 | GJB 4.7.1.9 |
M | 793 | Actual and formal parameters inconsistent (MR). : (int and unsigned short): param 2 | GJB 4.7.1.9 |
M | 800 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 810 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 890 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 2 | GJB 4.7.1.9 |
M | 897 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 907 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_parse_connack (998 to 1210 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1006 | goto detected. | GJB 4.5.1.2 |
M | 1018 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1019 | goto detected. | GJB 4.5.1.2 |
M | 1024 | goto detected. | GJB 4.5.1.2 |
M | 1028 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1030 | goto detected. | GJB 4.5.1.2 |
M | 1041 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1041 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1041 | Signed/unsigned conversion without cast. : (int and unsigned int): ) < plen | GJB 4.6.1.9 |
M | 1042 | goto detected. | GJB 4.5.1.2 |
M | 1050 | goto detected. | GJB 4.5.1.2 |
M | 1057 | goto detected. | GJB 4.5.1.2 |
M | 1061 | goto detected. | GJB 4.5.1.2 |
M | 1067 | goto detected. | GJB 4.5.1.2 |
M | 1071 | goto detected. | GJB 4.5.1.2 |
M | 1077 | goto detected. | GJB 4.5.1.2 |
M | 1081 | goto detected. | GJB 4.5.1.2 |
M | 1087 | goto detected. | GJB 4.5.1.2 |
M | 1091 | goto detected. | GJB 4.5.1.2 |
M | 1097 | goto detected. | GJB 4.5.1.2 |
M | 1100 | goto detected. | GJB 4.5.1.2 |
M | 1106 | goto detected. | GJB 4.5.1.2 |
M | 1113 | goto detected. | GJB 4.5.1.2 |
M | 1120 | goto detected. | GJB 4.5.1.2 |
M | 1124 | goto detected. | GJB 4.5.1.2 |
M | 1130 | goto detected. | GJB 4.5.1.2 |
M | 1134 | goto detected. | GJB 4.5.1.2 |
M | 1140 | goto detected. | GJB 4.5.1.2 |
M | 1144 | goto detected. | GJB 4.5.1.2 |
M | 1150 | goto detected. | GJB 4.5.1.2 |
M | 1157 | goto detected. | GJB 4.5.1.2 |
M | 1164 | goto detected. | GJB 4.5.1.2 |
M | 1173 | Signed/unsigned conversion without cast. : (unsigned int and int): user_prop_idx | GJB 4.6.1.9 |
M | 1178 | goto detected. | GJB 4.5.1.2 |
M | 1185 | goto detected. | GJB 4.5.1.2 |
M | 1192 | goto detected. | GJB 4.5.1.2 |
M | 1199 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1202 | goto detected. | GJB 4.5.1.2 |
M | 1206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1017 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1022 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1051 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 2 | GJB 4.7.1.9 |
M | 1058 | Actual and formal parameters inconsistent (MR). : (int and unsigned short): param 2 | GJB 4.7.1.9 |
M | 1068 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1078 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1088 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 2 | GJB 4.7.1.9 |
M | 1107 | Actual and formal parameters inconsistent (MR). : (int and unsigned short): param 2 | GJB 4.7.1.9 |
M | 1121 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1131 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1141 | Actual and formal parameters inconsistent (MR). : (int and unsigned char): param 2 | GJB 4.7.1.9 |
M | 1151 | Actual and formal parameters inconsistent (MR). : (int and unsigned short): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mqtt_validate_message (1233 to 1280 mqtt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1250 | Pointer not checked for null before use. : mpkt | GJB 5.1.15 |
M | 1246 | goto detected. | GJB 4.5.1.2 |
M | 1253 | goto detected. | GJB 4.5.1.2 |
M | 1260 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_destroy (27 to 54 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 33 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 38 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_io_cb (57 to 86 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 57 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 75 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 57 | Static procedure is not explicitly called in code analysed. : mux_pt_io_cb | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_init (93 to 134 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 100 | goto detected. | GJB 4.5.1.2 |
M | 104 | goto detected. | GJB 4.5.1.2 |
M | 113 | goto detected. | GJB 4.5.1.2 |
M | 116 | goto detected. | GJB 4.5.1.2 |
M | 93 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_wake (139 to 165 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 139 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_attach (171 to 187 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 180 | goto detected. | GJB 4.5.1.2 |
M | 171 | Static procedure is not explicitly called in code analysed. : mux_pt_attach | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_get_first_cs (192 to 198 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 192 | Static procedure is not explicitly called in code analysed. : mux_pt_get_first_cs | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_destroy_meth (202 to 208 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Static procedure is not explicitly called in code analysed. : mux_pt_destroy_meth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_detach (213 to 226 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Static procedure is not explicitly called in code analysed. : mux_pt_detach | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_used_streams (229 to 234 mux_pt.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_avail_streams (237 to 240 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 237 | Static procedure is not explicitly called in code analysed. : mux_pt_avail_streams | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_shutr (242 to 254 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 247 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 247 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 251 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 242 | Static procedure is not explicitly called in code analysed. : mux_pt_shutr | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_shutw (256 to 267 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 260 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 256 | Static procedure is not explicitly called in code analysed. : mux_pt_shutw | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_rcv_buf (272 to 291 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 272 | Static procedure is not explicitly called in code analysed. : mux_pt_rcv_buf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_snd_buf (294 to 303 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 300 | Signed/unsigned conversion without cast. : (unsigned int and int): ret | GJB 4.6.1.9 |
M | 294 | Static procedure is not explicitly called in code analysed. : mux_pt_snd_buf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_subscribe (310 to 313 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 310 | Static procedure is not explicitly called in code analysed. : mux_pt_subscribe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_unsubscribe (319 to 322 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Static procedure is not explicitly called in code analysed. : mux_pt_unsubscribe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mux_pt_ctl (344 to 357 mux_pt.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 348 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 351 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 352 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 353 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 356 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 347 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 344 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_ext_launch_all (36 to 123 mworker-prog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 80 | Pointer not checked for null before use. : child | GJB 5.1.15 |
M | 36 | Empty parameter list to procedure/function. : mworker_ext_launch_all | GJB 4.1.1.10 |
M | 50 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 98 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 98 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 115 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 117 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 53 | Procedure contains UR data flow anomalies. : old_child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_program (128 to 326 mworker-prog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 167 | Pointer not checked for null before use. : (ext_child)->command | GJB 5.1.15 |
M | 167 | Pointer not checked for null before use. : (ext_child)->id | GJB 5.1.15 |
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 137 | goto detected. | GJB 4.5.1.2 |
M | 144 | goto detected. | GJB 4.5.1.2 |
M | 147 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 151 | goto detected. | GJB 4.5.1.2 |
M | 170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | goto detected. | GJB 4.5.1.2 |
M | 183 | goto detected. | GJB 4.5.1.2 |
M | 190 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 192 | Expression needs brackets. | GJB 5.1.2 |
M | 192 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 195 | goto detected. | GJB 4.5.1.2 |
M | 198 | Value is not of appropriate type. : (unsigned int and int): * args [ arg_nb + 1 | GJB 4.6.1.8 |
M | 199 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 201 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 206 | goto detected. | GJB 4.5.1.2 |
M | 210 | Value is not of appropriate type. : (unsigned int and int): ext_child -> command [ i | GJB 4.6.1.8 |
M | 210 | Value is not of appropriate type. : (unsigned int and int): ext_child -> command [ i ] = strdup ( args [ i + 1 | GJB 4.6.1.8 |
M | 211 | Value is not of appropriate type. : (unsigned int and int): ! ext_child -> command [ i | GJB 4.6.1.8 |
M | 214 | goto detected. | GJB 4.5.1.2 |
M | 218 | Value is not of appropriate type. : (unsigned int and int): ext_child -> command [ i | GJB 4.6.1.8 |
M | 222 | Expression needs brackets. | GJB 5.1.2 |
M | 226 | goto detected. | GJB 4.5.1.2 |
M | 231 | goto detected. | GJB 4.5.1.2 |
M | 235 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 236 | goto detected. | GJB 4.5.1.2 |
M | 241 | goto detected. | GJB 4.5.1.2 |
M | 245 | Expression needs brackets. | GJB 5.1.2 |
M | 249 | goto detected. | GJB 4.5.1.2 |
M | 253 | goto detected. | GJB 4.5.1.2 |
M | 258 | goto detected. | GJB 4.5.1.2 |
M | 265 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 265 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 270 | Expression needs brackets. | GJB 5.1.2 |
M | 274 | goto detected. | GJB 4.5.1.2 |
M | 278 | goto detected. | GJB 4.5.1.2 |
M | 283 | goto detected. | GJB 4.5.1.2 |
M | 290 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 290 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 296 | goto detected. | GJB 4.5.1.2 |
M | 307 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 309 | Value is not of appropriate type. : (unsigned int and int): ext_child -> command [ i | GJB 4.6.1.8 |
M | 310 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 310 | Value is not of appropriate type. : (unsigned int and int): free ( ext_child -> command [ i | GJB 4.6.1.8 |
M | 311 | Value is not of appropriate type. : (unsigned int and int): ext_child -> command [ i | GJB 4.6.1.8 |
M | 313 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 316 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 320 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 131 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_program_postparser (328 to 348 mworker-prog.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 328 | Empty parameter list to procedure/function. : cfg_program_postparser | GJB 4.1.1.10 |
M | 334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_kill (50 to 59 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 52 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_kill_max_reloads (61 to 70 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 66 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 63 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_current_child (73 to 82 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 75 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_child_nb (88 to 99 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 88 | Empty parameter list to procedure/function. : mworker_child_nb | GJB 4.1.1.10 |
M | 90 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_proc_list_to_env (105 to 125 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 105 | Empty parameter list to procedure/function. : mworker_proc_list_to_env | GJB 4.1.1.10 |
M | 107 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 117 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 117 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 118 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 108 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_env_to_proc_list (130 to 192 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 138 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 147 | Pointer not checked for null before use. : token | GJB 5.1.15 |
M | 181 | Pointer not checked for null before use. : child | GJB 5.1.15 |
M | 156 | Pointer not checked for null before use. : child | GJB 5.1.15 |
M | 130 | Empty parameter list to procedure/function. : mworker_env_to_proc_list | GJB 4.1.1.10 |
M | 132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 134 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 138 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 141 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 145 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 147 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 152 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 162 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 165 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 167 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 169 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 172 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 174 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 179 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 189 | Memory not freed after last reference. : child | GJB 5.1.17 |
M | 143 | Procedure contains UR data flow anomalies. : msg | GJB 4.13.1.4 |
M | 132 | Procedure contains UR data flow anomalies. : s1 | GJB 4.13.1.4 |
M | 141 | Procedure contains UR data flow anomalies. : s2 | GJB 4.13.1.4 |
M | 149 | Procedure contains UR data flow anomalies. : token |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_block_signals (196 to 208 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 196 | Empty parameter list to procedure/function. : mworker_block_signals | GJB 4.1.1.10 |
M | 198 | Procedure contains UR data flow anomalies. : set |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_unblock_signals (210 to 213 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 210 | Empty parameter list to procedure/function. : mworker_unblock_signals | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_catch_sigchld (249 to 330 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 296 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 312 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 319 | goto detected. | GJB 4.5.1.2 |
M | 322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 322 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 328 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 301 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_accept_wrapper (339 to 372 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 341 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 341 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 347 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 349 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 355 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 369 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 341 | Procedure contains UR data flow anomalies. : c |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_pipe_register_per_thread (379 to 394 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 379 | Empty parameter list to procedure/function. : mworker_pipe_register_per_thread | GJB 4.1.1.10 |
M | 379 | Static procedure is not explicitly called in code analysed. : mworker_pipe_register_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_cleanlisteners (403 to 440 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 403 | Empty parameter list to procedure/function. : mworker_cleanlisteners | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_proc (443 to 549 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Pointer not checked for null before use. : uptime | GJB 5.1.15 |
M | 495 | Pointer not checked for null before use. : uptime | GJB 5.1.15 |
M | 517 | Pointer not checked for null before use. : uptime | GJB 5.1.15 |
M | 532 | Pointer not checked for null before use. : uptime | GJB 5.1.15 |
M | 449 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 459 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 459 | free used on string. | GJB 5.1.19 |
M | 477 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 477 | free used on string. | GJB 5.1.19 |
M | 484 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 497 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 497 | free used on string. | GJB 5.1.19 |
M | 501 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 501 | free used on string. | GJB 5.1.19 |
M | 519 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 519 | free used on string. | GJB 5.1.19 |
M | 534 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 534 | free used on string. | GJB 5.1.19 |
M | 443 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_proc | GJB 4.7.1.3 |
M | 549 | Memory not freed after last reference. : uptime | GJB 5.1.17 |
M | 446 | Procedure contains UR data flow anomalies. : child |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_reload (552 to 560 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 552 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 552 | Static procedure is not explicitly called in code analysed. : cli_parse_reload | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_parse_global_max_reloads (563 to 587 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 564 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 564 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 570 | goto detected. | GJB 4.5.1.2 |
M | 572 | Expression needs brackets. | GJB 5.1.2 |
M | 572 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 575 | goto detected. | GJB 4.5.1.2 |
M | 578 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 582 | goto detected. | GJB 4.5.1.2 |
M | 563 | Static procedure is not explicitly called in code analysed. : mworker_parse_global_max_reloads | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_free_child (589 to 616 mworker.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 597 | Pointer not checked for null before use. : (child)->command | GJB 5.1.15 |
M | 595 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 597 | Value is not of appropriate type. : (unsigned int and int): child -> command [ i | GJB 4.6.1.8 |
M | 598 | Value is not of appropriate type. : (unsigned int and int): child -> command [ i | GJB 4.6.1.8 |
M | 599 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 599 | Value is not of appropriate type. : (unsigned int and int): free ( child -> command [ i | GJB 4.6.1.8 |
M | 600 | Value is not of appropriate type. : (unsigned int and int): child -> command [ i | GJB 4.6.1.8 |
M | 604 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 608 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 612 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 615 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
open_named_namespace (24 to 29 namespace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 24 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_default_namespace (33 to 39 namespace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | Empty parameter list to procedure/function. : init_default_namespace | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
netns_sig_stop (43 to 59 namespace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 56 | Pointer not checked for null before use. : (entry)->node.key | GJB 5.1.15 |
M | 55 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 43 | Static procedure is not explicitly called in code analysed. : netns_sig_stop | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
netns_init (61 to 80 namespace.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
netns_store_insert (82 to 98 namespace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 87 | goto detected. | GJB 4.5.1.2 |
M | 89 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 91 | goto detected. | GJB 4.5.1.2 |
M | 94 | Signed/unsigned conversion without cast. : (int and unsigned int): entry -> name_len = strlen | GJB 4.6.1.9 |
M | 97 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
netns_store_lookup (100 to 109 namespace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 100 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_socketat (114 to 129 namespace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_proxy_init (43 to 213 nuster.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 99 | Pointer not checked for null before use. : shmem | GJB 5.1.15 |
M | 44 | Empty parameter list to procedure/function. : _nst_proxy_init | GJB 4.1.1.10 |
M | 54 | goto detected. | GJB 4.5.1.2 |
M | 58 | goto detected. | GJB 4.5.1.2 |
M | 102 | goto detected. | GJB 4.5.1.2 |
M | 113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Value is not of appropriate type. : (unsigned int and int): nuster.proxy [ px1 -> uuid | GJB 4.6.1.8 |
M | 121 | Value is not of appropriate type. : (unsigned int and int): px = nuster.proxy [ px1 -> uuid | GJB 4.6.1.8 |
M | 124 | goto detected. | GJB 4.5.1.2 |
M | 135 | goto detected. | GJB 4.5.1.2 |
M | 139 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 140 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 160 | goto detected. | GJB 4.5.1.2 |
M | 165 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 178 | Value is not of appropriate type. : (int and char): strlen ( rc -> proxy | GJB 4.6.1.8 |
M | 179 | Value is not of appropriate type. : (int and char): strlen ( rc -> name | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nuster_init (215 to 231 nuster.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 216 | Empty parameter list to procedure/function. : nuster_init | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nuster_handle_chroot (233 to 264 nuster.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 234 | Empty parameter list to procedure/function. : nuster_handle_chroot | GJB 4.1.1.10 |
M | 246 | goto detected. | GJB 4.5.1.2 |
M | 255 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_mem_malloc (108 to 111 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 110 | Pointer not checked for null before use. : pool_head_ot_span_context | GJB 5.1.15 |
M | 108 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 108 | Static procedure is not explicitly called in code analysed. : ot_mem_malloc | GJB 4.7.1.3 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | FLT_OT_DBG_ARGS |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_mem_free (129 to 132 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 131 | Pointer not checked for null before use. : pool_head_ot_span_context | GJB 5.1.15 |
M | 129 | Procedure name reused. : FLT_OT_DBG_ARGS | GJB 4.1.1.1 |
M | 129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 129 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | FLT_OT_DBG_ARGS |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_init (151 to 185 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 169 | Signed/unsigned conversion without cast. : (int and unsigned int): ( rc >= sizeof | GJB 4.6.1.9 |
M | 151 | Function has no return statement. : ot_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_close (201 to 213 opentracing.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_init (238 to 275 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 242 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 250 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 238 | Function has no return statement. : ot_span_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_init_va (300 to 326 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 325 | Pointer not checked for null before use. : retptr | GJB 5.1.15 |
M | 314 | Pointer not checked for null before use. : tag_value | GJB 5.1.15 |
M | 300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 313 | Value is not of appropriate type. : (unsigned int and int): tags [ num_tags | GJB 4.6.1.8 |
M | 313 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 313 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 314 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_VSET ( & ( tags [ num_tags | GJB 4.6.1.8 |
M | 300 | Function has no return statement. : ot_span_init_va | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_tag (344 to 357 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 354 | Value is not of appropriate type. : (unsigned int and int): span -> set_tag ( span , tags [ retval | GJB 4.6.1.8 |
M | 354 | Value is not of appropriate type. : (unsigned int and int): span -> set_tag ( span , tags [ retval ].key , & ( tags [ retval | GJB 4.6.1.8 |
M | 344 | Function has no return statement. : ot_span_tag | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_tag_va (376 to 411 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 376 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 376 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 388 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 401 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 376 | Function has no return statement. : ot_span_tag_va | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_log (429 to 443 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 429 | Function has no return statement. : ot_span_log | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_log_va (461 to 487 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 476 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 461 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 474 | Value is not of appropriate type. : (unsigned int and int): log_field [ retval | GJB 4.6.1.8 |
M | 475 | Value is not of appropriate type. : (unsigned int and int): log_field [ retval | GJB 4.6.1.8 |
M | 476 | Value is not of appropriate type. : (unsigned int and int): log_field [ retval | GJB 4.6.1.8 |
M | 461 | Function has no return statement. : ot_span_log_va | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_log_fmt (505 to 526 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 505 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 505 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 505 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 508 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 509 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 518 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 505 | Function has no return statement. : ot_span_log_fmt | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_set_baggage (543 to 567 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 545 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 556 | Signed/unsigned conversion without cast. : (int and unsigned int): retval = i | GJB 4.6.1.9 |
M | 556 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 556 | Signed/unsigned conversion without cast. : (unsigned int and int): retval = i | GJB 4.6.1.9 |
M | 543 | Function has no return statement. : ot_span_set_baggage | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_set_baggage_va (585 to 608 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 597 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 585 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 585 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 585 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 585 | Function has no return statement. : ot_span_set_baggage_va | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_baggage_va (625 to 661 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 646 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 625 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 625 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 629 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 629 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 637 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 646 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 646 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 651 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_DBG ( 3 , "get baggage[%d]: \"%s\" -> \"%s\"" , i , retptr -> key [ i | GJB 4.6.1.8 |
M | 651 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_DBG ( 3 , "get baggage[%d]: \"%s\" -> \"%s\"" , i , retptr -> key [ i ] , retptr -> value [ i | GJB 4.6.1.8 |
M | 625 | Function has no return statement. : ot_span_baggage_va | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_inject_text_map (679 to 709 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 697 | Pointer not checked for null before use. : carrier | GJB 5.1.15 |
M | 689 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 691 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 679 | Function has no return statement. : ot_inject_text_map | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_inject_http_headers (728 to 763 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 749 | Pointer not checked for null before use. : carrier | GJB 5.1.15 |
M | 728 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 738 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 740 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 728 | Function has no return statement. : ot_inject_http_headers | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_inject_binary (781 to 816 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 799 | Pointer not checked for null before use. : carrier | GJB 5.1.15 |
M | 791 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 793 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 781 | Function has no return statement. : ot_inject_binary | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_extract_text_map (834 to 860 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 848 | Pointer not checked for null before use. : carrier | GJB 5.1.15 |
M | 844 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 857 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 834 | Function has no return statement. : ot_extract_text_map | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_extract_http_headers (879 to 908 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 893 | Pointer not checked for null before use. : carrier | GJB 5.1.15 |
M | 879 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 889 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 905 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 879 | Function has no return statement. : ot_extract_http_headers | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_extract_binary (926 to 952 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 940 | Pointer not checked for null before use. : carrier | GJB 5.1.15 |
M | 936 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 949 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 926 | Function has no return statement. : ot_extract_binary | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ot_span_finish (972 to 1026 opentracing.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1002 | Pointer not checked for null before use. : log_value | GJB 5.1.15 |
M | 972 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 972 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 972 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 976 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 993 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1000 | Value is not of appropriate type. : (unsigned int and int): log_field [ i | GJB 4.6.1.8 |
M | 1001 | Value is not of appropriate type. : (unsigned int and int): log_field [ i | GJB 4.6.1.8 |
M | 1002 | Value is not of appropriate type. : (unsigned int and int): log_field [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
control_class_index_from_byte (482 to 496 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 482 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 486 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 488 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 490 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 492 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 495 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
class_str_from_byte (498 to 507 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 498 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 498 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 506 | Value is not of appropriate type. : (unsigned int and int): class_def_tab [ class_idx | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
control_msg_type_str_from_byte (509 to 523 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 509 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 509 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 513 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 515 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 517 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 519 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 522 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 509 | Static procedure is not explicitly called in code analysed. : control_msg_type_str_from_byte | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stkt_msg_type_str_from_byte (525 to 545 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 525 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 525 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 529 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 531 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 533 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 535 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 537 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 539 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 541 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 544 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 525 | Static procedure is not explicitly called in code analysed. : stkt_msg_type_str_from_byte | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
error_msg_type_str_from_byte (547 to 557 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 547 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 547 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 551 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 553 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 556 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 547 | Static procedure is not explicitly called in code analysed. : error_msg_type_str_from_byte | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
intdecode (560 to 582 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 578 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 561 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 564 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 564 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 564 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 565 | Signed/unsigned conversion without cast. : (unsigned char and int): str | GJB 4.6.1.9 |
M | 569 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 569 | Expression needs brackets. | GJB 5.1.2 |
M | 571 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 571 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 578 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 578 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 578 | Expression needs brackets. | GJB 5.1.2 |
M | 578 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 579 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 579 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_handshake_pdu (584 to 681 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 623 | Pointer not checked for null before use. : line_end | GJB 5.1.15 |
M | 640 | Pointer not checked for null before use. : line_end | GJB 5.1.15 |
M | 650 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 660 | Pointer not checked for null before use. : line | GJB 5.1.15 |
M | 609 | Pointer not checked for null before use. : line_end | GJB 5.1.15 |
M | 604 | Value is not of appropriate type. : (int and unsigned int): line_len >= ( int ) | GJB 4.6.1.8 |
M | 604 | Expression needs brackets. | GJB 5.1.2 |
M | 604 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 605 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 610 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 678 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 588 | Procedure contains UR data flow anomalies. : next_offset | GJB 4.13.1.4 |
M | 589 | Procedure contains UR data flow anomalies. : next_token |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_class_def_tab (684 to 690 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 686 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 688 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 689 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 689 | Signed/unsigned conversion without cast. : (unsigned int and int): class_def_array [ i ].count | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
col_info_append_class (695 to 707 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 698 | Value is not of appropriate type. : (unsigned int and int): ! class_def_tab [ class_index | GJB 4.6.1.8 |
M | 703 | Value is not of appropriate type. : (unsigned int and int): class_def_tab [ class_index | GJB 4.6.1.8 |
M | 703 | Value is not of appropriate type. : (unsigned int and int): class_def_tab [ class_index ].col_info_str , class_def_tab [ class_index | GJB 4.6.1.8 |
M | 705 | Value is not of appropriate type. : (unsigned int and int): class_def_tab [ class_index | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
intdecode_from_tvbuff (710 to 729 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 713 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 713 | Procedure contains UR data flow anomalies. : enc_buf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_enc_field_to_happp_tree (731 to 750 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 742 | Pointer not checked for null before use. : offset | GJB 5.1.15 |
M | 734 | Procedure contains UR data flow anomalies. : dec_val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_int_field_to_happp_tree (752 to 767 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 756 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_stkt_define_msg (769 to 817 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 773 | Name redeclared in another C name space (MR). : stkt_key_type | GJB 4.1.1.16 |
M | 774 | Name redeclared in another C name space (MR). : stkt_key_len | GJB 4.1.1.16 |
M | 775 | Name redeclared in another C name space (MR). : stkt_data_types | GJB 4.1.1.16 |
M | 779 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 779 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Expression with more than one function. | GJB 4.7.1.6 |
M | 790 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 795 | Expression with more than one function. | GJB 4.7.1.6 |
M | 772 | Procedure contains UR data flow anomalies. : dec_val | GJB 4.13.1.4 |
M | 775 | Procedure contains UR data flow anomalies. : stkt_data_types | GJB 4.13.1.4 |
M | 774 | Procedure contains UR data flow anomalies. : stkt_key_len | GJB 4.13.1.4 |
M | 773 | Procedure contains UR data flow anomalies. : stkt_key_type |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_stkt_update_msg (819 to 903 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 824 | Name redeclared in another C name space (MR). : stkt_key_type | GJB 4.1.1.16 |
M | 825 | Name redeclared in another C name space (MR). : stkt_key_len | GJB 4.1.1.16 |
M | 899 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 864 | Pointer not checked for null before use. : stkt_key_len | GJB 5.1.15 |
M | 880 | Pointer not checked for null before use. : stkt_key_len | GJB 5.1.15 |
M | 839 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 839 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 840 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 840 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 841 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 841 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 842 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 842 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 845 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 850 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 887 | Signed/unsigned conversion without cast. : (unsigned int and int): data_type | GJB 4.6.1.9 |
M | 888 | Expression needs brackets. | GJB 5.1.2 |
M | 891 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 898 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 899 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 860 | Actual and formal parameters inconsistent (MR). : (happp_cv_data_t and unsigned long): param 6 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_stkt_ack_msg (905 to 915 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 908 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_stk_msg (917 to 936 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 926 | Null case in switch statement. | GJB 4.3.1.8 |
M | 921 | No default case in switch statement. | GJB 4.3.1.4 |
M | 929 | Actual and formal parameters inconsistent (MR). : (guint8 and unsigned char): param 6 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_msg (938 to 970 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 965 | Pointer not checked for null before use. : offset | GJB 5.1.15 |
M | 969 | Pointer not checked for null before use. : offset | GJB 5.1.15 |
M | 943 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 963 | No default case in switch statement. | GJB 4.3.1.4 |
M | 943 | Procedure contains UR data flow anomalies. : enc_buf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_pdu (973 to 1081 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 991 | Pointer not checked for null before use. : item | GJB 5.1.15 |
M | 1001 | Pointer not checked for null before use. : happp_tree | GJB 5.1.15 |
M | 986 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 997 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 997 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 998 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 998 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 999 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 999 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1000 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1000 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1004 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1007 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1011 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1011 | Procedure pointer declared. | GJB 4.4.1.3 |
M | 1011 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1029 | Value is not of appropriate type. : (unsigned int and int): class_def = &class_def_tab [ curr_class | GJB 4.6.1.8 |
M | 1037 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1046 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1049 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1044 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1058 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1076 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 973 | Static procedure is not explicitly called in code analysed. : dissect_happp_pdu | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_happp_msg_len (1083 to 1134 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1098 | goto detected. | GJB 4.5.1.2 |
M | 1102 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1102 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1103 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1103 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1104 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1104 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1106 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1113 | goto detected. | GJB 4.5.1.2 |
M | 1117 | goto detected. | GJB 4.5.1.2 |
M | 1119 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1119 | Expression needs brackets. | GJB 5.1.2 |
M | 1083 | Static procedure is not explicitly called in code analysed. : get_happp_msg_len | GJB 4.7.1.3 |
M | 1089 | Procedure contains UR data flow anomalies. : dec_len | GJB 4.13.1.4 |
M | 1087 | Procedure contains UR data flow anomalies. : next_offset |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_tcp (1136 to 1143 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1137 | Parameter has same name as type or tag. : data |
GJB 4.15.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proto_register_happp (1150 to 1598 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1156 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 1590 | Array has no bounds specified. | GJB 4.1.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dissect_happp_heur_tcp (1600 to 1626 packet-happp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1601 | Parameter has same name as type or tag. : data | GJB 4.15.1.4 |
M | 1608 | Signed/unsigned conversion without cast. : (int and unsigned int): tvb_captured_length ( tvb ) < proto_strlen | GJB 4.6.1.9 |
M | 1608 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1608 | Expression needs brackets. | GJB 5.1.2 |
M | 1614 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1615 | Type conversion without cast. : (int and char): proto_strlen ) != ' ' | GJB 4.6.1.9 |
M | 1600 | Static procedure is not explicitly called in code analysed. : dissect_happp_heur_tcp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_parse_rule_key_cast (24 to 75 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 30 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 34 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 38 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 42 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 46 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 50 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 54 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 58 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 62 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 66 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 70 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 25 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 29 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 33 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 37 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 41 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 45 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 49 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 53 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 56 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 57 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 60 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 64 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 64 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 65 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 69 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 72 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 74 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_parse_rule_key (77 to 122 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 94 | Pointer not checked for null before use. : pk | GJB 5.1.15 |
M | 103 | Pointer not checked for null before use. : pk | GJB 5.1.15 |
M | 93 | Pointer not checked for null before use. : pk | GJB 5.1.15 |
M | 78 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 80 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 81 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 90 | goto detected. | GJB 4.5.1.2 |
M | 93 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 94 | Value is not of appropriate type. : (unsigned int and int): pk [ i ++ | GJB 4.6.1.8 |
M | 99 | goto detected. | GJB 4.5.1.2 |
M | 102 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 103 | Value is not of appropriate type. : (unsigned int and int): pk [ i | GJB 4.6.1.8 |
M | 105 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 105 | free used on string. | GJB 5.1.19 |
M | 107 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 112 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 113 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 113 | Value is not of appropriate type. : (unsigned int and int): free ( pk [ i | GJB 4.6.1.8 |
M | 116 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 119 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 119 | free used on string. | GJB 5.1.19 |
M | 122 | Memory not freed after last reference. : i |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_parse_rule_code (124 to 156 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 132 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 139 | Pointer not checked for null before use. : cc | GJB 5.1.15 |
M | 125 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 132 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 136 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 137 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 152 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 152 | free used on string. | GJB 5.1.19 |
M | 150 | Memory not freed after last reference. : cc |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_parse_size (162 to 232 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 169 | Pointer not checked for null before use. : text | GJB 5.1.15 |
M | 162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 167 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 169 | Type conversion without cast. : (unsigned int and char): i = *text | GJB 4.6.1.9 |
M | 171 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Expression needs brackets. | GJB 5.1.2 |
M | 176 | goto detected. | GJB 4.5.1.2 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | goto detected. | GJB 4.5.1.2 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Null case in switch statement. | GJB 4.3.1.8 |
M | 195 | Expression needs brackets. | GJB 5.1.2 |
M | 196 | goto detected. | GJB 4.5.1.2 |
M | 203 | Null case in switch statement. | GJB 4.3.1.8 |
M | 205 | Expression needs brackets. | GJB 5.1.2 |
M | 206 | goto detected. | GJB 4.5.1.2 |
M | 214 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 216 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 216 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_parse_time (242 to 324 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 258 | Pointer not checked for null before use. : text | GJB 5.1.15 |
M | 243 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 248 | Expression needs brackets. | GJB 5.1.2 |
M | 252 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 253 | Signed/unsigned conversion without cast. : (unsigned long and int): value | GJB 4.6.1.9 |
M | 255 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 256 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 258 | Type conversion without cast. : (unsigned int and char): j = *text | GJB 4.6.1.9 |
M | 260 | Signed/unsigned conversion without cast. : (unsigned int and int): j | GJB 4.6.1.9 |
M | 283 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 284 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 291 | Use of sizeof on a type. | GJB 5.1.8 |
M | 291 | Signed/unsigned conversion without cast. : (int and unsigned int): text_len >= sizeof | GJB 4.6.1.9 |
M | 295 | Signed/unsigned conversion without cast. : (unsigned long and int): omult % idiv | GJB 4.6.1.9 |
M | 295 | Expression needs brackets. | GJB 5.1.2 |
M | 296 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 300 | Signed/unsigned conversion without cast. : (unsigned long and int): idiv % omult | GJB 4.6.1.9 |
M | 300 | Expression needs brackets. | GJB 5.1.2 |
M | 301 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 305 | Signed/unsigned conversion without cast. : (unsigned long and int): imult % odiv | GJB 4.6.1.9 |
M | 305 | Expression needs brackets. | GJB 5.1.2 |
M | 306 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 310 | Signed/unsigned conversion without cast. : (unsigned long and int): odiv % imult | GJB 4.6.1.9 |
M | 310 | Expression needs brackets. | GJB 5.1.2 |
M | 311 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 315 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 315 | Expression needs brackets. | GJB 5.1.2 |
M | 315 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 317 | Signed/unsigned conversion without cast. : (unsigned long and int): result | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nuster_parse_global_manager (326 to 415 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 336 | goto detected. | GJB 4.5.1.2 |
M | 339 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 339 | Expression needs brackets. | GJB 5.1.2 |
M | 339 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 347 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 349 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 364 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 364 | Expression needs brackets. | GJB 5.1.2 |
M | 364 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) != 0 | GJB 4.6.1.8 |
M | 366 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 369 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 369 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 375 | goto detected. | GJB 4.5.1.2 |
M | 378 | Value is not of appropriate type. : (unsigned int and int): global.nuster.manager.purge_method.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 379 | Value is not of appropriate type. : (unsigned int and int): global.nuster.manager.purge_method.len = strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 386 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 389 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 389 | Expression needs brackets. | GJB 5.1.2 |
M | 389 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 395 | goto detected. | GJB 4.5.1.2 |
M | 398 | Value is not of appropriate type. : (unsigned int and int): global.nuster.manager.uri.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 399 | Value is not of appropriate type. : (unsigned int and int): global.nuster.manager.uri.len = strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 406 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: [%s] Unrecognized '%s'.\n" , file , line , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 410 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nuster_parse_global_cache (417 to 712 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 467 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 494 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 418 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 418 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 427 | goto detected. | GJB 4.5.1.2 |
M | 430 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 430 | Expression needs brackets. | GJB 5.1.2 |
M | 430 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 435 | goto detected. | GJB 4.5.1.2 |
M | 438 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 440 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 447 | goto detected. | GJB 4.5.1.2 |
M | 452 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 452 | Expression needs brackets. | GJB 5.1.2 |
M | 452 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) != 0 | GJB 4.6.1.8 |
M | 454 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 457 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 457 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 462 | goto detected. | GJB 4.5.1.2 |
M | 464 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 472 | goto detected. | GJB 4.5.1.2 |
M | 480 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 483 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 483 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 488 | goto detected. | GJB 4.5.1.2 |
M | 491 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 499 | goto detected. | GJB 4.5.1.2 |
M | 507 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 510 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 510 | Expression needs brackets. | GJB 5.1.2 |
M | 510 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 516 | goto detected. | GJB 4.5.1.2 |
M | 519 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.root.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 520 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.root.len = strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 527 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 530 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 530 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 536 | goto detected. | GJB 4.5.1.2 |
M | 539 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.dict_cleaner = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 550 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 553 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 553 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 559 | goto detected. | GJB 4.5.1.2 |
M | 562 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.data_cleaner = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 573 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 576 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 576 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 582 | goto detected. | GJB 4.5.1.2 |
M | 585 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.disk_cleaner = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 596 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 599 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 599 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 605 | goto detected. | GJB 4.5.1.2 |
M | 608 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.disk_loader = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 619 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 622 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 622 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 628 | goto detected. | GJB 4.5.1.2 |
M | 631 | Value is not of appropriate type. : (unsigned int and int): global.nuster.cache.disk_saver = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 642 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 645 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 645 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 651 | goto detected. | GJB 4.5.1.2 |
M | 654 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 656 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 664 | goto detected. | GJB 4.5.1.2 |
M | 672 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 675 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 675 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 681 | goto detected. | GJB 4.5.1.2 |
M | 684 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 686 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 694 | goto detected. | GJB 4.5.1.2 |
M | 703 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: [%s] Unrecognized '%s'.\n" , file , line , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 707 | goto detected. | GJB 4.5.1.2 |
M | 464 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 2 | GJB 4.7.1.9 |
M | 491 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nuster_parse_global_nosql (714 to 1008 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 764 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 790 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 715 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 715 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 724 | goto detected. | GJB 4.5.1.2 |
M | 727 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 727 | Expression needs brackets. | GJB 5.1.2 |
M | 727 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 732 | goto detected. | GJB 4.5.1.2 |
M | 735 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 737 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 744 | goto detected. | GJB 4.5.1.2 |
M | 749 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 749 | Expression needs brackets. | GJB 5.1.2 |
M | 749 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) != 0 | GJB 4.6.1.8 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 754 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 754 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 759 | goto detected. | GJB 4.5.1.2 |
M | 762 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 769 | goto detected. | GJB 4.5.1.2 |
M | 777 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 780 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 780 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 785 | goto detected. | GJB 4.5.1.2 |
M | 788 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 795 | goto detected. | GJB 4.5.1.2 |
M | 803 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 806 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 806 | Expression needs brackets. | GJB 5.1.2 |
M | 806 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 812 | goto detected. | GJB 4.5.1.2 |
M | 815 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.root.ptr = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 816 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.root.len = strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 823 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 826 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 826 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 832 | goto detected. | GJB 4.5.1.2 |
M | 835 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.dict_cleaner = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 846 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 849 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 849 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 855 | goto detected. | GJB 4.5.1.2 |
M | 858 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.data_cleaner = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 869 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 872 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 872 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 878 | goto detected. | GJB 4.5.1.2 |
M | 881 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.disk_cleaner = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 892 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 895 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 895 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 901 | goto detected. | GJB 4.5.1.2 |
M | 904 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.disk_loader = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 915 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 918 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 918 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 924 | goto detected. | GJB 4.5.1.2 |
M | 927 | Value is not of appropriate type. : (unsigned int and int): global.nuster.nosql.disk_saver = atoi ( args [ cur_arg | GJB 4.6.1.8 |
M | 938 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 941 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 941 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 947 | goto detected. | GJB 4.5.1.2 |
M | 950 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 952 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 960 | goto detected. | GJB 4.5.1.2 |
M | 968 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 971 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 971 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 977 | goto detected. | GJB 4.5.1.2 |
M | 980 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 982 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 990 | goto detected. | GJB 4.5.1.2 |
M | 999 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: [%s] Unrecognized '%s'.\n" , file , line , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 1003 | goto detected. | GJB 4.5.1.2 |
M | 762 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 2 | GJB 4.7.1.9 |
M | 788 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_parse_proxy_cache (1010 to 1067 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1040 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 1058 | Pointer not checked for null before use. : fconf | GJB 5.1.15 |
M | 1011 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1012 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1012 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1028 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1029 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1031 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1043 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1045 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1047 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1067 | Memory not freed after last reference. : fconf | GJB 5.1.17 |
M | 1067 | Memory not freed after last reference. : conf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_parse_proxy_nosql (1069 to 1126 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1099 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 1117 | Pointer not checked for null before use. : fconf | GJB 5.1.15 |
M | 1097 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 1070 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1071 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1071 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1087 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1088 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1090 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1102 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1104 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1106 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1126 | Memory not freed after last reference. : fconf | GJB 5.1.17 |
M | 1126 | Memory not freed after last reference. : conf |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_parse_proxy_rule (1128 to 1678 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1210 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1399 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 1475 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1515 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1553 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1599 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1167 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1189 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1591 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 1602 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 1129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1130 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1130 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1135 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1136 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1139 | Array initialisation has insufficient items. : extend[*]; given=1, expected=4 | GJB 5.1.20 |
M | 1139 | Value is not of appropriate type. : (unsigned char and signed char): { - 1 | GJB 4.6.1.8 |
M | 1143 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1152 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1152 | Expression needs brackets. | GJB 5.1.2 |
M | 1152 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 1158 | Value is not of appropriate type. : (unsigned int and int): name = args [ cur_arg | GJB 4.6.1.8 |
M | 1161 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1161 | Expression needs brackets. | GJB 5.1.2 |
M | 1161 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) != 0 | GJB 4.6.1.8 |
M | 1161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1161 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1162 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1164 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1169 | goto detected. | GJB 4.5.1.2 |
M | 1174 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1174 | Expression needs brackets. | GJB 5.1.2 |
M | 1174 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 1177 | goto detected. | GJB 4.5.1.2 |
M | 1180 | Value is not of appropriate type. : (unsigned int and int): key = args [ cur_arg | GJB 4.6.1.8 |
M | 1186 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1191 | goto detected. | GJB 4.5.1.2 |
M | 1196 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1196 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1200 | goto detected. | GJB 4.5.1.2 |
M | 1207 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1210 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1210 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 1210 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1215 | goto detected. | GJB 4.5.1.2 |
M | 1220 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1228 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1233 | goto detected. | GJB 4.5.1.2 |
M | 1238 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 1238 | Expression needs brackets. | GJB 5.1.2 |
M | 1238 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 1241 | goto detected. | GJB 4.5.1.2 |
M | 1244 | Value is not of appropriate type. : (unsigned int and int): code = args [ cur_arg | GJB 4.6.1.8 |
M | 1250 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1255 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1260 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1260 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1263 | goto detected. | GJB 4.5.1.2 |
M | 1266 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1268 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1273 | goto detected. | GJB 4.5.1.2 |
M | 1281 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1286 | goto detected. | GJB 4.5.1.2 |
M | 1291 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1291 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1294 | goto detected. | GJB 4.5.1.2 |
M | 1297 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1299 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1301 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1306 | goto detected. | GJB 4.5.1.2 |
M | 1314 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1319 | goto detected. | GJB 4.5.1.2 |
M | 1324 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1324 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1327 | goto detected. | GJB 4.5.1.2 |
M | 1330 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1332 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1337 | goto detected. | GJB 4.5.1.2 |
M | 1345 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1350 | goto detected. | GJB 4.5.1.2 |
M | 1354 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1354 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1358 | goto detected. | GJB 4.5.1.2 |
M | 1361 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1363 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1369 | goto detected. | GJB 4.5.1.2 |
M | 1376 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1381 | goto detected. | GJB 4.5.1.2 |
M | 1386 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1386 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1390 | goto detected. | GJB 4.5.1.2 |
M | 1393 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1394 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1395 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1396 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1396 | Signed/unsigned conversion without cast. : (unsigned char and int): extend [ 0 ] = extend [ 1 ] = extend [ 2 ] = extend [ 3 ] | GJB 4.6.1.9 |
M | 1398 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1398 | Value is not of appropriate type. : (unsigned int and int): strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 1399 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1400 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1401 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1401 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1407 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1407 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1411 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1414 | Expression needs brackets. | GJB 5.1.2 |
M | 1414 | Value is not of appropriate type. : (unsigned int and int): extend [ i ++ % 4 | GJB 4.6.1.8 |
M | 1414 | Signed/unsigned conversion without cast. : (unsigned char and int): extend [ i ++ % 4 ] = t | GJB 4.6.1.9 |
M | 1420 | goto detected. | GJB 4.5.1.2 |
M | 1430 | goto detected. | GJB 4.5.1.2 |
M | 1433 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1433 | Expression needs brackets. | GJB 5.1.2 |
M | 1437 | goto detected. | GJB 4.5.1.2 |
M | 1440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1443 | goto detected. | GJB 4.5.1.2 |
M | 1453 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1458 | goto detected. | GJB 4.5.1.2 |
M | 1463 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1463 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1467 | goto detected. | GJB 4.5.1.2 |
M | 1470 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1472 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1475 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1475 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 1475 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1480 | goto detected. | GJB 4.5.1.2 |
M | 1485 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1493 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1498 | goto detected. | GJB 4.5.1.2 |
M | 1503 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1503 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1507 | goto detected. | GJB 4.5.1.2 |
M | 1510 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1512 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1515 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1515 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 1515 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1520 | goto detected. | GJB 4.5.1.2 |
M | 1525 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1533 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1538 | goto detected. | GJB 4.5.1.2 |
M | 1543 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 1543 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg ] == 0 | GJB 4.6.1.8 |
M | 1547 | goto detected. | GJB 4.5.1.2 |
M | 1550 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1553 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1553 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 1553 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1558 | goto detected. | GJB 4.5.1.2 |
M | 1563 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1571 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "[%s.%s]: Unrecognized '%s'." , args [ 1 ] , name , args [ cur_arg | GJB 4.6.1.8 |
M | 1573 | goto detected. | GJB 4.5.1.2 |
M | 1576 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1576 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1576 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1576 | Value is not of appropriate type. : (unsigned int and int): ! strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 1578 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 1578 | Value is not of appropriate type. : (char and signed char): * args [ cur_arg + 1 ] != 0 | GJB 4.6.1.8 |
M | 1579 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1581 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1581 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1581 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1581 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1585 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1585 | free used on string. | GJB 5.1.19 |
M | 1587 | goto detected. | GJB 4.5.1.2 |
M | 1593 | goto detected. | GJB 4.5.1.2 |
M | 1597 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1608 | goto detected. | GJB 4.5.1.2 |
M | 1615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1617 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1617 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1621 | goto detected. | GJB 4.5.1.2 |
M | 1625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1628 | goto detected. | GJB 4.5.1.2 |
M | 1631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1656 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1656 | Signed/unsigned conversion without cast. : (unsigned char and int): rule -> extend [ 0 ] = rule -> extend [ 1 ] | GJB 4.6.1.9 |
M | 1657 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1657 | Signed/unsigned conversion without cast. : (unsigned char and int): rule -> extend [ 2 ] = rule -> extend [ 3 ] | GJB 4.6.1.9 |
M | 1210 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 1475 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 1515 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 1553 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 1603 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1678 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 1590 | Memory not freed after last reference. : errmsg |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_parse_proxy (1680 to 1707 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1681 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1682 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__nst_parser_init (1713 to 1715 parser.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1713 | Static procedure is not explicitly called in code analysed. : __nst_parser_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
is_delimiter (162 to 166 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 162 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 164 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 164 | Value is not of appropriate type. : (unsigned char and unsigned int): mask ^= ( c | GJB 4.6.1.8 |
M | 165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 165 | Expression needs brackets. | GJB 5.1.2 |
M | 162 | Static procedure is not explicitly called in code analysed. : is_delimiter | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_4delim (168 to 171 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 170 | Shifting value too far. | GJB 4.6.1.4 |
M | 170 | Expression needs brackets. | GJB 5.1.2 |
M | 168 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_nothing (190 to 193 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 190 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 190 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_str (196 to 202 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 196 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 196 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 199 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 199 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 200 | Signed/unsigned conversion without cast. : (int and unsigned int): pattern -> len = strlen | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_bin (205 to 214 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 211 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_reg (217 to 221 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 219 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 219 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_int (238 to 301 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 240 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 246 | goto detected. | GJB 4.5.1.2 |
M | 249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 249 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 250 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 266 | Value is not of appropriate type. : (signed char and char): strlen ( ptr + 1 | GJB 4.6.1.8 |
M | 267 | goto detected. | GJB 4.5.1.2 |
M | 275 | Expression needs brackets. | GJB 5.1.2 |
M | 277 | goto detected. | GJB 4.5.1.2 |
M | 286 | goto detected. | GJB 4.5.1.2 |
M | 288 | Value is not of appropriate type. : (signed char and char): strlen ( ptr + 1 | GJB 4.6.1.8 |
M | 289 | goto detected. | GJB 4.5.1.2 |
M | 292 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_dotted_ver (323 to 383 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 323 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 323 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 325 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 330 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 330 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 330 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 347 | Value is not of appropriate type. : (signed char and char): strlen ( ptr + 1 | GJB 4.6.1.8 |
M | 357 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 372 | Value is not of appropriate type. : (signed char and char): strlen ( ptr + 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_parse_ip (390 to 405 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 390 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_nothing (418 to 431 pattern.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_str (435 to 527 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 478 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 524 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 497 | Pointer not checked for null before use. : (smp)->data.u.str.area | GJB 5.1.15 |
M | 447 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 474 | Type conversion without cast. : (int and char): smp -> data.u.str.area [ smp -> data.u.str.data ] = prev | GJB 4.6.1.9 |
M | 487 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 495 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 517 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 517 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 526 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_bin (530 to 567 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 564 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 538 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 566 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 532 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_regm (573 to 594 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 593 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 575 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_reg (599 to 633 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 630 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 607 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 632 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 601 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_beg (636 to 722 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 673 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 719 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 692 | Pointer not checked for null before use. : (smp)->data.u.str.area | GJB 5.1.15 |
M | 648 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 669 | Type conversion without cast. : (int and char): smp -> data.u.str.area [ smp -> data.u.str.data ] = prev | GJB 4.6.1.9 |
M | 682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 690 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 710 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 711 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 711 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 721 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 641 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_end (725 to 766 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 763 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 734 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 754 | Expression needs brackets. | GJB 5.1.2 |
M | 755 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 755 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 755 | Expression needs brackets. | GJB 5.1.2 |
M | 765 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 728 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_sub (771 to 828 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 825 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 775 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 775 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 782 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 801 | Expression needs brackets. | GJB 5.1.2 |
M | 805 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 809 | goto detected. | GJB 4.5.1.2 |
M | 818 | goto detected. | GJB 4.5.1.2 |
M | 827 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 776 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
match_word (836 to 883 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 846 | Pointer not checked for null before use. : ps | GJB 5.1.15 |
M | 851 | Pointer not checked for null before use. : ps | GJB 5.1.15 |
M | 839 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 839 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 840 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 846 | Number of parameters does not match. : pat_prune_gen; 2 actual, 1 formal | GJB 4.7.1.1 |
M | 851 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 851 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 851 | Value is not of appropriate type. : (unsigned int and int): ps [ pl - 1 | GJB 4.6.1.8 |
M | 851 | Number of parameters does not match. : pat_prune_gen; 2 actual, 1 formal | GJB 4.7.1.1 |
M | 852 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 859 | Expression needs brackets. | GJB 5.1.2 |
M | 861 | Number of parameters does not match. : pat_prune_gen; 2 actual, 1 formal | GJB 4.7.1.1 |
M | 870 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 870 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 872 | Value is not of appropriate type. : (unsigned int and int): c [ pl | GJB 4.6.1.8 |
M | 872 | Number of parameters does not match. : pat_prune_gen; 2 actual, 1 formal | GJB 4.7.1.1 |
M | 877 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 877 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 877 | Value is not of appropriate type. : (unsigned int and int): c [ pl | GJB 4.6.1.8 |
M | 877 | Number of parameters does not match. : pat_prune_gen; 2 actual, 1 formal | GJB 4.7.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_dir (889 to 904 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 900 | Number of parameters does not match. : pat_prune_gen; 4 actual, 1 formal | GJB 4.7.1.1 |
M | 900 | Actual and formal parameters inconsistent (MR). : (void and unsigned int): param 4 | GJB 4.7.1.9 |
M | 891 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_dom (910 to 925 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 921 | Number of parameters does not match. : pat_prune_gen; 4 actual, 1 formal | GJB 4.7.1.1 |
M | 921 | Actual and formal parameters inconsistent (MR). : (void and unsigned int): param 4 | GJB 4.7.1.9 |
M | 912 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_int (928 to 944 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 939 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 939 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 930 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_len (947 to 963 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 959 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 959 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 949 | Procedure contains UR data flow anomalies. : lst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_match_ip (965 to 1128 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 984 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 1010 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 1034 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 1071 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 1055 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1056 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1057 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1058 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1062 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1113 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 972 | Procedure contains UR data flow anomalies. : lst | GJB 4.13.1.4 |
M | 967 | Procedure contains UR data flow anomalies. : v4 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_unlink_from_head (1133 to 1142 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1133 | Parameter has same name as type or tag. : list | GJB 4.15.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_pattern_tree (1144 to 1159 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1154 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 1156 | Pointer not checked for null before use. : (elt)->data | GJB 5.1.15 |
M | 1155 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1156 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_prune_gen (1161 to 1180 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1173 | Pointer not checked for null before use. : (pat)->pat.data | GJB 5.1.15 |
M | 1172 | Pointer not checked for null before use. : (pat)->pat.ptr.ptr | GJB 5.1.15 |
M | 1170 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1171 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1173 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_list_val (1188 to 1211 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1193 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1211 | Memory not freed after last reference. : patl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_list_ptr (1213 to 1243 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1235 | Pointer not checked for null before use. : (patl)->pat.ptr.ptr | GJB 5.1.15 |
M | 1213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1218 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1226 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1228 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1243 | Memory not freed after last reference. : patl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_list_str (1245 to 1276 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1268 | Pointer not checked for null before use. : (patl)->pat.ptr.str | GJB 5.1.15 |
M | 1245 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1250 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1258 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1260 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1276 | Memory not freed after last reference. : patl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_list_reg_cap (1278 to 1309 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1278 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1283 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1294 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1296 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1309 | Memory not freed after last reference. : patl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_list_reg (1311 to 1314 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1311 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_list_regm (1316 to 1319 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1316 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_tree_ip (1321 to 1393 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1334 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1334 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 1334 | Expression needs brackets. | GJB 5.1.2 |
M | 1335 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1335 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 1338 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1338 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1368 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1368 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1390 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1393 | Memory not freed after last reference. : node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_tree_str (1395 to 1436 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1395 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1402 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "internal error: string expected, but the type is '%s'" , smp_to_type [ pat -> type | GJB 4.6.1.8 |
M | 1412 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 1412 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1415 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1415 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1436 | Memory not freed after last reference. : node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_idx_tree_pfx (1438 to 1480 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1438 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1445 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "internal error: string expected, but the type is '%s'" , smp_to_type [ pat -> type | GJB 4.6.1.8 |
M | 1455 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 1458 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1458 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1480 | Memory not freed after last reference. : node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_delete_gen (1485 to 1522 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1495 | Pointer not checked for null before use. : tree | GJB 5.1.15 |
M | 1499 | Pointer not checked for null before use. : (tree)->data | GJB 5.1.15 |
M | 1506 | Pointer not checked for null before use. : pat | GJB 5.1.15 |
M | 1515 | Pointer not checked for null before use. : (pat)->pat.data | GJB 5.1.15 |
M | 1514 | Pointer not checked for null before use. : (pat)->pat.ptr.ptr | GJB 5.1.15 |
M | 1498 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1499 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1512 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1513 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1515 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_lookup (1563 to 1571 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1568 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1569 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_lookupid (1576 to 1584 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1582 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_delete_by_ptr (1590 to 1620 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1617 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1618 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1619 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1593 | Procedure contains UR data flow anomalies. : bref | GJB 4.13.1.4 |
M | 1592 | Procedure contains UR data flow anomalies. : expr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_delete_by_id (1626 to 1638 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1628 | Procedure contains UR data flow anomalies. : elt |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_delete (1644 to 1658 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1644 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_find_elt (1664 to 1674 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1664 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1666 | Procedure contains UR data flow anomalies. : elt |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_set_elt (1681 to 1726 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1686 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1686 | Name reused in inner scope. : sample | GJB 4.15.1.2,4.15.1.5 |
M | 1715 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1715 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1721 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1721 | free used on string. | GJB 5.1.19 |
M | 1722 | Attempt to read from freed memory. : elt | GJB 5.1.16 |
M | 1687 | Procedure contains UR data flow anomalies. : test |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_set_by_id (1732 to 1747 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1732 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1732 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1734 | Procedure contains UR data flow anomalies. : elt |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_set (1752 to 1789 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1776 | Pointer not checked for null before use. : merr | GJB 5.1.15 |
M | 1785 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1769 | Pointer not checked for null before use. : merr | GJB 5.1.15 |
M | 1752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1756 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1757 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1761 | Modification of string literal. : merr | GJB 5.1.19 |
M | 1775 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1775 | free used on string. | GJB 5.1.19 |
M | 1776 | Modification of string literal. : merr | GJB 5.1.19 |
M | 1776 | Attempt to read from freed memory. : merr | GJB 5.1.16 |
M | 1789 | Memory not freed after last reference. : merr |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_new (1797 to 1830 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1816 | Pointer not checked for null before use. : (ref)->display | GJB 5.1.15 |
M | 1797 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1797 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1801 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1808 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1815 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1815 | free used on string. | GJB 5.1.19 |
M | 1816 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1820 | Signed/unsigned conversion without cast. : (int and unsigned int): ref -> flags = flags | GJB 4.6.1.9 |
M | 1829 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_newid (1839 to 1866 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1839 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1843 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1850 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1856 | Signed/unsigned conversion without cast. : (int and unsigned int): ref -> flags = flags | GJB 4.6.1.9 |
M | 1865 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_append (1873 to 1904 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1902 | Pointer not checked for null before use. : (elt)->pattern | GJB 5.1.15 |
M | 1873 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1873 | Parameter has same name as type or tag. : pattern | GJB 4.15.1.4 |
M | 1873 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1873 | Parameter has same name as type or tag. : sample | GJB 4.15.1.4 |
M | 1877 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1879 | goto detected. | GJB 4.5.1.2 |
M | 1886 | goto detected. | GJB 4.5.1.2 |
M | 1891 | goto detected. | GJB 4.5.1.2 |
M | 1898 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1900 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1901 | free used on string. | GJB 5.1.19 |
M | 1901 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_push (1911 to 1956 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1937 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 1912 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1918 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1920 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1927 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1936 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1942 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1950 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1956 | Memory not freed after last reference. : data |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_commit (1968 to 1979 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1968 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1970 | Procedure contains UR data flow anomalies. : expr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_load (1990 to 2005 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1991 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1991 | Parameter has same name as type or tag. : pattern | GJB 4.15.1.4 |
M | 1991 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1991 | Parameter has same name as type or tag. : sample | GJB 4.15.1.4 |
M | 1992 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1998 | Signed/unsigned conversion without cast. : (int and unsigned int): elt -> gen_id = gen | GJB 4.6.1.9 |
M | 2004 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2004 | Attempt to read from freed memory. : elt | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_add (2013 to 2018 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2014 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2014 | Parameter has same name as type or tag. : pattern | GJB 4.15.1.4 |
M | 2014 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2014 | Parameter has same name as type or tag. : sample | GJB 4.15.1.4 |
M | 2015 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2017 | Actual and formal parameters inconsistent (MR). : (pat_ref and unsigned int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_purge_older (2028 to 2082 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2068 | Pointer not checked for null before use. : (elt)->pattern | GJB 5.1.15 |
M | 2069 | Pointer not checked for null before use. : (elt)->sample | GJB 5.1.15 |
M | 2043 | Value is not of appropriate type. : (int and unsigned int): ( int ) ( elt -> gen_id - oldest | GJB 4.6.1.8 |
M | 2046 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2046 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2046 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2046 | Expression needs brackets. | GJB 5.1.2 |
M | 2067 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2068 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2069 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2031 | Procedure contains UR data flow anomalies. : bref | GJB 4.13.1.4 |
M | 2032 | Procedure contains UR data flow anomalies. : expr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_reload (2090 to 2172 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2113 | Pointer not checked for null before use. : (elt)->pattern | GJB 5.1.15 |
M | 2114 | Pointer not checked for null before use. : (elt)->sample | GJB 5.1.15 |
M | 2127 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 2147 | Pointer not checked for null before use. : (elt)->pattern | GJB 5.1.15 |
M | 2158 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2150 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 2146 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 2161 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 2112 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2113 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2114 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2123 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2127 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2129 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 2137 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2137 | free used on string. | GJB 5.1.19 |
M | 2138 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2145 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2152 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2152 | free used on string. | GJB 5.1.19 |
M | 2153 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2160 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2160 | free used on string. | GJB 5.1.19 |
M | 2161 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2147 | Attempt to read from freed memory. : elt | GJB 5.1.16 |
M | 2158 | Attempt to read from freed memory. : err | GJB 5.1.16 |
M | 2150 | Attempt to read from freed memory. : err | GJB 5.1.16 |
M | 2164 | Memory not freed after last reference. : data | GJB 5.1.17 |
M | 2146 | Attempt to read from freed memory. : data | GJB 5.1.16 |
M | 2161 | Attempt to read from freed memory. : data | GJB 5.1.16 |
M | 2094 | Procedure contains UR data flow anomalies. : bref |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_prune (2180 to 2184 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2182 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2183 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_lookup_expr (2189 to 2197 pattern.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_new_expr (2207 to 2287 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2276 | Pointer not checked for null before use. : list | GJB 5.1.15 |
M | 2208 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2217 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2245 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2286 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2287 | Memory not freed after last reference. : list |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_read_from_file_smp (2311 to 2391 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2374 | Pointer not checked for null before use. : key_beg | GJB 5.1.15 |
M | 2370 | Pointer not checked for null before use. : key_end | GJB 5.1.15 |
M | 2311 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2311 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2314 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2317 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2318 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2320 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2342 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2345 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2345 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2345 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2351 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2356 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2356 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2357 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2361 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2361 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2362 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2366 | Array bound exceeded. : value_end[*]; accessed=-1 | GJB 4.6.1.2 |
M | 2366 | Value is not of appropriate type. : (unsigned int and signed char): value_end [ - 1 | GJB 4.6.1.8 |
M | 2366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2366 | Array bound exceeded. : value_end[*]; accessed=-1 | GJB 4.6.1.2 |
M | 2366 | Value is not of appropriate type. : (unsigned int and signed char): value_end [ - 1 | GJB 4.6.1.8 |
M | 2367 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2376 | goto detected. | GJB 4.5.1.2 |
M | 2382 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2383 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pat_ref_read_from_file (2396 to 2452 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2436 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2396 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2396 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2399 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2399 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2400 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2424 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2428 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2428 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2429 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2438 | goto detected. | GJB 4.5.1.2 |
M | 2444 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2445 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_read_from_file (2454 to 2560 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2456 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2456 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2518 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2526 | Signed/unsigned conversion without cast. : (int and unsigned int): ref -> flags |= refflags | GJB 4.6.1.9 |
M | 2472 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_exec_match (2568 to 2633 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2595 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2616 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2618 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2570 | Procedure contains UR data flow anomalies. : list |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_prune (2636 to 2651 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2647 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2649 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_find_smp (2657 to 2684 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2667 | Pointer not checked for null before use. : elt | GJB 5.1.15 |
M | 2675 | Pointer not checked for null before use. : elt |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cmp_pat_ref (2689 to 2699 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2691 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 2692 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2697 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2689 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_finalize_config (2704 to 2766 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2744 | Pointer not checked for null before use. : arr | GJB 5.1.15 |
M | 2754 | Pointer not checked for null before use. : arr | GJB 5.1.15 |
M | 2758 | Pointer not checked for null before use. : arr | GJB 5.1.15 |
M | 2709 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2709 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2722 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 2726 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2732 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 2749 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2757 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 2758 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2764 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2766 | Memory not freed after last reference. : arr | GJB 5.1.17 |
M | 2710 | Procedure contains UR data flow anomalies. : ref |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_per_thread_lru_alloc (2768 to 2774 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2768 | Empty parameter list to procedure/function. : pattern_per_thread_lru_alloc | GJB 4.1.1.10 |
M | 2768 | Static procedure is not explicitly called in code analysed. : pattern_per_thread_lru_alloc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pattern_per_thread_lru_free (2776 to 2779 pattern.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2778 | Pointer not checked for null before use. : pat_lru_tree | GJB 5.1.15 |
M | 2776 | Empty parameter list to procedure/function. : pattern_per_thread_lru_free | GJB 4.1.1.10 |
M | 2776 | Static procedure is not explicitly called in code analysed. : pattern_per_thread_lru_free | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_wait_end (35 to 45 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 36 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 36 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 35 | Static procedure is not explicitly called in code analysed. : smp_fetch_wait_end | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_len (48 to 70 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 62 | Pointer not checked for null before use. : check | GJB 5.1.15 |
M | 49 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 49 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 62 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 62 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 48 | Static procedure is not explicitly called in code analysed. : smp_fetch_len | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_req_ssl_st_ext (77 to 202 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 88 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 149 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 156 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 169 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 121 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 105 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 78 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 78 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 85 | goto detected. | GJB 4.5.1.2 |
M | 93 | goto detected. | GJB 4.5.1.2 |
M | 94 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 95 | goto detected. | GJB 4.5.1.2 |
M | 99 | goto detected. | GJB 4.5.1.2 |
M | 101 | goto detected. | GJB 4.5.1.2 |
M | 104 | goto detected. | GJB 4.5.1.2 |
M | 105 | Shifting value too far. | GJB 4.6.1.4 |
M | 105 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 106 | Expression needs brackets. | GJB 5.1.2 |
M | 107 | goto detected. | GJB 4.5.1.2 |
M | 114 | goto detected. | GJB 4.5.1.2 |
M | 116 | goto detected. | GJB 4.5.1.2 |
M | 120 | goto detected. | GJB 4.5.1.2 |
M | 121 | Shifting value too far. | GJB 4.6.1.4 |
M | 121 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 122 | Expression needs brackets. | GJB 5.1.2 |
M | 123 | goto detected. | GJB 4.5.1.2 |
M | 127 | goto detected. | GJB 4.5.1.2 |
M | 131 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 131 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 132 | goto detected. | GJB 4.5.1.2 |
M | 135 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 135 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 136 | goto detected. | GJB 4.5.1.2 |
M | 142 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 143 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 143 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 143 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 143 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 143 | Shifting value too far. | GJB 4.6.1.4 |
M | 143 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 143 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 145 | goto detected. | GJB 4.5.1.2 |
M | 151 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 153 | goto detected. | GJB 4.5.1.2 |
M | 159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 160 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 160 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 160 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 160 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 160 | Shifting value too far. | GJB 4.6.1.4 |
M | 160 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Signed/unsigned conversion without cast. : (unsigned char and int): ) > hs_len | GJB 4.6.1.9 |
M | 160 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 161 | goto detected. | GJB 4.5.1.2 |
M | 167 | Name reused in inner scope. : ext_len | GJB 4.15.1.2,4.15.1.5 |
M | 169 | Shifting value too far. | GJB 4.6.1.4 |
M | 169 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 170 | Shifting value too far. | GJB 4.6.1.4 |
M | 170 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 172 | Expression needs brackets. | GJB 5.1.2 |
M | 173 | goto detected. | GJB 4.5.1.2 |
M | 77 | Static procedure is not explicitly called in code analysed. : smp_fetch_req_ssl_st_ext | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_req_ssl_ec_ext (207 to 325 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 218 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 279 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 286 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 299 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 251 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 235 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 208 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 208 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 215 | goto detected. | GJB 4.5.1.2 |
M | 223 | goto detected. | GJB 4.5.1.2 |
M | 224 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 225 | goto detected. | GJB 4.5.1.2 |
M | 229 | goto detected. | GJB 4.5.1.2 |
M | 231 | goto detected. | GJB 4.5.1.2 |
M | 234 | goto detected. | GJB 4.5.1.2 |
M | 235 | Shifting value too far. | GJB 4.6.1.4 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Expression needs brackets. | GJB 5.1.2 |
M | 237 | goto detected. | GJB 4.5.1.2 |
M | 244 | goto detected. | GJB 4.5.1.2 |
M | 246 | goto detected. | GJB 4.5.1.2 |
M | 250 | goto detected. | GJB 4.5.1.2 |
M | 251 | Shifting value too far. | GJB 4.6.1.4 |
M | 251 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 252 | Expression needs brackets. | GJB 5.1.2 |
M | 253 | goto detected. | GJB 4.5.1.2 |
M | 257 | goto detected. | GJB 4.5.1.2 |
M | 261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 262 | goto detected. | GJB 4.5.1.2 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 266 | goto detected. | GJB 4.5.1.2 |
M | 272 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 273 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 273 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 273 | Shifting value too far. | GJB 4.6.1.4 |
M | 273 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 274 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 275 | goto detected. | GJB 4.5.1.2 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 283 | goto detected. | GJB 4.5.1.2 |
M | 289 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 290 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 290 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 290 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 290 | Shifting value too far. | GJB 4.6.1.4 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 290 | Signed/unsigned conversion without cast. : (unsigned char and int): ) > hs_len | GJB 4.6.1.9 |
M | 290 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 291 | goto detected. | GJB 4.5.1.2 |
M | 297 | Name reused in inner scope. : ext_len | GJB 4.15.1.2,4.15.1.5 |
M | 299 | Shifting value too far. | GJB 4.6.1.4 |
M | 299 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 300 | Shifting value too far. | GJB 4.6.1.4 |
M | 300 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 302 | Expression needs brackets. | GJB 5.1.2 |
M | 303 | goto detected. | GJB 4.5.1.2 |
M | 317 | goto detected. | GJB 4.5.1.2 |
M | 207 | Static procedure is not explicitly called in code analysed. : smp_fetch_req_ssl_ec_ext | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_hello_type (327 to 384 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 339 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 328 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 328 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 336 | goto detected. | GJB 4.5.1.2 |
M | 343 | goto detected. | GJB 4.5.1.2 |
M | 345 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 345 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 345 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 345 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 345 | Signed/unsigned conversion without cast. : (unsigned char and int): ( * data | GJB 4.6.1.9 |
M | 348 | goto detected. | GJB 4.5.1.2 |
M | 351 | Shifting value too far. | GJB 4.6.1.4 |
M | 351 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 351 | Expression needs brackets. | GJB 5.1.2 |
M | 352 | goto detected. | GJB 4.5.1.2 |
M | 355 | Shifting value too far. | GJB 4.6.1.4 |
M | 355 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 355 | Expression needs brackets. | GJB 5.1.2 |
M | 356 | goto detected. | GJB 4.5.1.2 |
M | 361 | Shifting value too far. | GJB 4.6.1.4 |
M | 361 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 365 | goto detected. | GJB 4.5.1.2 |
M | 369 | goto detected. | GJB 4.5.1.2 |
M | 327 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_hello_type | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_req_ssl_ver (394 to 499 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 430 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 457 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 453 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 395 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 395 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 408 | goto detected. | GJB 4.5.1.2 |
M | 411 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 411 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 411 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 411 | Signed/unsigned conversion without cast. : (unsigned char and int): ( * data | GJB 4.6.1.9 |
M | 414 | goto detected. | GJB 4.5.1.2 |
M | 416 | Shifting value too far. | GJB 4.6.1.4 |
M | 416 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 417 | Shifting value too far. | GJB 4.6.1.4 |
M | 417 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 421 | goto detected. | GJB 4.5.1.2 |
M | 424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 424 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 424 | Value is not of appropriate type. : (signed char and short): ( 1 << 14 ) | GJB 4.6.1.8 |
M | 425 | goto detected. | GJB 4.5.1.2 |
M | 430 | Shifting value too far. | GJB 4.6.1.4 |
M | 430 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 437 | goto detected. | GJB 4.5.1.2 |
M | 439 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 444 | goto detected. | GJB 4.5.1.2 |
M | 446 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 451 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 452 | goto detected. | GJB 4.5.1.2 |
M | 456 | goto detected. | GJB 4.5.1.2 |
M | 457 | Shifting value too far. | GJB 4.6.1.4 |
M | 457 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 458 | Shifting value too far. | GJB 4.6.1.4 |
M | 458 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 459 | Shifting value too far. | GJB 4.6.1.4 |
M | 459 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 460 | Shifting value too far. | GJB 4.6.1.4 |
M | 460 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 463 | Expression needs brackets. | GJB 5.1.2 |
M | 464 | goto detected. | GJB 4.5.1.2 |
M | 465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 466 | goto detected. | GJB 4.5.1.2 |
M | 467 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 467 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 468 | goto detected. | GJB 4.5.1.2 |
M | 469 | Expression needs brackets. | GJB 5.1.2 |
M | 470 | goto detected. | GJB 4.5.1.2 |
M | 481 | Expression needs brackets. | GJB 5.1.2 |
M | 482 | Expression needs brackets. | GJB 5.1.2 |
M | 485 | goto detected. | GJB 4.5.1.2 |
M | 394 | Static procedure is not explicitly called in code analysed. : smp_fetch_req_ssl_ver | GJB 4.7.1.3 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_hello_sni (534 to 664 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 545 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 606 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 613 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 626 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 578 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 562 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 535 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 535 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 542 | goto detected. | GJB 4.5.1.2 |
M | 550 | goto detected. | GJB 4.5.1.2 |
M | 551 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 552 | goto detected. | GJB 4.5.1.2 |
M | 556 | goto detected. | GJB 4.5.1.2 |
M | 558 | goto detected. | GJB 4.5.1.2 |
M | 561 | goto detected. | GJB 4.5.1.2 |
M | 562 | Shifting value too far. | GJB 4.6.1.4 |
M | 562 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 563 | Expression needs brackets. | GJB 5.1.2 |
M | 564 | goto detected. | GJB 4.5.1.2 |
M | 571 | goto detected. | GJB 4.5.1.2 |
M | 573 | goto detected. | GJB 4.5.1.2 |
M | 577 | goto detected. | GJB 4.5.1.2 |
M | 578 | Shifting value too far. | GJB 4.6.1.4 |
M | 578 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 579 | Expression needs brackets. | GJB 5.1.2 |
M | 580 | goto detected. | GJB 4.5.1.2 |
M | 584 | goto detected. | GJB 4.5.1.2 |
M | 588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 589 | goto detected. | GJB 4.5.1.2 |
M | 592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 593 | goto detected. | GJB 4.5.1.2 |
M | 599 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 600 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 600 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 600 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 600 | Shifting value too far. | GJB 4.6.1.4 |
M | 600 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 600 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 601 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 602 | goto detected. | GJB 4.5.1.2 |
M | 608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 610 | goto detected. | GJB 4.5.1.2 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 617 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 617 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 617 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 617 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 617 | Shifting value too far. | GJB 4.6.1.4 |
M | 617 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 617 | Signed/unsigned conversion without cast. : (unsigned char and int): ) > hs_len | GJB 4.6.1.9 |
M | 617 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 618 | goto detected. | GJB 4.5.1.2 |
M | 626 | Shifting value too far. | GJB 4.6.1.4 |
M | 626 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 627 | Shifting value too far. | GJB 4.6.1.4 |
M | 627 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 629 | Expression needs brackets. | GJB 5.1.2 |
M | 630 | goto detected. | GJB 4.5.1.2 |
M | 634 | goto detected. | GJB 4.5.1.2 |
M | 636 | Shifting value too far. | GJB 4.6.1.4 |
M | 636 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 637 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 637 | Expression needs brackets. | GJB 5.1.2 |
M | 638 | goto detected. | GJB 4.5.1.2 |
M | 641 | Shifting value too far. | GJB 4.6.1.4 |
M | 641 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 645 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 645 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 656 | goto detected. | GJB 4.5.1.2 |
M | 534 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_hello_sni | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_hello_alpn (700 to 835 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 711 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 772 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 779 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 792 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 744 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 728 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 701 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 701 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 708 | goto detected. | GJB 4.5.1.2 |
M | 716 | goto detected. | GJB 4.5.1.2 |
M | 717 | Signed/unsigned conversion without cast. : (unsigned char and int): * data | GJB 4.6.1.9 |
M | 718 | goto detected. | GJB 4.5.1.2 |
M | 722 | goto detected. | GJB 4.5.1.2 |
M | 724 | goto detected. | GJB 4.5.1.2 |
M | 727 | goto detected. | GJB 4.5.1.2 |
M | 728 | Shifting value too far. | GJB 4.6.1.4 |
M | 728 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 729 | Expression needs brackets. | GJB 5.1.2 |
M | 730 | goto detected. | GJB 4.5.1.2 |
M | 737 | goto detected. | GJB 4.5.1.2 |
M | 739 | goto detected. | GJB 4.5.1.2 |
M | 743 | goto detected. | GJB 4.5.1.2 |
M | 744 | Shifting value too far. | GJB 4.6.1.4 |
M | 744 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 745 | Expression needs brackets. | GJB 5.1.2 |
M | 746 | goto detected. | GJB 4.5.1.2 |
M | 750 | goto detected. | GJB 4.5.1.2 |
M | 754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 755 | goto detected. | GJB 4.5.1.2 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 759 | goto detected. | GJB 4.5.1.2 |
M | 765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 766 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 766 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 766 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 766 | Shifting value too far. | GJB 4.6.1.4 |
M | 766 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 767 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | goto detected. | GJB 4.5.1.2 |
M | 774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 775 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 775 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 776 | goto detected. | GJB 4.5.1.2 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 783 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 783 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 783 | Shifting value too far. | GJB 4.6.1.4 |
M | 783 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 783 | Signed/unsigned conversion without cast. : (unsigned char and int): ) > hs_len | GJB 4.6.1.9 |
M | 783 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 784 | goto detected. | GJB 4.5.1.2 |
M | 792 | Shifting value too far. | GJB 4.6.1.4 |
M | 792 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 793 | Shifting value too far. | GJB 4.6.1.4 |
M | 793 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 795 | Expression needs brackets. | GJB 5.1.2 |
M | 796 | goto detected. | GJB 4.5.1.2 |
M | 800 | goto detected. | GJB 4.5.1.2 |
M | 804 | Value is not of appropriate type. : (unsigned int and int): name_len = data [ name_offset | GJB 4.6.1.8 |
M | 806 | Expression needs brackets. | GJB 5.1.2 |
M | 807 | goto detected. | GJB 4.5.1.2 |
M | 810 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 810 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 815 | Expression needs brackets. | GJB 5.1.2 |
M | 827 | goto detected. | GJB 4.5.1.2 |
M | 700 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_hello_alpn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fetch_rdp_cookie_name (841 to 922 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 900 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 867 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 842 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 842 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 852 | goto detected. | GJB 4.5.1.2 |
M | 858 | goto detected. | GJB 4.5.1.2 |
M | 860 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 860 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 861 | goto detected. | GJB 4.5.1.2 |
M | 866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 866 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 866 | Type conversion without cast. : (unsigned char and char): * data == ' ' | GJB 4.6.1.9 |
M | 873 | goto detected. | GJB 4.5.1.2 |
M | 875 | Value is not of appropriate type. : (unsigned int and int): data [ clen | GJB 4.6.1.8 |
M | 875 | Type conversion without cast. : (unsigned char and char): data [ clen ] != '=' | GJB 4.6.1.9 |
M | 876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 876 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 876 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 877 | goto detected. | GJB 4.5.1.2 |
M | 882 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 882 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 882 | Type conversion without cast. : (unsigned char and char): * data != '=' | GJB 4.6.1.9 |
M | 883 | Type conversion without cast. : (unsigned char and char): * data == '\r' | GJB 4.6.1.9 |
M | 883 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 883 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 883 | Type conversion without cast. : (unsigned char and char): * data == '\n' | GJB 4.6.1.9 |
M | 884 | goto detected. | GJB 4.5.1.2 |
M | 890 | goto detected. | GJB 4.5.1.2 |
M | 892 | Type conversion without cast. : (unsigned char and char): * data != '=' | GJB 4.6.1.9 |
M | 893 | goto detected. | GJB 4.5.1.2 |
M | 900 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 900 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 903 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 903 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 903 | Type conversion without cast. : (unsigned char and char): * data != '\r' | GJB 4.6.1.9 |
M | 909 | goto detected. | GJB 4.5.1.2 |
M | 911 | Type conversion without cast. : (unsigned char and char): data [ 0 ] != '\r' | GJB 4.6.1.9 |
M | 911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 911 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 911 | Type conversion without cast. : (unsigned char and char): data [ 1 ] != '\n' | GJB 4.6.1.9 |
M | 912 | goto detected. | GJB 4.5.1.2 |
M | 914 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 914 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_rdp_cookie (930 to 939 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 931 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 931 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 936 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_rdp_cookie_cnt (942 to 956 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 943 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 943 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 947 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 942 | Static procedure is not explicitly called in code analysed. : smp_fetch_rdp_cookie_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_payload_lv (959 to 1025 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 982 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 977 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 960 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 960 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 967 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 969 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 984 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 989 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 989 | Expression needs brackets. | GJB 5.1.2 |
M | 990 | goto detected. | GJB 4.5.1.2 |
M | 992 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 992 | Signed/unsigned conversion without cast. : (int and unsigned int): i < len_size | GJB 4.6.1.9 |
M | 993 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 993 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 999 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1002 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1007 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1007 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1007 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1007 | Expression needs brackets. | GJB 5.1.2 |
M | 1013 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1013 | Expression needs brackets. | GJB 5.1.2 |
M | 1014 | goto detected. | GJB 4.5.1.2 |
M | 959 | Static procedure is not explicitly called in code analysed. : smp_fetch_payload_lv | GJB 4.7.1.3 |
M | 968 | Procedure contains UR data flow anomalies. : data |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_payload (1028 to 1072 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1044 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 1039 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 1029 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1029 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1034 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1046 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1051 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1051 | Expression needs brackets. | GJB 5.1.2 |
M | 1056 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1056 | Expression needs brackets. | GJB 5.1.2 |
M | 1057 | goto detected. | GJB 4.5.1.2 |
M | 1062 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1064 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1064 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1064 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1028 | Static procedure is not explicitly called in code analysed. : smp_fetch_payload | GJB 4.7.1.3 |
M | 1035 | Procedure contains UR data flow anomalies. : data |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
val_payload_lv (1087 to 1125 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1087 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1090 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1102 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1102 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1103 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1105 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1105 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1117 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_distcc_param (1128 to 1202 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1129 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1139 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1148 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs | GJB 4.6.1.9 |
M | 1148 | Signed/unsigned conversion without cast. : (unsigned int and int): occ | GJB 4.6.1.9 |
M | 1150 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1150 | Expression needs brackets. | GJB 5.1.2 |
M | 1153 | goto detected. | GJB 4.5.1.2 |
M | 1155 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1155 | Expression needs brackets. | GJB 5.1.2 |
M | 1156 | goto detected. | GJB 4.5.1.2 |
M | 1158 | goto detected. | GJB 4.5.1.2 |
M | 1162 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1164 | Signed/unsigned conversion without cast. : (int and unsigned int): i = param | GJB 4.6.1.9 |
M | 1164 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1164 | Signed/unsigned conversion without cast. : (unsigned int and int): i = param | GJB 4.6.1.9 |
M | 1165 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1168 | goto detected. | GJB 4.5.1.2 |
M | 1169 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1171 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1174 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1174 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1175 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1175 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1176 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1176 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1179 | Signed/unsigned conversion without cast. : (unsigned int and int): body | GJB 4.6.1.9 |
M | 1183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1128 | Static procedure is not explicitly called in code analysed. : smp_fetch_distcc_param | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_distcc_body (1205 to 1290 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1206 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1206 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1216 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1225 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs | GJB 4.6.1.9 |
M | 1225 | Signed/unsigned conversion without cast. : (unsigned int and int): occ | GJB 4.6.1.9 |
M | 1227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1227 | Expression needs brackets. | GJB 5.1.2 |
M | 1229 | goto detected. | GJB 4.5.1.2 |
M | 1231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1231 | Expression needs brackets. | GJB 5.1.2 |
M | 1232 | goto detected. | GJB 4.5.1.2 |
M | 1234 | goto detected. | GJB 4.5.1.2 |
M | 1238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1240 | Signed/unsigned conversion without cast. : (int and unsigned int): i = param | GJB 4.6.1.9 |
M | 1240 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1240 | Signed/unsigned conversion without cast. : (unsigned int and int): i = param | GJB 4.6.1.9 |
M | 1241 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1244 | goto detected. | GJB 4.5.1.2 |
M | 1245 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1247 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1250 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1250 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1251 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1251 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1251 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1251 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1251 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1251 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1252 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1252 | Signed/unsigned conversion without cast. : (unsigned int and int): token | GJB 4.6.1.9 |
M | 1255 | Signed/unsigned conversion without cast. : (unsigned int and int): body | GJB 4.6.1.9 |
M | 1259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1265 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1265 | Expression needs brackets. | GJB 5.1.2 |
M | 1268 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1268 | Expression needs brackets. | GJB 5.1.2 |
M | 1271 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1271 | Expression needs brackets. | GJB 5.1.2 |
M | 1279 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1205 | Static procedure is not explicitly called in code analysed. : smp_fetch_distcc_body | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
val_distcc (1300 to 1324 payload.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1300 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_trace (331 to 353 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 343 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 343 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 350 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 331 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
statuscode_str (355 to 377 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 359 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 361 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 363 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 365 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 367 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 369 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 371 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 373 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 376 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
intencode (385 to 405 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 385 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 385 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 389 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 390 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 392 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 392 | Value is not of appropriate type. : (char and char*): str = ( char * | GJB 4.6.1.8 |
M | 392 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 392 | Value is not of appropriate type. : (unsigned int and int): str = ( char * ) & msg [ idx + 1 | GJB 4.6.1.8 |
M | 396 | Value is not of appropriate type. : (unsigned int and int): msg [ idx | GJB 4.6.1.8 |
M | 397 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 399 | Value is not of appropriate type. : (unsigned int and int): msg [ ++ idx | GJB 4.6.1.8 |
M | 400 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 402 | Value is not of appropriate type. : (unsigned int and int): msg [ ++ idx | GJB 4.6.1.8 |
M | 403 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 403 | Value is not of appropriate type. : (char and char*): str = ( char * | GJB 4.6.1.8 |
M | 403 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 403 | Value is not of appropriate type. : (unsigned int and int): str = ( char * ) & msg [ idx + 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
intdecode (413 to 442 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 416 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 422 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 423 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 424 | goto detected. | GJB 4.5.1.2 |
M | 426 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 427 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 430 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 431 | goto detected. | GJB 4.5.1.2 |
M | 432 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 432 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 432 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 434 | Expression needs brackets. | GJB 5.1.2 |
M | 434 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 436 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 436 | Value is not of appropriate type. : (char and char*): str = ( char * | GJB 4.6.1.8 |
M | 436 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_hellomsg (449 to 463 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 455 | Pointer not checked for null before use. : peer | GJB 5.1.15 |
M | 449 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 449 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 459 | Signed/unsigned conversion without cast. : (int and unsigned int): ret >= size | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_status_successmsg (470 to 479 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 470 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 470 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 475 | Signed/unsigned conversion without cast. : (int and unsigned int): ret >= size | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_status_errormsg (486 to 497 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 489 | Name redeclared in another C name space (MR). : st1 | GJB 4.1.1.16 |
M | 486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 486 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 493 | Signed/unsigned conversion without cast. : (int and unsigned int): ret >= size | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_set_update_msg_type (503 to 517 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 503 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_updatemsg (525 to 687 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 534 | Name redeclared in another C name space (MR). : updateid | GJB 4.1.1.16 |
M | 535 | Name redeclared in another C name space (MR). : use_identifier | GJB 4.1.1.16 |
M | 536 | Name redeclared in another C name space (MR). : use_timed | GJB 4.1.1.16 |
M | 551 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 559 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 565 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 574 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 579 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 583 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 618 | Pointer not checked for null before use. : frqp | GJB 5.1.15 |
M | 640 | Pointer not checked for null before use. : dc | GJB 5.1.15 |
M | 653 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 659 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 661 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 664 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 564 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 572 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 674 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 558 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 618 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 563 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 638 | Pointer not checked for null before use. : peer | GJB 5.1.15 |
M | 525 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 525 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 529 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 546 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 569 | Signed/unsigned conversion without cast. : (int and unsigned int): st -> table -> type == SMP_T_STR | GJB 4.6.1.9 |
M | 570 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | GJB 4.6.1.9 |
M | 570 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 576 | Signed/unsigned conversion without cast. : (int and unsigned int): st -> table -> type == SMP_T_SINT | GJB 4.6.1.9 |
M | 588 | Signed/unsigned conversion without cast. : (unsigned int and int): data_type | GJB 4.6.1.9 |
M | 618 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 618 | Value is not of appropriate type. : (unsigned int and int): ( unsigned int ) ( now_ms - frqp -> curr_tick | GJB 4.6.1.8 |
M | 627 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 642 | Expression needs brackets. | GJB 5.1.2 |
M | 651 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 592 | No default case in switch statement. | GJB 4.3.1.4 |
M | 677 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 572 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 597 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 611 | Actual and formal parameters inconsistent (MR). : (uns long long and unsigned long): param 1 | GJB 4.7.1.9 |
M | 619 | Actual and formal parameters inconsistent (MR). : (freq_ctr_period and unsigned long): param 1 | GJB 4.7.1.9 |
M | 620 | Actual and formal parameters inconsistent (MR). : (freq_ctr_period and unsigned long): param 1 | GJB 4.7.1.9 |
M | 634 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 645 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 647 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 653 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_switchmsg (695 to 771 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 711 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 711 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 717 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 721 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 727 | Pointer not checked for null before use. : chunk | GJB 5.1.15 |
M | 754 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 758 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 695 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 700 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 706 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 714 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 721 | Value is not of appropriate type. : (unsigned int and int): peer_net_key_type [ st -> table -> type | GJB 4.6.1.8 |
M | 727 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 729 | Signed/unsigned conversion without cast. : (unsigned int and int): data_type | GJB 4.6.1.9 |
M | 733 | Null case in switch statement. | GJB 4.3.1.8 |
M | 731 | No default case in switch statement. | GJB 4.3.1.4 |
M | 761 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 711 | Actual and formal parameters inconsistent (MR). : (shared_table and unsigned long): param 1 | GJB 4.7.1.9 |
M | 715 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 721 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 724 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 741 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 749 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_ackmsg (780 to 809 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 790 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 790 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 793 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 796 | Pointer not checked for null before use. : cursor | GJB 5.1.15 |
M | 780 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 780 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 783 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 787 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 799 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 790 | Actual and formal parameters inconsistent (MR). : (shared_table and unsigned long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__peer_session_deinit (814 to 857 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 848 | Pointer not checked for null before use. : peers | GJB 5.1.15 |
M | 835 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 843 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 844 | Procedure contains UR data flow anomalies. : (ps)->appctx | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_session_release (862 to 878 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 867 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 874 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 862 | Static procedure is not explicitly called in code analysed. : peer_session_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_get_version (884 to 907 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 894 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 894 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 884 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 888 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 889 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 891 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 895 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 895 | Expression needs brackets. | GJB 5.1.2 |
M | 900 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 900 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_getline (915 to 937 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 917 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 924 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 924 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 924 | Value is not of appropriate type. : (unsigned int and int): trash.area [ n - 1 | GJB 4.6.1.8 |
M | 924 | Type conversion without cast. : (int and char): trash.area [ n - 1 ] != '\n' | GJB 4.6.1.9 |
M | 925 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 929 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 929 | Value is not of appropriate type. : (unsigned int and int): ( trash.area [ n - 2 | GJB 4.6.1.8 |
M | 929 | Type conversion without cast. : (int and char): ( trash.area [ n - 2 ] == '\r' | GJB 4.6.1.9 |
M | 930 | Value is not of appropriate type. : (unsigned int and int): trash.area [ n - 2 | GJB 4.6.1.8 |
M | 932 | Value is not of appropriate type. : (unsigned int and int): trash.area [ n - 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_msg (946 to 972 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 947 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 956 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 968 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 953 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | peer_prepare_msg |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_hellomsg (981 to 988 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 983 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_status_successmsg (997 to 1000 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 999 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_status_errormsg (1009 to 1016 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1011 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_switchmsg (1025 to 1032 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1027 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_ackmsg (1041 to 1048 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1043 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_updatemsg (1057 to 1072 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1060 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | 1060 | Struct field initialisation incorrect. : 'int' used, 'unsigned int' expected | GJB 4.13.1.2 |
M | 1066 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_control_msg (1079 to 1088 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1079 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1079 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_resync_reqmsg (1097 to 1104 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1099 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | 1099 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_resync_confirmsg (1113 to 1120 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1115 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | 1115 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_resync_finishedmsg (1129 to 1139 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1131 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
M | 1135 | Signed/unsigned conversion without cast. : (unsigned char and int): p.control.head [ 1 ] = ( peers -> flags & ( 0x00000001 | 0x00000002 ) | GJB 4.6.1.9 |
M | 1136 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1136 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_heartbeatmsg (1148 to 1155 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1150 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | 1150 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_prepare_error_msg (1162 to 1171 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1162 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_error_size_limitmsg (1180 to 1187 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1182 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | 1182 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_error_protomsg (1196 to 1203 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1198 | Initialisation brace { } fault. | GJB 4.13.1.3 |
M | 1198 | Struct initialisation has insufficient items. | GJB 4.13.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_teach_process_stksess_lookup (1209 to 1228 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1217 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1223 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_teach_stage1_stksess_lookup (1234 to 1248 peers.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_teach_stage2_stksess_lookup (1254 to 1265 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_teachmsgs (1283 to 1346 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1287 | Name redeclared in another C name space (MR). : use_timed | GJB 4.1.1.16 |
M | 1310 | Name redeclared in another C name space (MR). : updateid | GJB 4.1.1.16 |
M | 1283 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1332 | Signed/unsigned conversion without cast. : (int and unsigned int): st -> last_pushed = updateid | GJB 4.6.1.9 |
M | 1334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | peer_stksess_lookup |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_teach_process_msgs (1359 to 1363 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1359 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_teach_stage1_msgs (1374 to 1378 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1374 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_teach_stage2_msgs (1389 to 1393 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1389 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_treat_updatemsg (1408 to 1680 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1638 | Pointer not checked for null before use. : de | GJB 5.1.15 |
M | 1463 | Pointer not checked for null before use. : msg_cur | GJB 5.1.15 |
M | 1526 | Pointer not checked for null before use. : msg_cur | GJB 5.1.15 |
M | 1624 | Pointer not checked for null before use. : chunk | GJB 5.1.15 |
M | 1627 | Pointer not checked for null before use. : chunk | GJB 5.1.15 |
M | 1612 | Pointer not checked for null before use. : dc | GJB 5.1.15 |
M | 1637 | Pointer not checked for null before use. : dc | GJB 5.1.15 |
M | 1408 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1409 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1409 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1422 | goto detected. | GJB 4.5.1.2 |
M | 1427 | Signed/unsigned conversion without cast. : (int and unsigned int): msg_len < sizeof | GJB 4.6.1.9 |
M | 1429 | goto detected. | GJB 4.5.1.2 |
M | 1443 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1443 | Expression needs brackets. | GJB 5.1.2 |
M | 1448 | goto detected. | GJB 4.5.1.2 |
M | 1452 | Type conversion without cast. : (char and unsigned int): msg_cur += expire_sz | GJB 4.6.1.9 |
M | 1458 | goto detected. | GJB 4.5.1.2 |
M | 1460 | Signed/unsigned conversion without cast. : (int and unsigned int): st -> table -> type == SMP_T_STR | GJB 4.6.1.9 |
M | 1466 | goto detected. | GJB 4.5.1.2 |
M | 1470 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1470 | Expression needs brackets. | GJB 5.1.2 |
M | 1475 | goto detected. | GJB 4.5.1.2 |
M | 1480 | Type conversion without cast. : (char and unsigned int): msg_cur += to_read | GJB 4.6.1.9 |
M | 1482 | Signed/unsigned conversion without cast. : (int and unsigned int): st -> table -> type == SMP_T_SINT | GJB 4.6.1.9 |
M | 1485 | Operation not appropriate to plain char. : + used with char: msg_cur | GJB 4.1.1.15 |
M | 1485 | Expression needs brackets. | GJB 5.1.2 |
M | 1490 | goto detected. | GJB 4.5.1.2 |
M | 1499 | Expression needs brackets. | GJB 5.1.2 |
M | 1504 | goto detected. | GJB 4.5.1.2 |
M | 1520 | Signed/unsigned conversion without cast. : (unsigned int and int): data_type | GJB 4.6.1.9 |
M | 1529 | goto detected. | GJB 4.5.1.2 |
M | 1559 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 1563 | goto detected. | GJB 4.5.1.2 |
M | 1569 | goto detected. | GJB 4.5.1.2 |
M | 1583 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1590 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1590 | Expression needs brackets. | GJB 5.1.2 |
M | 1595 | goto detected. | GJB 4.5.1.2 |
M | 1601 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1606 | goto detected. | GJB 4.5.1.2 |
M | 1615 | goto detected. | GJB 4.5.1.2 |
M | 1618 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1623 | Operation not appropriate to plain char. : + used with char | GJB 4.1.1.15 |
M | 1623 | Expression needs brackets. | GJB 5.1.2 |
M | 1624 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1624 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1624 | Expression needs brackets. | GJB 5.1.2 |
M | 1629 | goto detected. | GJB 4.5.1.2 |
M | 1633 | Value is not of appropriate type. : (unsigned int and int): chunk -> area [ chunk -> data | GJB 4.6.1.8 |
M | 1634 | Type conversion without cast. : (char and unsigned int): msg_cur += value_len | GJB 4.6.1.9 |
M | 1637 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1638 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1532 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1669 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1677 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_treat_ackmsg (1690 to 1716 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1690 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1691 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1691 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1699 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1699 | Operation not appropriate to plain char. : + used with char: msg_cur | GJB 4.1.1.15 |
M | 1699 | Expression needs brackets. | GJB 5.1.2 |
M | 1701 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1709 | Signed/unsigned conversion without cast. : (int and unsigned int): st -> local_id == table_id | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_treat_switchmsg (1726 to 1748 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1726 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1732 | Signed/unsigned conversion without cast. : (int and unsigned long): intdecode | GJB 4.6.1.9 |
M | 1735 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_treat_definemsg (1759 to 1829 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1759 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1760 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1760 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1770 | Signed/unsigned conversion without cast. : (int and unsigned long): intdecode | GJB 4.6.1.9 |
M | 1772 | goto detected. | GJB 4.5.1.2 |
M | 1774 | Signed/unsigned conversion without cast. : (int and unsigned long): intdecode | GJB 4.6.1.9 |
M | 1776 | goto detected. | GJB 4.5.1.2 |
M | 1779 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1780 | goto detected. | GJB 4.5.1.2 |
M | 1787 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1787 | Signed/unsigned conversion without cast. : (int and unsigned int): table_id_len == strlen | GJB 4.6.1.9 |
M | 1793 | goto detected. | GJB 4.5.1.2 |
M | 1795 | Type conversion without cast. : (char and int): msg_cur += table_id_len | GJB 4.6.1.9 |
M | 1797 | goto detected. | GJB 4.5.1.2 |
M | 1799 | Signed/unsigned conversion without cast. : (int and unsigned long): intdecode | GJB 4.6.1.9 |
M | 1801 | goto detected. | GJB 4.5.1.2 |
M | 1803 | Signed/unsigned conversion without cast. : (int and unsigned long): intdecode | GJB 4.6.1.9 |
M | 1805 | goto detected. | GJB 4.5.1.2 |
M | 1809 | goto detected. | GJB 4.5.1.2 |
M | 1811 | Value is not of appropriate type. : (unsigned int and int): p -> remote_table -> table -> type != peer_int_key_type [ table_type | GJB 4.6.1.8 |
M | 1811 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1812 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1814 | goto detected. | GJB 4.5.1.2 |
M | 1817 | Signed/unsigned conversion without cast. : (int and unsigned long): p -> remote_table -> remote_data = table_data | GJB 4.6.1.9 |
M | 1827 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1813 | Procedure contains UR data flow anomalies. : (curpeer)->remote_table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_recv_msg (1843 to 1910 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1873 | Pointer not checked for null before use. : cur | GJB 5.1.15 |
M | 1868 | Pointer not checked for null before use. : msg_head | GJB 5.1.15 |
M | 1862 | Pointer not checked for null before use. : totl | GJB 5.1.15 |
M | 1894 | Pointer not checked for null before use. : totl | GJB 5.1.15 |
M | 1843 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1848 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1850 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1852 | goto detected. | GJB 4.5.1.2 |
M | 1856 | Operation not appropriate to plain char. : & used with char: msg_head | GJB 4.1.1.15 |
M | 1856 | Value is not of appropriate type. : (char and signed char): ! ( msg_head [ 1 ] & ( 1 << | GJB 4.6.1.8 |
M | 1856 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1863 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1863 | Signed/unsigned conversion without cast. : (unsigned int and int): msg_head_sz -= *totl | GJB 4.6.1.9 |
M | 1865 | Signed/unsigned conversion without cast. : (int and unsigned int): reql | GJB 4.6.1.9 |
M | 1865 | Signed/unsigned conversion without cast. : (int and unsigned int): reql > msg_head_sz | GJB 4.6.1.9 |
M | 1866 | Signed/unsigned conversion without cast. : (int and unsigned int): reql = msg_head_sz | GJB 4.6.1.9 |
M | 1870 | goto detected. | GJB 4.5.1.2 |
M | 1876 | Signed/unsigned conversion without cast. : (int and unsigned int): reql | GJB 4.6.1.9 |
M | 1876 | Signed/unsigned conversion without cast. : (int and unsigned int): reql < msg_head_sz | GJB 4.6.1.9 |
M | 1877 | goto detected. | GJB 4.5.1.2 |
M | 1881 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1890 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1896 | goto detected. | GJB 4.5.1.2 |
M | 1903 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1905 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_treat_awaited_msg (1916 to 2015 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1921 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 1943 | Pointer not checked for null before use. : peers | GJB 5.1.15 |
M | 1917 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1917 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1923 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1924 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1930 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1940 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1948 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1959 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1966 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1970 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1977 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1980 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1982 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1991 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1992 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1994 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1997 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1997 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1998 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1998 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2007 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2009 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2010 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2012 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_send_msgs (2024 to 2118 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2029 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2033 | Pointer not checked for null before use. : peers | GJB 5.1.15 |
M | 2040 | Pointer not checked for null before use. : peers | GJB 5.1.15 |
M | 2058 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 2051 | Pointer not checked for null before use. : last_local_table | GJB 5.1.15 |
M | 2100 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_getline_version (2125 to 2151 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2138 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2139 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2143 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2143 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2144 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2145 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2143 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_getline_host (2158 to 2177 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2171 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_getline_last (2185 to 2225 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2192 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2211 | Pointer not checked for null before use. : peers | GJB 5.1.15 |
M | 2187 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2187 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2204 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2218 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_accepted_peer (2230 to 2272 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2247 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2248 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2258 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2271 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_connected_peer (2277 to 2309 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2284 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2285 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2308 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_io_handler (2314 to 2602 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2318 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2409 | Pointer not checked for null before use. : curpeer | GJB 5.1.15 |
M | 2434 | Pointer not checked for null before use. : curpeer | GJB 5.1.15 |
M | 2456 | Pointer not checked for null before use. : curpeer | GJB 5.1.15 |
M | 2505 | Pointer not checked for null before use. : curpeer | GJB 5.1.15 |
M | 2520 | Pointer not checked for null before use. : msg_end | GJB 5.1.15 |
M | 2423 | Pointer not checked for null before use. : curpeers | GJB 5.1.15 |
M | 2372 | Pointer not checked for null before use. : curpeer | GJB 5.1.15 |
M | 2328 | goto detected. | GJB 4.5.1.2 |
M | 2334 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2339 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2341 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2346 | goto detected. | GJB 4.5.1.2 |
M | 2347 | goto detected. | GJB 4.5.1.2 |
M | 2350 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2352 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2357 | goto detected. | GJB 4.5.1.2 |
M | 2358 | goto detected. | GJB 4.5.1.2 |
M | 2361 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2363 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2368 | goto detected. | GJB 4.5.1.2 |
M | 2369 | goto detected. | GJB 4.5.1.2 |
M | 2373 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2376 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2378 | goto detected. | GJB 4.5.1.2 |
M | 2385 | Value is not of appropriate type. : (unsigned char and unsigned short): ha_random () | GJB 4.6.1.8 |
M | 2385 | Expression needs brackets. | GJB 5.1.2 |
M | 2385 | Value is not of appropriate type. : (unsigned char and unsigned short): ha_random () % | GJB 4.6.1.8 |
M | 2390 | Value is not of appropriate type. : (bool and unsigned char): maj_ver != ( unsigned int ) | GJB 4.6.1.8 |
M | 2390 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2390 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2390 | Value is not of appropriate type. : (bool and unsigned char): min_ver != ( unsigned int ) | GJB 4.6.1.8 |
M | 2391 | Signed/unsigned conversion without cast. : (unsigned int and int): min_ver | GJB 4.6.1.9 |
M | 2401 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2405 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2411 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2412 | goto detected. | GJB 4.5.1.2 |
M | 2419 | goto detected. | GJB 4.5.1.2 |
M | 2420 | goto detected. | GJB 4.5.1.2 |
M | 2427 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2428 | goto detected. | GJB 4.5.1.2 |
M | 2429 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2436 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2437 | goto detected. | GJB 4.5.1.2 |
M | 2444 | goto detected. | GJB 4.5.1.2 |
M | 2445 | goto detected. | GJB 4.5.1.2 |
M | 2449 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2452 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2458 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2459 | goto detected. | GJB 4.5.1.2 |
M | 2468 | goto detected. | GJB 4.5.1.2 |
M | 2471 | goto detected. | GJB 4.5.1.2 |
M | 2474 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 2488 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2489 | goto detected. | GJB 4.5.1.2 |
M | 2492 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2495 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2497 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2498 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2507 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2508 | goto detected. | GJB 4.5.1.2 |
M | 2512 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2512 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2515 | goto detected. | GJB 4.5.1.2 |
M | 2516 | goto detected. | GJB 4.5.1.2 |
M | 2521 | goto detected. | GJB 4.5.1.2 |
M | 2528 | goto detected. | GJB 4.5.1.2 |
M | 2536 | goto detected. | GJB 4.5.1.2 |
M | 2537 | goto detected. | GJB 4.5.1.2 |
M | 2545 | goto detected. | GJB 4.5.1.2 |
M | 2546 | goto detected. | GJB 4.5.1.2 |
M | 2550 | goto detected. | GJB 4.5.1.2 |
M | 2551 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2553 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2557 | goto detected. | GJB 4.5.1.2 |
M | 2558 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2559 | goto detected. | GJB 4.5.1.2 |
M | 2559 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2561 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2565 | goto detected. | GJB 4.5.1.2 |
M | 2566 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2567 | goto detected. | GJB 4.5.1.2 |
M | 2568 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2572 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2576 | goto detected. | GJB 4.5.1.2 |
M | 2577 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2581 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2582 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2592 | goto detected. | GJB 4.5.1.2 |
M | 2594 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2335 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2520 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 6 | GJB 4.7.1.9 |
M | 2314 | Static procedure is not explicitly called in code analysed. : peer_io_handler | GJB 4.7.1.3 |
M | 2499 | Procedure contains UR data flow anomalies. : msg_head |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_session_forceshutdown (2615 to 2635 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2625 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2633 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_setup_frontend (2638 to 2650 peers.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peer_session_create (2655 to 2717 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2672 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2670 | goto detected. | GJB 4.5.1.2 |
M | 2672 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2673 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2678 | goto detected. | GJB 4.5.1.2 |
M | 2681 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2681 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2683 | goto detected. | GJB 4.5.1.2 |
M | 2693 | goto detected. | GJB 4.5.1.2 |
M | 2705 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_peer_sync (2723 to 2960 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2890 | Pointer not checked for null before use. : ps | GJB 5.1.15 |
M | 2908 | Pointer not checked for null before use. : ps | GJB 5.1.15 |
M | 2741 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2767 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2769 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2771 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2787 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2793 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2843 | Value is not of appropriate type. : (unsigned char and unsigned short): ha_random () | GJB 4.6.1.8 |
M | 2843 | Expression needs brackets. | GJB 5.1.2 |
M | 2843 | Value is not of appropriate type. : (unsigned char and unsigned short): ha_random () % | GJB 4.6.1.8 |
M | 2853 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2858 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2864 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2865 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2891 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2900 | Value is not of appropriate type. : (unsigned char and unsigned short): ha_random () | GJB 4.6.1.8 |
M | 2900 | Expression needs brackets. | GJB 5.1.2 |
M | 2900 | Value is not of appropriate type. : (unsigned char and unsigned short): ha_random () % | GJB 4.6.1.8 |
M | 2914 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2919 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2920 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2921 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2922 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2938 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2951 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2956 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2778 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 2929 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 2723 | Static procedure is not explicitly called in code analysed. : process_peer_sync | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_init_sync (2966 to 2983 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2979 | Value is not of appropriate type. : (int and void*): peers -> sync_task -> context = ( void * | GJB 4.6.1.8 |
M | 2979 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
new_dcache_tx (2988 to 3009 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3001 | Pointer not checked for null before use. : entries | GJB 5.1.15 |
M | 2993 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 2994 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2995 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2996 | goto detected. | GJB 4.5.1.2 |
M | 3003 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3005 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3007 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3009 | Memory not freed after last reference. : entries |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
new_dcache (3017 to 3040 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3029 | Pointer not checked for null before use. : dc_tx | GJB 5.1.15 |
M | 3030 | Pointer not checked for null before use. : dc_rx | GJB 5.1.15 |
M | 3023 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3025 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3026 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3026 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3027 | goto detected. | GJB 4.5.1.2 |
M | 3031 | Signed/unsigned conversion without cast. : (int and unsigned int): dc -> max_entries = max_entries | GJB 4.6.1.9 |
M | 3033 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3035 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3037 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3038 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3040 | Memory not freed after last reference. : dc_tx | GJB 5.1.17 |
M | 3040 | Memory not freed after last reference. : dc_rx |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dcache_tx_lookup_value (3047 to 3051 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3047 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 3048 | Name found with length less than 2. : i | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flush_dcache (3057 to 3072 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3059 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3063 | Value is not of appropriate type. : (unsigned int and int): ebpt_delete ( & dc -> tx -> entries [ i | GJB 4.6.1.8 |
M | 3064 | Value is not of appropriate type. : (unsigned int and int): dc -> tx -> entries [ i | GJB 4.6.1.8 |
M | 3065 | Value is not of appropriate type. : (unsigned int and int): dict_entry_unref ( & server_key_dict , dc -> rx [ i | GJB 4.6.1.8 |
M | 3066 | Value is not of appropriate type. : (unsigned int and int): dc -> rx [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dcache_tx_insert (3080 to 3115 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3087 | Pointer not checked for null before use. : dc_tx | GJB 5.1.15 |
M | 3106 | Pointer not checked for null before use. : o | GJB 5.1.15 |
M | 3080 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3087 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3104 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3104 | Value is not of appropriate type. : (unsigned int and int): dc_tx -> prev_lookup = o = &dc_tx -> entries [ dc_tx -> lru_key | GJB 4.6.1.8 |
M | 3114 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_alloc_dcache (3121 to 3132 peers.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_register_table (3138 to 3156 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3146 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 3145 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3156 | Memory not freed after last reference. : st |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_peers (3163 to 3182 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3163 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3163 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3163 | Static procedure is not explicitly called in code analysed. : cli_parse_show_peers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_dump_head (3189 to 3211 peers.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
peers_dump_peer (3218 to 3371 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3261 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 3332 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 3347 | Pointer not checked for null before use. : de | GJB 5.1.15 |
M | 3261 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3336 | Pointer not checked for null before use. : dcache | GJB 5.1.15 |
M | 3221 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3259 | goto detected. | GJB 4.5.1.2 |
M | 3261 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3262 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3266 | goto detected. | GJB 4.5.1.2 |
M | 3270 | goto detected. | GJB 4.5.1.2 |
M | 3278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3280 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3278 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3288 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3290 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3288 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3316 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3317 | Name reused in inner scope. : t | GJB 4.15.1.2,4.15.1.5 |
M | 3340 | Value is not of appropriate type. : (unsigned int and int): node = &dcache -> tx -> entries [ i | GJB 4.6.1.8 |
M | 3344 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3344 | Expression needs brackets. | GJB 5.1.2 |
M | 3347 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3353 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3353 | Expression needs brackets. | GJB 5.1.2 |
M | 3355 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %3u -> %s" , i , dcache -> rx [ i | GJB 4.6.1.8 |
M | 3357 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3357 | Value is not of appropriate type. : (unsigned int and int): ( char * ) dcache -> rx [ i | GJB 4.6.1.8 |
M | 3233 | Actual and formal parameters inconsistent (MR). : (peer and int): param 1 | GJB 4.7.1.9 |
M | 3221 | Procedure contains UR data flow anomalies. : pn | GJB 4.13.1.4 |
M | 3363 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_peers (3379 to 3446 peers.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3402 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3413 | goto detected. | GJB 4.5.1.2 |
M | 3431 | goto detected. | GJB 4.5.1.2 |
M | 3392 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3379 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_peers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_pipe (38 to 91 pipe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 43 | Pointer not checked for null before use. : local_pipes | GJB 5.1.15 |
M | 80 | Pointer not checked for null before use. : pipes_live | GJB 5.1.15 |
M | 38 | Empty parameter list to procedure/function. : get_pipe | GJB 4.1.1.10 |
M | 49 | goto detected. | GJB 4.5.1.2 |
M | 61 | goto detected. | GJB 4.5.1.2 |
M | 66 | Expression needs brackets. | GJB 5.1.2 |
M | 67 | goto detected. | GJB 4.5.1.2 |
M | 71 | goto detected. | GJB 4.5.1.2 |
M | 74 | goto detected. | GJB 4.5.1.2 |
M | 85 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 41 | Procedure contains UR data flow anomalies. : pipefd |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
kill_pipe (96 to 102 pipe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 96 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
put_pipe (108 to 129 pipe.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 108 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 115 | Expression needs brackets. | GJB 5.1.2 |
M | 119 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
qdisc_init (22 to 31 plug_qdisc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 25 | Pointer not checked for null before use. : nl_sock | GJB 5.1.15 |
M | 28 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
plug_qdisc_release_indefinite_buffer (36 to 40 plug_qdisc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Pointer not checked for null before use. : qdisc | GJB 5.1.15 |
M | 39 | Pointer not checked for null before use. : nl_sock |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
plug_qdisc_plug_buffer (43 to 47 plug_qdisc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 46 | Pointer not checked for null before use. : qdisc | GJB 5.1.15 |
M | 46 | Pointer not checked for null before use. : nl_sock |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
plug_qdisc_attach (55 to 85 plug_qdisc.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 62 | Pointer not checked for null before use. : tc | GJB 5.1.15 |
M | 62 | Pointer not checked for null before use. : link_cache | GJB 5.1.15 |
M | 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 59 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (38 to 61 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
die (63 to 68 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 63 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_errno (70 to 79 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 70 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 72 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 77 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 77 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 78 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_acc (81 to 91 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 86 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_snd (93 to 100 poll.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_mor (102 to 109 poll.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_rcv (111 to 119 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 113 | Procedure contains UR data flow anomalies. : buf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_drn (121 to 138 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 123 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 123 | Procedure contains UR data flow anomalies. : buf | GJB 4.13.1.4 |
M | 125 | Procedure contains UR data flow anomalies. : ret |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_shr (140 to 147 poll.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_shw (149 to 156 poll.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_shb (158 to 165 poll.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_lin (167 to 175 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 169 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_clo (177 to 184 poll.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_pol (186 to 219 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 188 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 194 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (221 to 365 poll.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 270 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 221 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 224 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 239 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 245 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 254 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 310 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 254 | Procedure contains UR data flow anomalies. : struct | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
create_pool (57 to 146 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Pointer not checked for null before use. : pool | GJB 5.1.15 |
M | 144 | Pointer not checked for null before use. : pool | GJB 5.1.15 |
M | 130 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 57 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 76 | Use of sizeof on a type. | GJB 5.1.8 |
M | 77 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 77 | Expression needs brackets. | GJB 5.1.2 |
M | 77 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 86 | Signed/unsigned conversion without cast. : (int and unsigned int): entry -> size == size | GJB 4.6.1.9 |
M | 102 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 122 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 129 | Signed/unsigned conversion without cast. : (int and unsigned int): pool -> flags = flags | GJB 4.6.1.9 |
M | 145 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 60 | Procedure contains UR data flow anomalies. : entry |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__pool_refill_alloc (322 to 370 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 332 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 362 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 362 | Signed/unsigned conversion without cast. : (int and unsigned int): ++ pool -> allocated | GJB 4.6.1.9 |
M | 362 | Expression needs brackets. | GJB 5.1.2 |
M | 362 | Signed/unsigned conversion without cast. : (int and unsigned int): ++ pool -> allocated > avail | GJB 4.6.1.9 |
M | 365 | Value is not of appropriate type. : (int and void*): POOL_LINK ( pool , ptr ) = ( void * | GJB 4.6.1.8 |
M | 369 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_refill_alloc (371 to 379 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 378 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_flush (383 to 403 pool.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_gc (410 to 432 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 424 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 420 | Comment possibly contains code. | GJB 4.10.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_destroy (442 to 464 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 460 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_destroy_all (467 to 473 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 467 | Empty parameter list to procedure/function. : pool_destroy_all | GJB 4.1.1.10 |
M | 469 | Procedure contains UR data flow anomalies. : entry |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_pools_to_trash (476 to 504 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 476 | Empty parameter list to procedure/function. : dump_pools_to_trash | GJB 4.1.1.10 |
M | 482 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 482 | Signed/unsigned conversion without cast. : (unsigned long and int): allocated = used = nbpools | GJB 4.6.1.9 |
M | 495 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 496 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_total_failures (514 to 522 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 514 | Empty parameter list to procedure/function. : pool_total_failures | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_total_allocated (525 to 533 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 525 | Empty parameter list to procedure/function. : pool_total_allocated | GJB 4.1.1.10 |
M | 530 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_total_used (536 to 544 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 536 | Empty parameter list to procedure/function. : pool_total_used | GJB 4.1.1.10 |
M | 541 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_pools (550 to 560 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 550 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_pools | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
create_pool_callback (566 to 574 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 566 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 571 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_pools (577 to 590 pool.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 577 | Empty parameter list to procedure/function. : init_pools | GJB 4.1.1.10 |
M | 577 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_bind_socket (142 to 219 proto_quic.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 150 | No default case in switch statement. | GJB 4.3.1.4 |
M | 179 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 179 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 181 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 181 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 185 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 185 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 187 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 187 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 192 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 198 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 205 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_connect_server (248 to 515 proto_quic.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 265 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 284 | Pointer not checked for null before use. : be | GJB 5.1.15 |
M | 270 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 277 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 282 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 288 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 294 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 294 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 330 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 350 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 357 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 361 | Null case in switch statement. | GJB 4.3.1.8 |
M | 353 | No default case in switch statement. | GJB 4.3.1.4 |
M | 385 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 385 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 386 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 392 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 393 | Value is not of appropriate type. : (unsigned int and int): ! fdinfo [ fd | GJB 4.6.1.8 |
M | 398 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 399 | Value is not of appropriate type. : (unsigned int and int): set_host_port ( & sa , fdinfo [ fd | GJB 4.6.1.8 |
M | 417 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 417 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 418 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 446 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 447 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 447 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 447 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 447 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 451 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 455 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 456 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 457 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 457 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 467 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 467 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 468 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 473 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 474 | Comment possibly contains code. | GJB 4.10.2.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 475 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 476 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 483 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 484 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 484 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 485 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 500 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 446 | Procedure contains UR data flow anomalies. : struct | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_add_listener (521 to 527 proto_quic.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 521 | Static procedure is not explicitly called in code analysed. : quic_add_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_bind_listener (542 to 569 proto_quic.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 542 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 545 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 556 | goto detected. | GJB 4.5.1.2 |
M | 563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 542 | Static procedure is not explicitly called in code analysed. : quic_bind_listener | GJB 4.7.1.3 |
M | 563 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_enable_listener (574 to 582 proto_quic.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 574 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 574 | Static procedure is not explicitly called in code analysed. : quic_enable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_disable_listener (587 to 595 proto_quic.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 587 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 587 | Static procedure is not explicitly called in code analysed. : quic_disable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_enable_listener (107 to 110 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 107 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 107 | Static procedure is not explicitly called in code analysed. : sockpair_enable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_disable_listener (115 to 118 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 115 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 115 | Static procedure is not explicitly called in code analysed. : sockpair_disable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_bind_receiver (128 to 173 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | goto detected. | GJB 4.5.1.2 |
M | 150 | goto detected. | GJB 4.5.1.2 |
M | 156 | goto detected. | GJB 4.5.1.2 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 172 | goto detected. | GJB 4.5.1.2 |
M | 128 | Function has no return statement. : sockpair_bind_receiver | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_bind_listener (181 to 207 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 181 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 184 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 197 | goto detected. | GJB 4.5.1.2 |
M | 181 | Static procedure is not explicitly called in code analysed. : sockpair_bind_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
send_fd_uxst (217 to 254 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 241 | Pointer not checked for null before use. : cmsg | GJB 5.1.15 |
M | 246 | Pointer not checked for null before use. : fdptr | GJB 5.1.15 |
M | 219 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 224 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 225 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 232 | Use of sizeof on a type. | GJB 5.1.8 |
M | 238 | Use of sizeof on a type. | GJB 5.1.8 |
M | 241 | Use of sizeof on a type. | GJB 5.1.8 |
M | 248 | Signed/unsigned conversion without cast. : (int and unsigned int): sendmsg ( fd , & msghdr , 0 ) != sizeof | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_connect_server (283 to 374 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 291 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 365 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 283 | Static procedure is not explicitly called in code analysed. : sockpair_connect_server | GJB 4.7.1.3 |
M | 285 | Procedure contains UR data flow anomalies. : sv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
recv_fd_uxst (384 to 431 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 388 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 391 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 392 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 398 | Use of sizeof on a type. | GJB 5.1.8 |
M | 407 | Use of sizeof on a type. | GJB 5.1.8 |
M | 414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 414 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 425 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_accepting_conn (439 to 468 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 439 | Static procedure is not explicitly called in code analysed. : sockpair_accepting_conn | GJB 4.7.1.3 |
M | 443 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sockpair_accept_conn (474 to 566 proto_sockpair.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 474 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 481 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 481 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 488 | goto detected. | GJB 4.5.1.2 |
M | 491 | goto detected. | GJB 4.5.1.2 |
M | 498 | goto detected. | GJB 4.5.1.2 |
M | 501 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 522 | Null case in switch statement. | GJB 4.3.1.8 |
M | 543 | Null case in switch statement. | GJB 4.3.1.8 |
M | 554 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 558 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 565 | goto detected. | GJB 4.5.1.2 |
M | 474 | Function has no return statement. : sockpair_accept_conn | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_bind_socket (150 to 227 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 158 | No default case in switch statement. | GJB 4.3.1.4 |
M | 187 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 187 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 189 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 189 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 193 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 193 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 195 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 195 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 200 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 206 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 213 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_connect_server (259 to 578 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 277 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 304 | Pointer not checked for null before use. : be | GJB 5.1.15 |
M | 290 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 297 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 302 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 308 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 314 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 314 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 320 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 320 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 351 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 390 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 397 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 401 | Null case in switch statement. | GJB 4.3.1.8 |
M | 393 | No default case in switch statement. | GJB 4.3.1.4 |
M | 425 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 425 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 426 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 432 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 433 | Value is not of appropriate type. : (unsigned int and int): ! fdinfo [ fd | GJB 4.6.1.8 |
M | 438 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 439 | Value is not of appropriate type. : (unsigned int and int): set_host_port ( & sa , fdinfo [ fd | GJB 4.6.1.8 |
M | 457 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 457 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 458 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 501 | Empty then clause. | GJB 4.3.1.1 |
M | 509 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 510 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 510 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 514 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 518 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 518 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 518 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 518 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 518 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 518 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 519 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 520 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 520 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 530 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 530 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 531 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 536 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 537 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 538 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 538 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 539 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 546 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 547 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd | GJB 4.6.1.8 |
M | 547 | Value is not of appropriate type. : (unsigned int and int): port_range_release_port ( fdinfo [ fd ].port_range , fdinfo [ fd | GJB 4.6.1.8 |
M | 548 | Value is not of appropriate type. : (unsigned int and int): fdinfo [ fd | GJB 4.6.1.8 |
M | 563 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 509 | Procedure contains UR data flow anomalies. : struct | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_bind_listener (593 to 735 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 597 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 610 | goto detected. | GJB 4.5.1.2 |
M | 616 | Use of sizeof on a type. | GJB 5.1.8 |
M | 620 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 621 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 711 | goto detected. | GJB 4.5.1.2 |
M | 723 | goto detected. | GJB 4.5.1.2 |
M | 729 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 729 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_enable_listener (740 to 743 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 740 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 740 | Static procedure is not explicitly called in code analysed. : tcp_enable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_disable_listener (748 to 751 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 748 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 748 | Static procedure is not explicitly called in code analysed. : tcp_disable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_suspend_receiver (756 to 787 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 758 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 768 | goto detected. | GJB 4.5.1.2 |
M | 756 | Static procedure is not explicitly called in code analysed. : tcp_suspend_receiver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_resume_receiver (792 to 804 proto_tcp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 792 | Static procedure is not explicitly called in code analysed. : tcp_resume_receiver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
udp_bind_listener (126 to 153 proto_udp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 126 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 140 | goto detected. | GJB 4.5.1.2 |
M | 147 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 147 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
udp_enable_listener (158 to 161 proto_udp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 158 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 158 | Static procedure is not explicitly called in code analysed. : udp_enable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
udp_disable_listener (166 to 169 proto_udp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 166 | Static procedure is not explicitly called in code analysed. : udp_disable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
udp_suspend_receiver (179 to 202 proto_udp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 196 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 181 | Procedure contains UR data flow anomalies. : ss |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
udp_resume_receiver (210 to 222 proto_udp.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 212 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
uxst_bind_listener (106 to 148 proto_uxst.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 110 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 123 | goto detected. | GJB 4.5.1.2 |
M | 130 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 133 | goto detected. | GJB 4.5.1.2 |
M | 144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 106 | Static procedure is not explicitly called in code analysed. : uxst_bind_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
uxst_enable_listener (153 to 156 proto_uxst.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 153 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 153 | Static procedure is not explicitly called in code analysed. : uxst_enable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
uxst_disable_listener (161 to 164 proto_uxst.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 161 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 161 | Static procedure is not explicitly called in code analysed. : uxst_disable_listener | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
uxst_suspend_receiver (172 to 183 proto_uxst.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 181 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 172 | Static procedure is not explicitly called in code analysed. : uxst_suspend_receiver | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
uxst_connect_server (209 to 364 proto_uxst.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 222 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 234 | Pointer not checked for null before use. : be | GJB 5.1.15 |
M | 227 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 229 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 229 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 232 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 238 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 244 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 244 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 250 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 250 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 280 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 299 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 299 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 305 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 305 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 305 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 307 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 307 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 307 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 322 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 349 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 209 | Static procedure is not explicitly called in code analysed. : uxst_connect_server | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_register (36 to 45 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 40 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 41 | Value is not of appropriate type. : (unsigned int and int): __protocol_by_family [ proto -> fam -> sock_domain | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_bind_all (61 to 120 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 81 | Pointer not checked for null before use. : listener | GJB 5.1.15 |
M | 66 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 88 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 88 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 89 | free used on string. | GJB 5.1.19 |
M | 99 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 110 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 66 | Procedure contains UR data flow anomalies. : msg | GJB 4.13.1.4 |
M | 63 | Procedure contains UR data flow anomalies. : proto | GJB 4.13.1.4 |
M | 65 | Procedure contains UR data flow anomalies. : receiver |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_unbind_all (127 to 141 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | Procedure contains UR data flow anomalies. : listener |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_stop_now (149 to 161 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | Procedure contains UR data flow anomalies. : lback | GJB 4.13.1.4 |
M | 151 | Procedure contains UR data flow anomalies. : proto |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_pause_all (168 to 183 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 171 | Procedure contains UR data flow anomalies. : listener | GJB 4.13.1.4 |
M | 170 | Procedure contains UR data flow anomalies. : proto |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_resume_all (190 to 205 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | Procedure contains UR data flow anomalies. : listener | GJB 4.13.1.4 |
M | 192 | Procedure contains UR data flow anomalies. : proto |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
protocol_enable_all (211 to 223 protocol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 214 | Procedure contains UR data flow anomalies. : listener |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_cap_str (120 to 129 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 120 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 126 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_mode_str (135 to 145 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 135 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_backend_server (154 to 181 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 173 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 174 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 174 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_timeout (192 to 313 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 192 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 194 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 198 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 213 | Type conversion without cast. : (int and char): cap = PR_CAP_FE | GJB 4.6.1.9 |
M | 217 | Type conversion without cast. : (int and char): cap = PR_CAP_FE | GJB 4.6.1.9 |
M | 217 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | 217 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | 221 | Type conversion without cast. : (int and char): cap = PR_CAP_FE | GJB 4.6.1.9 |
M | 221 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | 221 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | 225 | Type conversion without cast. : (int and char): cap = PR_CAP_FE | GJB 4.6.1.9 |
M | 225 | Operation not appropriate to plain char. : | used with char: PR_CAP_FE | GJB 4.1.1.15 |
M | 225 | Operation not appropriate to plain char. : | used with char: PR_CAP_BE | GJB 4.1.1.15 |
M | 230 | Type conversion without cast. : (int and char): cap = PR_CAP_BE | GJB 4.6.1.9 |
M | 235 | Type conversion without cast. : (int and char): cap = PR_CAP_BE | GJB 4.6.1.9 |
M | 239 | Type conversion without cast. : (int and char): cap = PR_CAP_BE | GJB 4.6.1.9 |
M | 243 | Type conversion without cast. : (int and char): cap = PR_CAP_BE | GJB 4.6.1.9 |
M | 247 | Type conversion without cast. : (int and char): cap = PR_CAP_BE | GJB 4.6.1.9 |
M | 251 | Type conversion without cast. : (int and char): cap = PR_CAP_FE | GJB 4.6.1.9 |
M | 255 | Type conversion without cast. : (int and char): cap = PR_CAP_BE | GJB 4.6.1.9 |
M | 274 | Value is not of appropriate type. : (char and signed char): * args [ 1 ] == 0 | GJB 4.6.1.8 |
M | 293 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 304 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 306 | Value is not of appropriate type. : (char and signed char): * args [ 2 ] != 0 | GJB 4.6.1.8 |
M | 192 | Static procedure is not explicitly called in code analysed. : proxy_parse_timeout | GJB 4.7.1.3 |
M | 196 | Procedure contains UR data flow anomalies. : timeout |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_rate_limit (322 to 366 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 323 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 324 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 343 | Value is not of appropriate type. : (char and signed char): * args [ 2 ] == 0 | GJB 4.6.1.8 |
M | 359 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 362 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 322 | Static procedure is not explicitly called in code analysed. : proxy_parse_rate_limit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_max_ka_queue (375 to 405 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 375 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 376 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 377 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 380 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 385 | Value is not of appropriate type. : (char and signed char): * args [ 1 ] == 0 | GJB 4.6.1.8 |
M | 390 | Signed/unsigned conversion without cast. : (unsigned int and long): val = strtol | GJB 4.6.1.9 |
M | 403 | Signed/unsigned conversion without cast. : (int and unsigned int): proxy -> max_ka_queue = val | GJB 4.6.1.9 |
M | 403 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 375 | Static procedure is not explicitly called in code analysed. : proxy_parse_max_ka_queue | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_declare (414 to 505 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 484 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 414 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 415 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 416 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 431 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 442 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 447 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 447 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 448 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 449 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 461 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 461 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 483 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 491 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 496 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 414 | Static procedure is not explicitly called in code analysed. : proxy_parse_declare | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_retry_on (508 to 574 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 509 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 510 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 511 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 513 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 524 | Value is not of appropriate type. : (unsigned int and int): * ( args [ i | GJB 4.6.1.8 |
M | 525 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 527 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 529 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 531 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 533 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 535 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 537 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 539 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 541 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 543 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 545 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 547 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 549 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 551 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 553 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 555 | Value is not of appropriate type. : (unsigned int and int): ! ( strcmp ( args [ i | GJB 4.6.1.8 |
M | 560 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ i | GJB 4.6.1.8 |
M | 561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 561 | Value is not of appropriate type. : (unsigned int and int): * args [ i + 1 | GJB 4.6.1.8 |
M | 566 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s': unknown keyword '%s'" , args [ 0 ] , args [ i | GJB 4.6.1.8 |
M | 508 | Static procedure is not explicitly called in code analysed. : proxy_parse_retry_on | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_find_by_id (748 to 767 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 755 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 764 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_find_by_name (773 to 801 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 788 | Pointer not checked for null before use. : curproxy | GJB 5.1.15 |
M | 773 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 794 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_find_best_match (841 to 929 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 922 | Pointer not checked for null before use. : diff | GJB 5.1.15 |
M | 841 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 852 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 856 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 856 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 914 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 914 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 924 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
findserver (937 to 960 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 937 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 959 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 939 | Procedure contains UR data flow anomalies. : target |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_cfg_ensure_no_http (968 to 1000 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 990 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 991 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_new_proxy (1006 to 1053 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1009 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1006 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1008 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_cond_disable (1060 to 1093 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1060 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1065 | Expression needs brackets. | GJB 5.1.2 |
M | 1071 | goto detected. | GJB 4.5.1.2 |
M | 1079 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1079 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1079 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1083 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1083 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1088 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1088 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
manage_proxy (1101 to 1168 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1101 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1112 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1113 | Name reused in inner scope. : t | GJB 4.15.1.2,4.15.1.5 |
M | 1132 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1132 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1132 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1145 | goto detected. | GJB 4.5.1.2 |
M | 1149 | goto detected. | GJB 4.5.1.2 |
M | 1152 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1152 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1159 | goto detected. | GJB 4.5.1.2 |
M | 1105 | Procedure contains UR data flow anomalies. : wait |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_hard_stop_after (1171 to 1197 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1171 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1173 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1175 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1195 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1171 | Static procedure is not explicitly called in code analysed. : proxy_parse_hard_stop_after | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hard_stop (1199 to 1231 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1199 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1202 | Procedure contains UR data flow anomalies. : s |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
soft_stop (1238 to 1284 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1249 | Pointer not checked for null before use. : task | GJB 5.1.15 |
M | 1273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pause_proxy (1291 to 1307 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1291 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1293 | Procedure contains UR data flow anomalies. : l |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stop_proxy (1317 to 1332 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1317 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1319 | Procedure contains UR data flow anomalies. : l |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
resume_proxy (1339 to 1377 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1339 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_set_backend (1385 to 1485 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1443 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 1385 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1416 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1426 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1426 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1432 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1432 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1471 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_capture_error (1506 to 1578 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1576 | Pointer not checked for null before use. : es | GJB 5.1.15 |
M | 1521 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1523 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 1523 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1527 | Signed/unsigned conversion without cast. : (int and unsigned int): es -> buf_len = buf_len | GJB 4.6.1.9 |
M | 1528 | Signed/unsigned conversion without cast. : (int and unsigned int): es -> ev_id = ev_id | GJB 4.6.1.9 |
M | 1531 | Signed/unsigned conversion without cast. : (int and unsigned int): len1 | GJB 4.6.1.9 |
M | 1531 | Signed/unsigned conversion without cast. : (int and unsigned int): len1 > buf_len | GJB 4.6.1.9 |
M | 1532 | Signed/unsigned conversion without cast. : (int and unsigned int): len1 = buf_len | GJB 4.6.1.9 |
M | 1536 | Signed/unsigned conversion without cast. : (int and unsigned int): len2 = buf_len | GJB 4.6.1.9 |
M | 1536 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1541 | Signed/unsigned conversion without cast. : (int and unsigned int): es -> buf_err = err_pos | GJB 4.6.1.9 |
M | 1545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1551 | Signed/unsigned conversion without cast. : (int and unsigned int): es -> buf_out = buf_out | GJB 4.6.1.9 |
M | 1576 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1578 | Memory not freed after last reference. : es |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | show |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_adjust_all_maxconn (1586 to 1652 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1591 | Pointer not checked for null before use. : proxies_list | GJB 5.1.15 |
M | 1586 | Empty parameter list to procedure/function. : proxy_adjust_all_maxconn | GJB 4.1.1.10 |
M | 1605 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1626 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1642 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1589 | Procedure contains UR data flow anomalies. : swrule1 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_find_frontend (1687 to 1702 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1687 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1701 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_find_backend (1708 to 1723 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1708 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1722 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_servers (1731 to 1749 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1731 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1731 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1731 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1731 | Static procedure is not explicitly called in code analysed. : cli_parse_show_servers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_servers_state (1758 to 1839 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1761 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1779 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1814 | Pointer not checked for null before use. : srvrecord | GJB 5.1.15 |
M | 1763 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1797 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1827 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1828 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1828 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %u" , srv -> curr_idle_thr [ thr | GJB 4.6.1.8 |
M | 1796 | Procedure contains UR data flow anomalies. : srvrecord |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_servers_state (1845 to 1887 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1877 | Pointer not checked for null before use. : curproxy | GJB 5.1.15 |
M | 1845 | Static procedure is not explicitly called in code analysed. : cli_io_handler_servers_state | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_backend (1892 to 1927 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1912 | Pointer not checked for null before use. : curproxy | GJB 5.1.15 |
M | 1892 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_backend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_enable_dyncookie_backend (1933 to 1959 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1933 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1933 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1933 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1933 | Static procedure is not explicitly called in code analysed. : cli_parse_enable_dyncookie_backend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_disable_dyncookie_backend (1965 to 1994 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1965 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1965 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1965 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1987 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1965 | Static procedure is not explicitly called in code analysed. : cli_parse_disable_dyncookie_backend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_dyncookie_key_backend (2000 to 2035 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2026 | Pointer not checked for null before use. : (px)->dyncookie_key | GJB 5.1.15 |
M | 2000 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2000 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2000 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2004 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2024 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2000 | Static procedure is not explicitly called in code analysed. : cli_parse_set_dyncookie_key_backend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_maxconn_frontend (2041 to 2078 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2041 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2041 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2041 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2045 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 2041 | Static procedure is not explicitly called in code analysed. : cli_parse_set_maxconn_frontend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_shutdown_frontend (2084 to 2100 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2084 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2084 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2084 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2084 | Static procedure is not explicitly called in code analysed. : cli_parse_shutdown_frontend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_disable_frontend (2106 to 2132 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2106 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2106 | Static procedure is not explicitly called in code analysed. : cli_parse_disable_frontend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_enable_frontend (2138 to 2163 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2138 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2138 | Static procedure is not explicitly called in code analysed. : cli_parse_enable_frontend | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_errors (2168 to 2195 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2168 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2192 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2168 | Static procedure is not explicitly called in code analysed. : cli_parse_show_errors | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_errors (2201 to 2363 proxy.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2204 | extern not in nominated include file. | GJB 4.7.1.5 |
M | 2204 | Extern used in function body. | GJB 5.1.21 |
M | 2204 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2224 | goto detected. | GJB 4.5.1.2 |
M | 2242 | goto detected. | GJB 4.5.1.2 |
M | 2247 | goto detected. | GJB 4.5.1.2 |
M | 2251 | goto detected. | GJB 4.5.1.2 |
M | 2253 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2256 | goto detected. | GJB 4.5.1.2 |
M | 2261 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2272 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2277 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2280 | Signed/unsigned conversion without cast. : (unsigned char and int): case | GJB 4.6.1.9 |
M | 2285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2288 | Signed/unsigned conversion without cast. : (unsigned char and int): case | GJB 4.6.1.9 |
M | 2279 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2314 | goto detected. | GJB 4.5.1.2 |
M | 2325 | goto detected. | GJB 4.5.1.2 |
M | 2327 | goto detected. | GJB 4.5.1.2 |
M | 2331 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2331 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2338 | goto detected. | GJB 4.5.1.2 |
M | 2341 | goto detected. | GJB 4.5.1.2 |
M | 2201 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_errors | GJB 4.7.1.3 |
M | 2261 | Procedure contains UR data flow anomalies. : pn | GJB 4.13.1.4 |
M | 2346 | Identifier reuse: label vs variable (MR). : next |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
typeerror (45 to 57 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 56 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 55 | Pointer not checked for null before use. : typearg | GJB 5.1.15 |
M | 45 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 45 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 45 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 47 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tag_error (60 to 62 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 60 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 61 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
luaL_checkboolean (65 to 71 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 65 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 65 | Name found with length less than 2. : L | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_register_message (74 to 94 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 91 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 91 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 74 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 74 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 76 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 74 | Static procedure is not explicitly called in code analysed. : ps_lua_register_message | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_null (96 to 109 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 105 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 96 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 96 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_null | GJB 4.7.1.3 |
M | 99 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_boolean (111 to 125 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 122 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 111 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 111 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 111 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_boolean | GJB 4.7.1.3 |
M | 114 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_uint32 (127 to 144 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 141 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 127 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 127 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 127 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_uint32 | GJB 4.7.1.3 |
M | 130 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_int32 (146 to 163 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 146 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 146 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 148 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 146 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_int32 | GJB 4.7.1.3 |
M | 149 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_uint64 (165 to 182 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 179 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 165 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 165 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 167 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 165 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_uint64 | GJB 4.7.1.3 |
M | 168 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_int64 (184 to 198 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 195 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 184 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 184 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 186 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 184 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_int64 | GJB 4.7.1.3 |
M | 187 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_ipv4 (200 to 222 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 213 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 219 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 200 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 200 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 205 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 217 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 200 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_ipv4 | GJB 4.7.1.3 |
M | 206 | Procedure contains UR data flow anomalies. : ipv4 | GJB 4.13.1.4 |
M | 203 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_ipv6 (224 to 246 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 237 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 243 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 224 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 224 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 226 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 229 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 241 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 224 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_ipv6 | GJB 4.7.1.3 |
M | 230 | Procedure contains UR data flow anomalies. : ipv6 | GJB 4.13.1.4 |
M | 227 | Procedure contains UR data flow anomalies. : name_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_str (248 to 263 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 260 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 248 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 248 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 250 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 248 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_str | GJB 4.7.1.3 |
M | 251 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 254 | Procedure contains UR data flow anomalies. : value_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_set_var_bin (265 to 280 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 277 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 277 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 265 | Parameter has same name as global variable. : L | GJB 4.15.1.3 |
M | 265 | Name found with length less than 2. : L | GJB 4.8.1.1 |
M | 267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 270 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 265 | Static procedure is not explicitly called in code analysed. : ps_lua_set_var_bin | GJB 4.7.1.3 |
M | 268 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 271 | Procedure contains UR data flow anomalies. : value_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_start_worker (282 to 365 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 290 | Pointer not checked for null before use. : L | GJB 5.1.15 |
M | 282 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 282 | Static procedure is not explicitly called in code analysed. : ps_lua_start_worker | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_load_file (367 to 404 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 372 | Pointer not checked for null before use. : L | GJB 5.1.15 |
M | 367 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 367 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 386 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 389 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 393 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 397 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 402 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 367 | Static procedure is not explicitly called in code analysed. : ps_lua_load_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_lua_exec_message (406 to 502 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 419 | Pointer not checked for null before use. : L | GJB 5.1.15 |
M | 495 | Pointer not checked for null before use. : msg_fmt | GJB 5.1.15 |
M | 406 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 408 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 410 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 411 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 412 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 423 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , args [ i | GJB 4.6.1.8 |
M | 423 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , args [ i ].name.str , args [ i | GJB 4.6.1.8 |
M | 426 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 431 | Value is not of appropriate type. : (unsigned int and int): lua_pushboolean ( L , args [ i | GJB 4.6.1.8 |
M | 434 | Value is not of appropriate type. : (unsigned int and int): lua_pushinteger ( L , args [ i | GJB 4.6.1.8 |
M | 437 | Value is not of appropriate type. : (unsigned int and int): lua_pushinteger ( L , args [ i | GJB 4.6.1.8 |
M | 440 | Value is not of appropriate type. : (unsigned int and int): lua_pushinteger ( L , args [ i | GJB 4.6.1.8 |
M | 443 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 446 | Value is not of appropriate type. : (unsigned int and int): lua_pushinteger ( L , args [ i | GJB 4.6.1.8 |
M | 449 | Value is not of appropriate type. : (unsigned int and int): inet_ntop ( AF_INET , & args [ i | GJB 4.6.1.8 |
M | 455 | Value is not of appropriate type. : (unsigned int and int): inet_ntop ( AF_INET6 , & args [ i | GJB 4.6.1.8 |
M | 461 | Null case in switch statement. | GJB 4.3.1.8 |
M | 462 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , args [ i | GJB 4.6.1.8 |
M | 462 | Value is not of appropriate type. : (unsigned int and int): lua_pushlstring ( L , args [ i ].value.u.buffer.str , args [ i | GJB 4.6.1.8 |
M | 477 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 480 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 483 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 485 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 487 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 489 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 498 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 406 | Static procedure is not explicitly called in code analysed. : ps_lua_exec_message | GJB 4.7.1.3 |
M | 413 | Procedure contains UR data flow anomalies. : ipbuf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__ps_lua_init (505 to 509 ps_lua.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 505 | Static procedure is not explicitly called in code analysed. : __ps_lua_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_register_message (82 to 94 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 91 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 82 | Function has no return statement. : ps_python_register_message | GJB 4.9.1.1 |
M | 82 | Static procedure is not explicitly called in code analysed. : ps_python_register_message | GJB 4.7.1.3 |
M | 84 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 85 | Procedure contains UR data flow anomalies. : ref | GJB 4.13.1.4 |
M | 82 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_null (96 to 113 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 98 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | Function has no return statement. : ps_python_set_var_null | GJB 4.9.1.1 |
M | 96 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_null | GJB 4.7.1.3 |
M | 98 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 99 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 101 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 96 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_boolean (115 to 133 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 115 | Function has no return statement. : ps_python_set_var_boolean | GJB 4.9.1.1 |
M | 115 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_boolean | GJB 4.7.1.3 |
M | 117 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 118 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 119 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 120 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 115 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_int32 (135 to 153 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 137 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 135 | Function has no return statement. : ps_python_set_var_int32 | GJB 4.9.1.1 |
M | 135 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_int32 | GJB 4.7.1.3 |
M | 137 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 138 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 139 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 140 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 135 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_uint32 (155 to 173 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 157 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 155 | Function has no return statement. : ps_python_set_var_uint32 | GJB 4.9.1.1 |
M | 155 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_uint32 | GJB 4.7.1.3 |
M | 157 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 158 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 159 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 160 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 155 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_int64 (175 to 193 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 177 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 175 | Function has no return statement. : ps_python_set_var_int64 | GJB 4.9.1.1 |
M | 175 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_int64 | GJB 4.7.1.3 |
M | 177 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 178 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 179 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 180 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 175 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_uint64 (195 to 213 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 197 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 195 | Function has no return statement. : ps_python_set_var_uint64 | GJB 4.9.1.1 |
M | 195 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_uint64 | GJB 4.7.1.3 |
M | 197 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 198 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 199 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 200 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 195 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_ipv4 (215 to 250 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 238 | Signed/unsigned conversion without cast. : (int and unsigned int): PY_STRING_GET_SIZE ( value ) != sizeof | GJB 4.6.1.9 |
M | 215 | Function has no return statement. : ps_python_set_var_ipv4 | GJB 4.9.1.1 |
M | 215 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_ipv4 | GJB 4.7.1.3 |
M | 217 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 218 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 219 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 215 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_ipv6 (252 to 287 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 254 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 275 | Signed/unsigned conversion without cast. : (int and unsigned int): PY_STRING_GET_SIZE ( value ) != sizeof | GJB 4.6.1.9 |
M | 252 | Function has no return statement. : ps_python_set_var_ipv6 | GJB 4.9.1.1 |
M | 252 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_ipv6 | GJB 4.7.1.3 |
M | 254 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 255 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 256 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 252 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_str (289 to 310 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 291 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 294 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 289 | Function has no return statement. : ps_python_set_var_str | GJB 4.9.1.1 |
M | 289 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_str | GJB 4.7.1.3 |
M | 291 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 292 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 293 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 294 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 295 | Procedure contains UR data flow anomalies. : value_len | GJB 4.13.1.4 |
M | 289 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_set_var_bin (312 to 333 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 317 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 312 | Function has no return statement. : ps_python_set_var_bin | GJB 4.9.1.1 |
M | 312 | Static procedure is not explicitly called in code analysed. : ps_python_set_var_bin | GJB 4.7.1.3 |
M | 314 | Procedure contains UR data flow anomalies. : name | GJB 4.13.1.4 |
M | 315 | Procedure contains UR data flow anomalies. : name_len | GJB 4.13.1.4 |
M | 316 | Procedure contains UR data flow anomalies. : scope | GJB 4.13.1.4 |
M | 317 | Procedure contains UR data flow anomalies. : value | GJB 4.13.1.4 |
M | 318 | Procedure contains UR data flow anomalies. : value_len | GJB 4.13.1.4 |
M | 312 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_start_worker (381 to 536 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 441 | Pointer not checked for null before use. : spoa_error | GJB 5.1.15 |
M | 381 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 381 | Static procedure is not explicitly called in code analysed. : ps_python_start_worker | GJB 4.7.1.3 |
M | 383 | Procedure contains UR data flow anomalies. : m |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_load_file (538 to 557 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 538 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 538 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 545 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 538 | Static procedure is not explicitly called in code analysed. : ps_python_load_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_python_exec_message (559 to 794 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 738 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 559 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 561 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 571 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 572 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 572 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 606 | Value is not of appropriate type. : (unsigned int and int): value = PY_STRING_FROM_STRING_AND_SIZE ( args [ i | GJB 4.6.1.8 |
M | 606 | Value is not of appropriate type. : (unsigned int and int): value = PY_STRING_FROM_STRING_AND_SIZE ( args [ i ].name.str , args [ i | GJB 4.6.1.8 |
M | 635 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 641 | Value is not of appropriate type. : (unsigned int and int): value = PyBool_FromLong ( args [ i | GJB 4.6.1.8 |
M | 644 | Value is not of appropriate type. : (unsigned int and int): value = PyLong_FromLong ( args [ i | GJB 4.6.1.8 |
M | 647 | Value is not of appropriate type. : (unsigned int and int): value = PyLong_FromLong ( args [ i | GJB 4.6.1.8 |
M | 650 | Value is not of appropriate type. : (unsigned int and int): value = PyLong_FromLong ( args [ i | GJB 4.6.1.8 |
M | 653 | Value is not of appropriate type. : (unsigned int and int): value = PyLong_FromUnsignedLong ( args [ i | GJB 4.6.1.8 |
M | 656 | Null case in switch statement. | GJB 4.3.1.8 |
M | 657 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 658 | Value is not of appropriate type. : (unsigned int and int): p = inet_ntop ( AF_INET , & args [ i | GJB 4.6.1.8 |
M | 660 | Value is not of appropriate type. : (unsigned int and int): p = inet_ntop ( AF_INET6 , & args [ i | GJB 4.6.1.8 |
M | 720 | Value is not of appropriate type. : (unsigned int and int): value = PY_STRING_FROM_STRING_AND_SIZE ( args [ i | GJB 4.6.1.8 |
M | 720 | Value is not of appropriate type. : (unsigned int and int): value = PY_STRING_FROM_STRING_AND_SIZE ( args [ i ].value.u.buffer.str , args [ i | GJB 4.6.1.8 |
M | 723 | Value is not of appropriate type. : (unsigned int and int): value = PY_BYTES_FROM_STRING_AND_SIZE ( args [ i | GJB 4.6.1.8 |
M | 723 | Value is not of appropriate type. : (unsigned int and int): value = PY_BYTES_FROM_STRING_AND_SIZE ( args [ i ].value.u.buffer.str , args [ i | GJB 4.6.1.8 |
M | 559 | Static procedure is not explicitly called in code analysed. : ps_python_exec_message | GJB 4.7.1.3 |
M | 571 | Procedure contains UR data flow anomalies. : ipbuf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__ps_python_init (797 to 800 ps_python.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 797 | Static procedure is not explicitly called in code analysed. : __ps_python_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_purger_basic (23 to 101 purger.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Pointer not checked for null before use. : key.data | GJB 5.1.15 |
M | 24 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 28 | Name reused in inner scope. : txn | GJB 4.15.1.2,4.15.1.5 |
M | 33 | goto detected. | GJB 4.5.1.2 |
M | 37 | goto detected. | GJB 4.5.1.2 |
M | 42 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 42 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 44 | Value is not of appropriate type. : (unsigned int and int): nst_rule_t * rule = nuster.proxy [ p -> uuid | GJB 4.6.1.8 |
M | 50 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 54 | goto detected. | GJB 4.5.1.2 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 62 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 67 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 68 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 81 | goto detected. | GJB 4.5.1.2 |
M | 97 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 53 | Attempt to read from freed memory. : key | GJB 5.1.16 |
M | 28 | Procedure contains UR data flow anomalies. : txn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_purger_advanced (103 to 326 purger.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 121 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 193 | Pointer not checked for null before use. : regex_str | GJB 5.1.15 |
M | 228 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 193 | Pointer not checked for null before use. : error | GJB 5.1.15 |
M | 104 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 114 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 118 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 128 | goto detected. | GJB 4.5.1.2 |
M | 138 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 148 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Value is not of appropriate type. : (int and char): strlen ( p -> id | GJB 4.6.1.8 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 150 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 156 | goto detected. | GJB 4.5.1.2 |
M | 159 | Value is not of appropriate type. : (unsigned int and int): rule = nuster.proxy [ p -> uuid | GJB 4.6.1.8 |
M | 168 | goto detected. | GJB 4.5.1.2 |
M | 178 | goto detected. | GJB 4.5.1.2 |
M | 184 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 187 | goto detected. | GJB 4.5.1.2 |
M | 191 | Value is not of appropriate type. : (unsigned int and int): regex_str [ hdr.value.len | GJB 4.6.1.8 |
M | 193 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 194 | goto detected. | GJB 4.5.1.2 |
M | 197 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 203 | goto detected. | GJB 4.5.1.2 |
M | 208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 209 | goto detected. | GJB 4.5.1.2 |
M | 212 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 212 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | goto detected. | GJB 4.5.1.2 |
M | 216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | goto detected. | GJB 4.5.1.2 |
M | 223 | goto detected. | GJB 4.5.1.2 |
M | 240 | Null case in switch statement. | GJB 4.3.1.8 |
M | 247 | Null case in switch statement. | GJB 4.3.1.8 |
M | 238 | No default case in switch statement. | GJB 4.3.1.4 |
M | 259 | goto detected. | GJB 4.5.1.2 |
M | 265 | Null case in switch statement. | GJB 4.3.1.8 |
M | 263 | No default case in switch statement. | GJB 4.3.1.4 |
M | 307 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 307 | free used on string. | GJB 5.1.19 |
M | 311 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 311 | free used on string. | GJB 5.1.19 |
M | 326 | Memory not freed after last reference. : regex_str | GJB 5.1.17 |
M | 310 | Attempt to read from freed memory. : regex_str | GJB 5.1.16 |
M | 117 | Procedure contains UR data flow anomalies. : regex |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_purger_check (328 to 366 purger.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 359 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 332 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_purger_handler (368 to 432 purger.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 427 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 379 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 408 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start | GJB 4.6.1.9 |
M | 408 | Expression needs brackets. | GJB 5.1.2 |
M | 420 | Signed/unsigned conversion without cast. : (unsigned long and int): nst_time_now_ms () - start | GJB 4.6.1.9 |
M | 420 | Expression needs brackets. | GJB 5.1.2 |
M | 368 | Static procedure is not explicitly called in code analysed. : nst_purger_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_purger_release_handler (434 to 442 purger.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 434 | Static procedure is not explicitly called in code analysed. : nst_purger_release_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_purger_init (444 to 448 purger.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 445 | Empty parameter list to procedure/function. : nst_purger_init | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_dynamic_maxconn (103 to 124 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 103 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 114 | Expression needs brackets. | GJB 5.1.2 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Expression needs brackets. | GJB 5.1.2 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 120 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 120 | Expression needs brackets. | GJB 5.1.2 |
M | 121 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 121 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__pendconn_unlink_srv (133 to 137 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 133 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__pendconn_unlink_prx (146 to 150 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 146 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_queue_lock (156 to 162 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 156 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_queue_unlock (168 to 174 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 168 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_unlink (183 to 213 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 183 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_first (220 to 240 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 233 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_process_next_strm (260 to 336 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 323 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 286 | goto detected. | GJB 4.5.1.2 |
M | 288 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 289 | goto detected. | GJB 4.5.1.2 |
M | 292 | goto detected. | GJB 4.5.1.2 |
M | 295 | goto detected. | GJB 4.5.1.2 |
M | 307 | goto detected. | GJB 4.5.1.2 |
M | 316 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_srv_queue (341 to 356 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 341 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 348 | Signed/unsigned conversion without cast. : (int and unsigned int): srv_dynamic_maxconn | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_add (377 to 436 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 396 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 394 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 435 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 390 | Procedure contains UR data flow anomalies. : srv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_redistribute (442 to 472 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 457 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 442 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_grab_from_px (480 to 515 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 480 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 498 | Signed/unsigned conversion without cast. : (int and unsigned int): srv_dynamic_maxconn | GJB 4.6.1.9 |
M | 499 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 500 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 500 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pendconn_dequeue (526 to 565 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 547 | Pointer not checked for null before use. : p |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_set_priority_class (567 to 578 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 568 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 567 | Static procedure is not explicitly called in code analysed. : action_set_priority_class | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_set_priority_offset (580 to 592 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 581 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 580 | Static procedure is not explicitly called in code analysed. : action_set_priority_offset | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_set_priority_class (594 to 620 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 594 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 595 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 599 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 599 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 613 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 594 | Static procedure is not explicitly called in code analysed. : parse_set_priority_class | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_set_priority_offset (622 to 648 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 622 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 623 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 627 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 627 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 641 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 622 | Static procedure is not explicitly called in code analysed. : parse_set_priority_offset | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_priority_class (666 to 676 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 667 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 667 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 666 | Static procedure is not explicitly called in code analysed. : smp_fetch_priority_class | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_priority_offset (678 to 688 queue.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 679 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 679 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 678 | Static procedure is not explicitly called in code analysed. : smp_fetch_priority_offset | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_cc_init (34 to 41 quic_cc.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_cc_nr_init (29 to 40 quic_cc_newreno.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 35 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 29 | Static procedure is not explicitly called in code analysed. : quic_cc_nr_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_cc_nr_ss_cb (43 to 76 quic_cc_newreno.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 51 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 64 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 65 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 66 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 49 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_cc_nr_ca_cb (79 to 125 quic_cc_newreno.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 87 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 101 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 90 | goto detected. | GJB 4.5.1.2 |
M | 95 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 104 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 85 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_cc_nr_state_trace (127 to 134 quic_cc_newreno.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | Static procedure is not explicitly called in code analysed. : quic_cc_nr_state_trace | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_cc_nr_event (142 to 145 quic_cc_newreno.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 144 | Void procedure with return statement. : quic_cc_nr_event | GJB 4.9.1.2 |
M | 142 | Static procedure is not explicitly called in code analysed. : quic_cc_nr_event | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_frame_type_string (17 to 87 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 17 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 20 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 21 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 22 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 23 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 24 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 25 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 26 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 27 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 28 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 29 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 30 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 31 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 32 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 33 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 34 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 35 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 37 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 38 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 39 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 40 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 41 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 42 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 43 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 44 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 45 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 46 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 47 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 48 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 49 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 50 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 51 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 52 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 54 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 55 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 56 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 57 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 58 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 59 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 60 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 61 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 62 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 63 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 64 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 65 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 66 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 67 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 68 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 69 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 70 | Case is not part of switch enumeration. | GJB 5.1.6 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 71 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 72 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 73 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 74 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 75 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 76 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 77 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 78 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 79 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 80 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 81 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 82 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 83 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 86 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 19 | Switch has missing or extra cases. | GJB 5.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_padding_frame (92 to 104 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 101 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 97 | Expression needs brackets. | GJB 5.1.2 |
M | 101 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 92 | Static procedure is not explicitly called in code analysed. : quic_build_padding_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_padding_frame (109 to 122 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 119 | Pointer not checked for null before use. : beg | GJB 5.1.15 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Expression needs brackets. | GJB 5.1.2 |
M | 118 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 119 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_ping_frame (127 to 132 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | Static procedure is not explicitly called in code analysed. : quic_build_ping_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_ping_frame (137 to 142 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 137 | Static procedure is not explicitly called in code analysed. : quic_parse_ping_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_ack_frame (147 to 177 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 155 | Pointer not checked for null before use. : ar | GJB 5.1.15 |
M | 156 | Pointer not checked for null before use. : ar_node | GJB 5.1.15 |
M | 166 | Pointer not checked for null before use. : prev_ar_node | GJB 5.1.15 |
M | 173 | Pointer not checked for null before use. : ar | GJB 5.1.15 |
M | 168 | Pointer not checked for null before use. : ar_node | GJB 5.1.15 |
M | 158 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 159 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 160 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 160 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 161 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 164 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 147 | Static procedure is not explicitly called in code analysed. : quic_build_ack_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_ack_frame_header (182 to 205 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 182 | Static procedure is not explicitly called in code analysed. : quic_parse_ack_frame_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_ack_ecn_frame (210 to 219 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 215 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 216 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 210 | Static procedure is not explicitly called in code analysed. : quic_build_ack_ecn_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_ack_ecn_frame (224 to 233 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 224 | Static procedure is not explicitly called in code analysed. : quic_parse_ack_ecn_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_reset_stream_frame (238 to 246 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 245 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 238 | Static procedure is not explicitly called in code analysed. : quic_build_reset_stream_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_reset_stream_frame (251 to 259 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 256 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 257 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 257 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 258 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 251 | Static procedure is not explicitly called in code analysed. : quic_parse_reset_stream_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_stop_sending_frame (264 to 271 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 269 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 264 | Static procedure is not explicitly called in code analysed. : quic_build_stop_sending_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_stop_sending_frame (276 to 283 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Static procedure is not explicitly called in code analysed. : quic_parse_stop_sending_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_crypto_frame (288 to 318 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 311 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 312 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 311 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 296 | Expression needs brackets. | GJB 5.1.2 |
M | 306 | Signed/unsigned conversion without cast. : (int and unsigned int): idx = offset | GJB 4.6.1.9 |
M | 307 | Value is not of appropriate type. : (unsigned int and int): to_copy = qel -> tx.crypto.bufs [ idx | GJB 4.6.1.8 |
M | 307 | Signed/unsigned conversion without cast. : (int and unsigned int): to_copy = qel -> tx.crypto.bufs [ idx ] -> sz - ( | GJB 4.6.1.9 |
M | 310 | Value is not of appropriate type. : (unsigned int and int): data = qel -> tx.crypto.bufs [ idx | GJB 4.6.1.8 |
M | 310 | Signed/unsigned conversion without cast. : (int and unsigned int): data = qel -> tx.crypto.bufs [ idx ] -> data + ( | GJB 4.6.1.9 |
M | 312 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 313 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 314 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 288 | Static procedure is not explicitly called in code analysed. : quic_build_crypto_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_crypto_frame (323 to 336 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 328 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 329 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 329 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 329 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 329 | Expression needs brackets. | GJB 5.1.2 |
M | 333 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 323 | Static procedure is not explicitly called in code analysed. : quic_parse_crypto_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_new_token_frame (341 to 352 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 346 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 346 | Expression needs brackets. | GJB 5.1.2 |
M | 341 | Static procedure is not explicitly called in code analysed. : quic_build_new_token_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_new_token_frame (357 to 369 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 362 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 362 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 362 | Expression needs brackets. | GJB 5.1.2 |
M | 366 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 357 | Static procedure is not explicitly called in code analysed. : quic_parse_new_token_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_stream_frame (374 to 389 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 386 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 380 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Expression needs brackets. | GJB 5.1.2 |
M | 386 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 374 | Static procedure is not explicitly called in code analysed. : quic_build_stream_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_stream_frame (394 to 420 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 409 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | Expression needs brackets. | GJB 5.1.2 |
M | 414 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 417 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 394 | Static procedure is not explicitly called in code analysed. : quic_parse_stream_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_max_data_frame (425 to 431 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 425 | Static procedure is not explicitly called in code analysed. : quic_build_max_data_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_max_data_frame (436 to 442 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 436 | Static procedure is not explicitly called in code analysed. : quic_parse_max_data_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_max_stream_data_frame (447 to 454 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 452 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 453 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 447 | Static procedure is not explicitly called in code analysed. : quic_build_max_stream_data_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_max_stream_data_frame (459 to 466 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 459 | Static procedure is not explicitly called in code analysed. : quic_parse_max_stream_data_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_max_streams_bidi_frame (471 to 477 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 471 | Static procedure is not explicitly called in code analysed. : quic_build_max_streams_bidi_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_max_streams_bidi_frame (483 to 489 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 483 | Static procedure is not explicitly called in code analysed. : quic_parse_max_streams_bidi_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_max_streams_uni_frame (494 to 500 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 494 | Static procedure is not explicitly called in code analysed. : quic_build_max_streams_uni_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_max_streams_uni_frame (506 to 512 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 506 | Static procedure is not explicitly called in code analysed. : quic_parse_max_streams_uni_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_data_blocked_frame (517 to 523 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 517 | Static procedure is not explicitly called in code analysed. : quic_build_data_blocked_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_data_blocked_frame (528 to 534 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 528 | Static procedure is not explicitly called in code analysed. : quic_parse_data_blocked_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_stream_data_blocked_frame (539 to 546 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 545 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 539 | Static procedure is not explicitly called in code analysed. : quic_build_stream_data_blocked_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_stream_data_blocked_frame (551 to 558 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 556 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 557 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Static procedure is not explicitly called in code analysed. : quic_parse_stream_data_blocked_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_streams_blocked_bidi_frame (563 to 569 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 563 | Static procedure is not explicitly called in code analysed. : quic_build_streams_blocked_bidi_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_streams_blocked_bidi_frame (575 to 581 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 575 | Static procedure is not explicitly called in code analysed. : quic_parse_streams_blocked_bidi_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_streams_blocked_uni_frame (586 to 592 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 586 | Static procedure is not explicitly called in code analysed. : quic_build_streams_blocked_uni_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_streams_blocked_uni_frame (598 to 604 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 598 | Static procedure is not explicitly called in code analysed. : quic_parse_streams_blocked_uni_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_new_connection_id_frame (609 to 629 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 623 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 626 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 622 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 625 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 614 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 616 | Expression needs brackets. | GJB 5.1.2 |
M | 619 | Expression needs brackets. | GJB 5.1.2 |
M | 619 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 623 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 626 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 626 | Signed/unsigned conversion without cast. : (unsigned char and int): buf += QUIC_STATELESS_RESET_TOKEN_LEN | GJB 4.6.1.9 |
M | 609 | Static procedure is not explicitly called in code analysed. : quic_build_new_connection_id_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_new_connection_id_frame (634 to 655 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 651 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 639 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 640 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 640 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 640 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 643 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 643 | Expression needs brackets. | GJB 5.1.2 |
M | 644 | Expression needs brackets. | GJB 5.1.2 |
M | 649 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 652 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 652 | Signed/unsigned conversion without cast. : (unsigned char and int): buf += QUIC_STATELESS_RESET_TOKEN_LEN | GJB 4.6.1.9 |
M | 634 | Static procedure is not explicitly called in code analysed. : quic_parse_new_connection_id_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_retire_connection_id_frame (660 to 666 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 660 | Static procedure is not explicitly called in code analysed. : quic_build_retire_connection_id_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_retire_connection_id_frame (671 to 677 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 671 | Static procedure is not explicitly called in code analysed. : quic_parse_retire_connection_id_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_path_challenge_frame (682 to 694 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 691 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 687 | Expression needs brackets. | GJB 5.1.2 |
M | 691 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 682 | Static procedure is not explicitly called in code analysed. : quic_build_path_challenge_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_path_challenge_frame (699 to 711 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 704 | Expression needs brackets. | GJB 5.1.2 |
M | 708 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 699 | Static procedure is not explicitly called in code analysed. : quic_parse_path_challenge_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_path_response_frame (717 to 729 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 726 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 722 | Expression needs brackets. | GJB 5.1.2 |
M | 726 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 717 | Static procedure is not explicitly called in code analysed. : quic_build_path_response_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_path_response_frame (734 to 746 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 739 | Expression needs brackets. | GJB 5.1.2 |
M | 743 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 734 | Static procedure is not explicitly called in code analysed. : quic_parse_path_response_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_connection_close_frame (753 to 768 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 765 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 759 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 759 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 761 | Expression needs brackets. | GJB 5.1.2 |
M | 765 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 753 | Static procedure is not explicitly called in code analysed. : quic_build_connection_close_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_connection_close_frame (775 to 792 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 780 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Expression needs brackets. | GJB 5.1.2 |
M | 788 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 775 | Static procedure is not explicitly called in code analysed. : quic_parse_connection_close_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_connection_close_app_frame (799 to 815 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 811 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 804 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 805 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 805 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 806 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 806 | Expression needs brackets. | GJB 5.1.2 |
M | 811 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 799 | Static procedure is not explicitly called in code analysed. : quic_build_connection_close_app_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_connection_close_app_frame (822 to 836 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 827 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 829 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 829 | Expression needs brackets. | GJB 5.1.2 |
M | 833 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 822 | Static procedure is not explicitly called in code analysed. : quic_parse_connection_close_app_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_build_handshake_done_frame (841 to 846 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 841 | Static procedure is not explicitly called in code analysed. : quic_build_handshake_done_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_parse_handshake_done_frame (851 to 856 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 851 | Static procedure is not explicitly called in code analysed. : quic_parse_handshake_done_frame | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
qc_parse_frm (942 to 974 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 966 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 953 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 953 | Expression needs brackets. | GJB 5.1.2 |
M | 959 | Value is not of appropriate type. : (unsigned int and int): parser = &quic_frame_parsers [ frm -> type | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
qc_build_frm (979 to 1001 quic_frame.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 993 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 991 | Expression needs brackets. | GJB 5.1.2 |
M | 991 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 992 | Value is not of appropriate type. : (unsigned int and int): builder = &quic_frame_builders [ frm -> type | GJB 4.6.1.8 |
M | 993 | Value is not of appropriate type. : (unsigned int and int): ! quic_frame_builders [ frm -> type | GJB 4.6.1.8 |
M | 998 | Value is not of appropriate type. : (unsigned int and int): pkt -> flags |= builder [ frm -> type | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_session_accept (31 to 82 quic_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 34 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 54 | goto detected. | GJB 4.5.1.2 |
M | 59 | goto detected. | GJB 4.5.1.2 |
M | 63 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
new_quic_cli_conn (90 to 124 quic_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 100 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 90 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 97 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 97 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 98 | goto detected. | GJB 4.5.1.2 |
M | 101 | goto detected. | GJB 4.5.1.2 |
M | 96 | Procedure contains UR data flow anomalies. : dst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_sock_accept_conn (138 to 188 quic_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 148 | Pointer not checked for null before use. : pkt | GJB 5.1.15 |
M | 166 | Pointer not checked for null before use. : odcid | GJB 5.1.15 |
M | 138 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 149 | goto detected. | GJB 4.5.1.2 |
M | 154 | goto detected. | GJB 4.5.1.2 |
M | 160 | goto detected. | GJB 4.5.1.2 |
M | 175 | goto detected. | GJB 4.5.1.2 |
M | 187 | goto detected. | GJB 4.5.1.2 |
M | 138 | Function has no return statement. : quic_sock_accept_conn | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_sock_fd_iocb (193 to 224 quic_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 211 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 197 | Value is not of appropriate type. : (unsigned int and int): objt_listener ( fdtab [ fd | GJB 4.6.1.8 |
M | 205 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 211 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 214 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 216 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_tls_keys_hexdump (31 to 47 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 39 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 39 | Signed/unsigned conversion without cast. : (int and unsigned int): i < aead_keylen | GJB 4.6.1.9 |
M | 40 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 40 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , "%02x" , secs -> key [ i | GJB 4.6.1.8 |
M | 42 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 42 | Signed/unsigned conversion without cast. : (int and unsigned int): i < aead_ivlen | GJB 4.6.1.9 |
M | 43 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 43 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , "%02x" , secs -> iv [ i | GJB 4.6.1.8 |
M | 45 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 45 | Signed/unsigned conversion without cast. : (int and unsigned int): i < hp_len | GJB 4.6.1.9 |
M | 46 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 46 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , "%02x" , secs -> hp_key [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_tls_secret_hexdump (50 to 58 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 56 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 56 | Signed/unsigned conversion without cast. : (int and unsigned int): i < secret_len | GJB 4.6.1.9 |
M | 57 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 57 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , "%02x" , secret [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_hkdf_extract (77 to 102 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 88 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 89 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 90 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 90 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 91 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 91 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 92 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 92 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_hkdf_expand (104 to 129 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 115 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 117 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 121 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_hkdf_expand_label (158 to 179 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 172 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 173 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 174 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 175 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 164 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 164 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 168 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 168 | Expression needs brackets. | GJB 5.1.2 |
M | 169 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 169 | Expression needs brackets. | GJB 5.1.2 |
M | 170 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 170 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 170 | Expression needs brackets. | GJB 5.1.2 |
M | 175 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 175 | Type conversion without cast. : (unsigned char and char): pos ++ = '\0' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_tls_derive_keys (188 to 214 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 198 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 198 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 199 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 199 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 200 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 200 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 202 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 209 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_derive_initial_secret (220 to 229 quic_tls.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_tls_derive_initial_secrets (235 to 266 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 241 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 241 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 242 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 242 | Value is not of appropriate type. : (unsigned char and char): | GJB 4.6.1.8 |
M | 248 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 250 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 254 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 256 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 259 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 260 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 261 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 262 | Expression with more than one function. | GJB 4.7.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_aead_iv_build (275 to 294 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 278 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 285 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 285 | Signed/unsigned conversion without cast. : (int and unsigned int): i < ivlen | GJB 4.6.1.9 |
M | 285 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 285 | Expression needs brackets. | GJB 5.1.2 |
M | 286 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 286 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 290 | Signed/unsigned conversion without cast. : (int and unsigned int): i = aead_ivlen | GJB 4.6.1.9 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 290 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 290 | Signed/unsigned conversion without cast. : (int and unsigned int): i < aead_ivlen | GJB 4.6.1.9 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 290 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 291 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 291 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 291 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_tls_encrypt (328 to 353 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 345 | goto detected. | GJB 4.5.1.2 |
M | 333 | Procedure contains UR data flow anomalies. : outlen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quic_tls_decrypt (355 to 388 quic_tls.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 364 | Signed/unsigned conversion without cast. : (unsigned int and int): off | GJB 4.6.1.9 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 371 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 371 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 372 | goto detected. | GJB 4.5.1.2 |
M | 374 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 374 | Signed/unsigned conversion without cast. : (unsigned int and int): off += outlen | GJB 4.6.1.9 |
M | 376 | Expression needs brackets. | GJB 5.1.2 |
M | 377 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | goto detected. | GJB 4.5.1.2 |
M | 381 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 381 | Signed/unsigned conversion without cast. : (unsigned int and int): off += outlen | GJB 4.6.1.9 |
M | 383 | Signed/unsigned conversion without cast. : (int and unsigned int): ret = off | GJB 4.6.1.9 |
M | 359 | Procedure contains UR data flow anomalies. : outlen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
raw_sock_to_buf (228 to 332 raw_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 240 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 245 | goto detected. | GJB 4.5.1.2 |
M | 250 | goto detected. | GJB 4.5.1.2 |
M | 259 | Signed/unsigned conversion without cast. : (unsigned int and int): count | GJB 4.6.1.9 |
M | 271 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 286 | goto detected. | GJB 4.5.1.2 |
M | 293 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 299 | goto detected. | GJB 4.5.1.2 |
M | 301 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 301 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 309 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 312 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 331 | goto detected. | GJB 4.5.1.2 |
M | 228 | Function has no return statement. : raw_sock_to_buf | GJB 4.9.1.1 |
M | 228 | Static procedure is not explicitly called in code analysed. : raw_sock_to_buf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
raw_sock_from_buf (346 to 416 raw_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 361 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 365 | Signed/unsigned conversion without cast. : (unsigned int and int): done | GJB 4.6.1.9 |
M | 376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 383 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 393 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 393 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 393 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 398 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 401 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 407 | Signed/unsigned conversion without cast. : (unsigned int and int): done | GJB 4.6.1.9 |
M | 413 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 346 | Static procedure is not explicitly called in code analysed. : raw_sock_from_buf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
raw_sock_subscribe (423 to 426 raw_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 423 | Static procedure is not explicitly called in code analysed. : raw_sock_subscribe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
raw_sock_unsubscribe (432 to 435 raw_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 432 | Static procedure is not explicitly called in code analysed. : raw_sock_unsubscribe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
raw_sock_remove_xprt (438 to 445 raw_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 438 | Static procedure is not explicitly called in code analysed. : raw_sock_remove_xprt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__raw_sock_init (466 to 469 raw_sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 466 | Static procedure is not explicitly called in code analysed. : __raw_sock_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
exp_replace (26 to 92 regex.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 50 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 26 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 26 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 26 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 28 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 29 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 37 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 40 | Type conversion without cast. : (int and char): num = *str | GJB 4.6.1.9 |
M | 43 | Value is not of appropriate type. : (unsigned int and int): matches [ num | GJB 4.6.1.8 |
M | 43 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 43 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 43 | Value is not of appropriate type. : (unsigned int and int): matches [ num | GJB 4.6.1.8 |
M | 44 | Value is not of appropriate type. : (unsigned int and int): len = matches [ num | GJB 4.6.1.8 |
M | 44 | Value is not of appropriate type. : (unsigned int and int): len = matches [ num ].rm_eo - matches [ num | GJB 4.6.1.8 |
M | 46 | Expression needs brackets. | GJB 5.1.2 |
M | 49 | Value is not of appropriate type. : (unsigned int and int): memcpy ( dst , src + matches [ num | GJB 4.6.1.8 |
M | 60 | Signed/unsigned conversion without cast. : (unsigned char and int): hex1 = toupper | GJB 4.6.1.9 |
M | 60 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 60 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 65 | Signed/unsigned conversion without cast. : (unsigned char and int): hex2 = toupper | GJB 4.6.1.9 |
M | 65 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 65 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 67 | Signed/unsigned conversion without cast. : (unsigned char and int): hex1 | GJB 4.6.1.9 |
M | 67 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 67 | Type conversion without cast. : (unsigned char and char): hex1 -= 'A' | GJB 4.6.1.9 |
M | 67 | Operation not appropriate to plain char. : - used with char: 'A' | GJB 4.1.1.15 |
M | 67 | Value is not of appropriate type. : (char and signed char): hex1 -= 'A' - '9' | GJB 4.6.1.8 |
M | 68 | Signed/unsigned conversion without cast. : (unsigned char and int): hex2 | GJB 4.6.1.9 |
M | 68 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 68 | Type conversion without cast. : (unsigned char and char): hex2 -= 'A' | GJB 4.6.1.9 |
M | 68 | Operation not appropriate to plain char. : - used with char: 'A' | GJB 4.1.1.15 |
M | 68 | Value is not of appropriate type. : (char and signed char): hex2 -= 'A' - '9' | GJB 4.6.1.8 |
M | 73 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 73 | Type conversion without cast. : (char and unsigned char): dst ++ = ( hex1 << 4 | GJB 4.6.1.9 |
M | 73 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 73 | Expression needs brackets. | GJB 5.1.2 |
M | 78 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 84 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_replace_string (95 to 123 regex.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 108 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 111 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 97 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 104 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 122 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
regex_exec_match (131 to 215 regex.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 132 | Parameter has same name as global variable. : pmatch |
GJB 4.15.1.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
regex_exec_match2 (225 to 310 regex.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 225 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 226 | Parameter has same name as global variable. : pmatch | GJB 4.15.1.3 |
M | 299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 299 | Value is not of appropriate type. : (unsigned int and int): subject [ length | GJB 4.6.1.8 |
M | 303 | Value is not of appropriate type. : (unsigned int and int): subject [ length | GJB 4.6.1.8 |
M | 305 | Value is not of appropriate type. : (unsigned int and int): subject [ length | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
regex_comp (312 to 400 regex.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 312 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 312 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 331 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 334 | goto detected. | GJB 4.5.1.2 |
M | 392 | goto detected. | GJB 4.5.1.2 |
M | 395 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 397 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
regex_register_build_options (402 to 446 regex.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 402 | Static procedure is not explicitly called in code analysed. : regex_register_build_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (11 to 45 reset.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 11 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 12 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 16 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 28 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 36 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 37 | Use of banned function or variable. : perror | GJB 4.7.1.4 |
M | 42 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 42 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_new (33 to 61 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 49 | Pointer not checked for null before use. : ring | GJB 5.1.15 |
M | 38 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 39 | goto detected. | GJB 4.5.1.2 |
M | 41 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 43 | goto detected. | GJB 4.5.1.2 |
M | 45 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 47 | goto detected. | GJB 4.5.1.2 |
M | 56 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 57 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 59 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_resize (68 to 94 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Signed/unsigned conversion without cast. : (int and unsigned int): b_size ( & ring -> buf ) >= size | GJB 4.6.1.9 |
M | 75 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 82 | Signed/unsigned conversion without cast. : (int and unsigned int): b_size ( & ring -> buf ) < size | GJB 4.6.1.9 |
M | 92 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 94 | Memory not freed after last reference. : area |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_free (97 to 103 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 100 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 102 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_write (113 to 199 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 122 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 132 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 132 | Signed/unsigned conversion without cast. : (int and unsigned int): i < npfx | GJB 4.6.1.9 |
M | 133 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 133 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 133 | Value is not of appropriate type. : (unsigned int and int): totlen += pfx [ i | GJB 4.6.1.8 |
M | 134 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 134 | Signed/unsigned conversion without cast. : (int and unsigned int): i < nmsg | GJB 4.6.1.9 |
M | 135 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 135 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 135 | Value is not of appropriate type. : (unsigned int and int): totlen += msg [ i | GJB 4.6.1.8 |
M | 143 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 143 | Expression needs brackets. | GJB 5.1.2 |
M | 144 | goto detected. | GJB 4.5.1.2 |
M | 146 | Signed/unsigned conversion without cast. : (int and unsigned int): b_room ( buf ) < lenlen | GJB 4.6.1.9 |
M | 146 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 146 | Expression needs brackets. | GJB 5.1.2 |
M | 155 | goto detected. | GJB 4.5.1.2 |
M | 158 | goto detected. | GJB 4.5.1.2 |
M | 159 | Expression needs brackets. | GJB 5.1.2 |
M | 168 | Signed/unsigned conversion without cast. : (unsigned int and int): totlen | GJB 4.6.1.9 |
M | 169 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 169 | Signed/unsigned conversion without cast. : (int and unsigned int): i < npfx | GJB 4.6.1.9 |
M | 170 | Value is not of appropriate type. : (unsigned int and int): pfx [ i | GJB 4.6.1.8 |
M | 172 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 172 | Expression needs brackets. | GJB 5.1.2 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Value is not of appropriate type. : (unsigned int and int): __b_putblk ( buf , pfx [ i | GJB 4.6.1.8 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 179 | Signed/unsigned conversion without cast. : (int and unsigned int): i < nmsg | GJB 4.6.1.9 |
M | 180 | Value is not of appropriate type. : (unsigned int and int): msg [ i | GJB 4.6.1.8 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Expression needs brackets. | GJB 5.1.2 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Value is not of appropriate type. : (unsigned int and int): __b_putblk ( buf , msg [ i | GJB 4.6.1.8 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 116 | Procedure contains UR data flow anomalies. : appctx | GJB 4.13.1.4 |
M | 119 | Procedure contains UR data flow anomalies. : dellen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_attach (208 to 217 ring.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_detach_appctx (222 to 237 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ring_attach_cli (245 to 259 ring.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_ring (270 to 368 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 298 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs | GJB 4.6.1.9 |
M | 302 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 305 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 311 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 320 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 320 | Expression needs brackets. | GJB 5.1.2 |
M | 322 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 325 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 326 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 326 | Expression needs brackets. | GJB 5.1.2 |
M | 328 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 328 | Expression needs brackets. | GJB 5.1.2 |
M | 330 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 335 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 337 | Type conversion without cast. : (int and char): trash.area [ trash.data ++ ] = '\n' | GJB 4.6.1.9 |
M | 344 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 356 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 276 | Procedure contains UR data flow anomalies. : msg_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_release_show_ring (371 to 377 ring.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 376 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_expr_output_type (302 to 312 sample.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_src_names (319 to 338 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 326 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 326 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 329 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 334 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 334 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 335 | Value is not of appropriate type. : (unsigned int and int): fetch_src_names [ bit | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_ckp_names (344 to 352 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 344 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 349 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 349 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 350 | Value is not of appropriate type. : (unsigned int and int): fetch_ckp_names [ bit | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_register_fetches (359 to 370 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 364 | Pointer not checked for null before use. : sf | GJB 5.1.15 |
M | 366 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 366 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 366 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 367 | Signed/unsigned conversion without cast. : (int and unsigned int): sf -> val |= fetch_cap | GJB 4.6.1.9 |
M | 367 | Value is not of appropriate type. : (unsigned int and int): sf -> val |= fetch_cap [ bit | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_sample_fetch (386 to 399 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 386 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 392 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 393 | Value is not of appropriate type. : (unsigned int and int): strncmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 393 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 394 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 394 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 394 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index ].kw [ len | GJB 4.6.1.8 |
M | 395 | Value is not of appropriate type. : (unsigned int and int): & kwl -> kw [ index | GJB 4.6.1.8 |
M | 389 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_fetch_getnext (409 to 442 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 427 | Pointer not checked for null before use. : kwl | GJB 5.1.15 |
M | 420 | Expression needs brackets. | GJB 5.1.2 |
M | 433 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 409 | Function has no return statement. : sample_fetch_getnext | GJB 4.9.1.1 |
M | 409 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_getnext (452 to 484 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 469 | Pointer not checked for null before use. : kwl | GJB 5.1.15 |
M | 463 | Expression needs brackets. | GJB 5.1.2 |
M | 475 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 452 | Function has no return statement. : sample_conv_getnext | GJB 4.9.1.1 |
M | 452 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_sample_conv (491 to 504 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 491 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 497 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 498 | Value is not of appropriate type. : (unsigned int and int): strncmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 498 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 499 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index ].kw [ len | GJB 4.6.1.8 |
M | 500 | Value is not of appropriate type. : (unsigned int and int): & kwl -> kw [ index | GJB 4.6.1.8 |
M | 494 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_ip2int (510 to 515 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 510 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_ip2str (517 to 530 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 521 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 524 | Signed/unsigned conversion without cast. : (int and unsigned int): trash -> data = strlen | GJB 4.6.1.9 |
M | 524 | Value is not of appropriate type. : (int and char): trash -> data = strlen ( trash -> area | GJB 4.6.1.8 |
M | 517 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_ip2ipv6 (532 to 537 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 532 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_ipv62ip (539 to 545 sample.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_ipv62str (547 to 559 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 551 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 554 | Signed/unsigned conversion without cast. : (int and unsigned int): trash -> data = strlen | GJB 4.6.1.9 |
M | 554 | Value is not of appropriate type. : (int and char): trash -> data = strlen ( trash -> area | GJB 4.6.1.8 |
M | 547 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_int2ip (568 to 573 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 568 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_int2ipv6 (575 to 581 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 575 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_str2addr (583 to 595 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 583 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_str2ip (597 to 604 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 597 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_str2ipv6 (606 to 613 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 606 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_bin2str (619 to 631 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 621 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 624 | Value is not of appropriate type. : (unsigned int and int): ! smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 619 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_int2str (633 to 649 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 638 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 636 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 644 | Signed/unsigned conversion without cast. : (int and unsigned int): trash -> data = strlen | GJB 4.6.1.9 |
M | 633 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_dup (657 to 707 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 677 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 691 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 663 | Null case in switch statement. | GJB 4.3.1.8 |
M | 673 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 679 | Expression needs brackets. | GJB 5.1.2 |
M | 685 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data | GJB 4.6.1.8 |
M | 702 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_str2int (714 to 729 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 725 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 725 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 716 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 717 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 714 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_str2meth (731 to 747 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 731 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_meth2str (749 to 774 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 749 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_addr2bin (776 to 794 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 781 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 785 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 776 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
c_int2bin (796 to 806 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 800 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 796 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_parse_expr (837 to 1028 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 951 | Pointer not checked for null before use. : idx | GJB 5.1.15 |
M | 864 | Pointer not checked for null before use. : fkw | GJB 5.1.15 |
M | 874 | Pointer not checked for null before use. : fkw | GJB 5.1.15 |
M | 894 | Pointer not checked for null before use. : fkw | GJB 5.1.15 |
M | 969 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 974 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 980 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 996 | Pointer not checked for null before use. : ckw | GJB 5.1.15 |
M | 837 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 837 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 837 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 837 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 839 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 840 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 841 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 846 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 847 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 852 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 856 | goto detected. | GJB 4.5.1.2 |
M | 865 | goto detected. | GJB 4.5.1.2 |
M | 875 | goto detected. | GJB 4.5.1.2 |
M | 879 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 881 | goto detected. | GJB 4.5.1.2 |
M | 895 | goto detected. | GJB 4.5.1.2 |
M | 906 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 908 | goto detected. | GJB 4.5.1.2 |
M | 909 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 913 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 925 | Name reused in inner scope. : err_arg | GJB 4.15.1.2,4.15.1.5 |
M | 928 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 937 | goto detected. | GJB 4.5.1.2 |
M | 943 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 952 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 957 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 957 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 959 | free used on string. | GJB 5.1.19 |
M | 970 | goto detected. | GJB 4.5.1.2 |
M | 973 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 973 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 975 | goto detected. | GJB 4.5.1.2 |
M | 979 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ prev_type ] [ conv -> in_type | GJB 4.6.1.8 |
M | 981 | goto detected. | GJB 4.5.1.2 |
M | 985 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 987 | goto detected. | GJB 4.5.1.2 |
M | 997 | goto detected. | GJB 4.5.1.2 |
M | 1000 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1002 | goto detected. | GJB 4.5.1.2 |
M | 1008 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1010 | goto detected. | GJB 4.5.1.2 |
M | 1016 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1016 | Value is not of appropriate type. : (char and char*): endptr = ( char * | GJB 4.6.1.8 |
M | 1016 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1019 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1020 | free used on string. | GJB 5.1.19 |
M | 1021 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1021 | free used on string. | GJB 5.1.19 |
M | 1022 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1025 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 1027 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 837 | Function has no return statement. : sample_parse_expr | GJB 4.9.1.1 |
M | 862 | Actual and formal parameters inconsistent (MR). : (char and int): param 2 | GJB 4.7.1.9 |
M | 962 | Actual and formal parameters inconsistent (MR). : (char and int): param 2 | GJB 4.7.1.9 |
M | 1012 | Memory not freed after last reference. : conv_expr | GJB 5.1.17 |
M | 892 | Procedure contains UR data flow anomalies. : (al)->conv | GJB 4.13.1.4 |
M | 841 | Procedure contains UR data flow anomalies. : endt | GJB 4.13.1.4 |
M | 848 | Procedure contains UR data flow anomalies. : err_arg | GJB 4.13.1.4 |
M | 925 | Procedure contains UR data flow anomalies. : err_arg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_process (1054 to 1089 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1065 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1056 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1066 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1076 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ p -> data.type ] [ conv_expr -> conv -> in_type | GJB 4.6.1.8 |
M | 1079 | Value is not of appropriate type. : (unsigned int and int): sample_casts [ p -> data.type ] [ conv_expr -> conv -> in_type | GJB 4.6.1.8 |
M | 1079 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1080 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ p -> data.type ] [ conv_expr -> conv -> in_type | GJB 4.6.1.8 |
M | 1085 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1058 | Procedure contains UR data flow anomalies. : conv_expr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_resolve_args (1095 to 1347 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1163 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1192 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1219 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1325 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1314 | Pointer not checked for null before use. : conv_ctx | GJB 5.1.15 |
M | 1314 | Pointer not checked for null before use. : conv_pre | GJB 5.1.15 |
M | 1314 | Pointer not checked for null before use. : conv_pos | GJB 5.1.15 |
M | 1309 | Pointer not checked for null before use. : ul | GJB 5.1.15 |
M | 1146 | Pointer not checked for null before use. : arg | GJB 5.1.15 |
M | 1247 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1175 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1196 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1223 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1204 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1231 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1177 | Pointer not checked for null before use. : pname | GJB 5.1.15 |
M | 1175 | Pointer not checked for null before use. : sname | GJB 5.1.15 |
M | 1249 | Pointer not checked for null before use. : stktname | GJB 5.1.15 |
M | 1095 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1098 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1099 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1110 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1111 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1116 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1125 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1160 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1325 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1146 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1343 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1323 | Procedure contains UR data flow anomalies. : err |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_fetch_as_type (1370 to 1392 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1384 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ smp -> data.type ] [ smp_type | GJB 4.6.1.8 |
M | 1387 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ smp -> data.type ] [ smp_type | GJB 4.6.1.8 |
M | 1391 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_sample_arg (1394 to 1415 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1401 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1394 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1409 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1413 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1415 | Memory not freed after last reference. : p_back |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_sample_expr (1417 to 1432 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1427 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1431 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_debug (1439 to 1490 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1439 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1441 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1446 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1450 | goto detected. | GJB 4.5.1.2 |
M | 1460 | goto detected. | GJB 4.5.1.2 |
M | 1465 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1469 | goto detected. | GJB 4.5.1.2 |
M | 1474 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) tmp.data.u.str.area [ i | GJB 4.6.1.8 |
M | 1475 | Value is not of appropriate type. : (unsigned int and int): b_putchr ( buf , tmp.data.u.str.area [ i | GJB 4.6.1.8 |
M | 1489 | goto detected. | GJB 4.5.1.2 |
M | 1439 | Function has no return statement. : sample_conv_debug | GJB 4.9.1.1 |
M | 1439 | Static procedure is not explicitly called in code analysed. : sample_conv_debug | GJB 4.7.1.3 |
M | 1484 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_debug (1493 to 1518 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1516 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 1494 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1494 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1493 | Static procedure is not explicitly called in code analysed. : smp_check_debug | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_base642bin (1520 to 1536 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1525 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 1520 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1520 | Static procedure is not explicitly called in code analysed. : sample_conv_base642bin | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_bin2base64 (1538 to 1554 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1543 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 1538 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1538 | Static procedure is not explicitly called in code analysed. : sample_conv_bin2base64 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_sha1 (1556 to 1572 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1565 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 1556 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1556 | Static procedure is not explicitly called in code analysed. : sample_conv_sha1 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_bin2hex (1883 to 1899 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1889 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 1883 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1886 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1890 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1890 | Expression needs brackets. | GJB 5.1.2 |
M | 1891 | Value is not of appropriate type. : (unsigned int and int): c = smp -> data.u.str.area [ ptr ++ | GJB 4.6.1.8 |
M | 1892 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data ++ | GJB 4.6.1.8 |
M | 1893 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data ++ | GJB 4.6.1.8 |
M | 1883 | Static procedure is not explicitly called in code analysed. : sample_conv_bin2hex | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_hex2int (1901 to 1916 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1901 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1903 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 1904 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1904 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1907 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1907 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1907 | Value is not of appropriate type. : (unsigned int and int): ( c = hex2i ( smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1909 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1901 | Static procedure is not explicitly called in code analysed. : sample_conv_hex2int | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_djb2 (1919 to 1927 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1919 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1919 | Static procedure is not explicitly called in code analysed. : sample_conv_djb2 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_length (1929 to 1935 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1929 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1931 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1929 | Static procedure is not explicitly called in code analysed. : sample_conv_length | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_str2lower (1938 to 1950 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1938 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1940 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1946 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1946 | Value is not of appropriate type. : (unsigned int and int): ( smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1947 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1947 | Operation not appropriate to plain char. : - used with char: 'a' | GJB 4.1.1.15 |
M | 1938 | Static procedure is not explicitly called in code analysed. : sample_conv_str2lower | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_str2upper (1952 to 1964 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1952 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1954 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1960 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1960 | Value is not of appropriate type. : (unsigned int and int): ( smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1961 | Value is not of appropriate type. : (unsigned int and int): smp -> data.u.str.area [ i | GJB 4.6.1.8 |
M | 1961 | Operation not appropriate to plain char. : - used with char: 'A' | GJB 4.1.1.15 |
M | 1952 | Static procedure is not explicitly called in code analysed. : sample_conv_str2upper | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_ipmask (1967 to 1989 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1967 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1986 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1967 | Static procedure is not explicitly called in code analysed. : sample_conv_ipmask | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_ltime (1995 to 2015 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2010 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 2010 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 1995 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2010 | Signed/unsigned conversion without cast. : (int and unsigned int): temp -> data = strftime | GJB 4.6.1.9 |
M | 1995 | Static procedure is not explicitly called in code analysed. : sample_conv_ltime | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_sdbm (2018 to 2026 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2018 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2018 | Static procedure is not explicitly called in code analysed. : sample_conv_sdbm | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_utime (2032 to 2052 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2047 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 2047 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 2032 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2047 | Signed/unsigned conversion without cast. : (int and unsigned int): temp -> data = strftime | GJB 4.6.1.9 |
M | 2032 | Static procedure is not explicitly called in code analysed. : sample_conv_utime | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_wt6 (2055 to 2063 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2055 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2055 | Static procedure is not explicitly called in code analysed. : sample_conv_wt6 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_xxh32 (2068 to 2080 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2068 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2075 | Signed/unsigned conversion without cast. : (unsigned int and int): seed | GJB 4.6.1.9 |
M | 2068 | Static procedure is not explicitly called in code analysed. : sample_conv_xxh32 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_xxh64 (2088 to 2100 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2088 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2095 | Signed/unsigned conversion without cast. : (uns long long and int): seed | GJB 4.6.1.9 |
M | 2088 | Static procedure is not explicitly called in code analysed. : sample_conv_xxh64 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_xxh3 (2102 to 2114 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2102 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2109 | Signed/unsigned conversion without cast. : (uns long long and int): seed | GJB 4.6.1.9 |
M | 2102 | Static procedure is not explicitly called in code analysed. : sample_conv_xxh3 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_crc32 (2117 to 2125 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2117 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2117 | Static procedure is not explicitly called in code analysed. : sample_conv_crc32 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_crc32c (2128 to 2136 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2128 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2128 | Static procedure is not explicitly called in code analysed. : sample_conv_crc32c | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_json_check (2155 to 2192 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2190 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2155 | Static procedure is not explicitly called in code analysed. : sample_conv_json_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_json (2194 to 2306 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2209 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 2194 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2197 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2198 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2201 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2203 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2203 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2212 | Expression needs brackets. | GJB 5.1.2 |
M | 2216 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2226 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2226 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2228 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2228 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2236 | Signed/unsigned conversion without cast. : (unsigned int and int): ( unsigned int ) c | GJB 4.6.1.9 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2244 | Type conversion without cast. : (unsigned int and char): c == '"' | GJB 4.6.1.9 |
M | 2248 | Type conversion without cast. : (unsigned int and char): c == '\\' | GJB 4.6.1.9 |
M | 2252 | Type conversion without cast. : (unsigned int and char): c == '/' | GJB 4.6.1.9 |
M | 2256 | Type conversion without cast. : (unsigned int and char): c == '\b' | GJB 4.6.1.9 |
M | 2260 | Type conversion without cast. : (unsigned int and char): c == '\f' | GJB 4.6.1.9 |
M | 2264 | Type conversion without cast. : (unsigned int and char): c == '\r' | GJB 4.6.1.9 |
M | 2268 | Type conversion without cast. : (unsigned int and char): c == '\n' | GJB 4.6.1.9 |
M | 2272 | Type conversion without cast. : (unsigned int and char): c == '\t' | GJB 4.6.1.9 |
M | 2276 | Signed/unsigned conversion without cast. : (unsigned int and int): c | GJB 4.6.1.9 |
M | 2276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2288 | Type conversion without cast. : (char and unsigned int): _str [ 0 ] = c | GJB 4.6.1.9 |
M | 2293 | Expression needs brackets. | GJB 5.1.2 |
M | 2194 | Static procedure is not explicitly called in code analysed. : sample_conv_json | GJB 4.7.1.3 |
M | 2201 | Procedure contains UR data flow anomalies. : c |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_bytes (2311 to 2327 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2311 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2311 | Static procedure is not explicitly called in code analysed. : sample_conv_bytes | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_field_check (2329 to 2362 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2330 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2330 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2329 | Static procedure is not explicitly called in code analysed. : sample_conv_field_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_field (2368 to 2440 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2426 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 2426 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 2368 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2371 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2372 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2380 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2383 | Expression needs brackets. | GJB 5.1.2 |
M | 2383 | Value is not of appropriate type. : (unsigned int and int): * ( start - 1 ) == arg_p [ 1 ].data.str.area [ i | GJB 4.6.1.8 |
M | 2386 | goto detected. | GJB 4.5.1.2 |
M | 2388 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2400 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2401 | Expression needs brackets. | GJB 5.1.2 |
M | 2403 | Value is not of appropriate type. : (unsigned int and int): * end == arg_p [ 1 ].data.str.area [ i | GJB 4.6.1.8 |
M | 2406 | goto detected. | GJB 4.5.1.2 |
M | 2408 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2368 | Static procedure is not explicitly called in code analysed. : sample_conv_field | GJB 4.7.1.3 |
M | 2425 | Identifier reuse: label vs variable (MR). : found |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_word (2446 to 2540 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2526 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 2526 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 2446 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2449 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2450 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2459 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2463 | Expression needs brackets. | GJB 5.1.2 |
M | 2463 | Value is not of appropriate type. : (unsigned int and int): * ( start - 1 ) == arg_p [ 1 ].data.str.area [ i | GJB 4.6.1.8 |
M | 2480 | goto detected. | GJB 4.5.1.2 |
M | 2482 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2485 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2489 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2490 | Expression needs brackets. | GJB 5.1.2 |
M | 2493 | Value is not of appropriate type. : (unsigned int and int): * end == arg_p [ 1 ].data.str.area [ i | GJB 4.6.1.8 |
M | 2510 | goto detected. | GJB 4.5.1.2 |
M | 2512 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2515 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2446 | Static procedure is not explicitly called in code analysed. : sample_conv_word | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_regsub_check (2542 to 2572 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2543 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2543 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2546 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2546 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2542 | Static procedure is not explicitly called in code analysed. : sample_conv_regsub_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_regsub (2579 to 2656 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2600 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 2622 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 2600 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 2600 | Pointer not checked for null before use. : reg | GJB 5.1.15 |
M | 2654 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 2607 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 2579 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2581 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2646 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data ++ | GJB 4.6.1.8 |
M | 2646 | Type conversion without cast. : (int and char): trash -> area [ trash -> data ++ ] = start | GJB 4.6.1.9 |
M | 2579 | Static procedure is not explicitly called in code analysed. : sample_conv_regsub | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_operator (2661 to 2685 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2675 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 2662 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2662 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2664 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2665 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2666 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2661 | Static procedure is not explicitly called in code analysed. : check_operator | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_var2smp (2694 to 2712 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2700 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2708 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2711 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_binary_cpl (2717 to 2721 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2717 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2717 | Static procedure is not explicitly called in code analysed. : sample_conv_binary_cpl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_binary_and (2726 to 2735 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2726 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2726 | Static procedure is not explicitly called in code analysed. : sample_conv_binary_and | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_binary_or (2740 to 2749 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2740 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2740 | Static procedure is not explicitly called in code analysed. : sample_conv_binary_or | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_binary_xor (2754 to 2763 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2754 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2754 | Static procedure is not explicitly called in code analysed. : sample_conv_binary_xor | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
arith_add (2765 to 2789 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2765 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 2765 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2782 | Expression needs brackets. | GJB 5.1.2 |
M | 2785 | Expression needs brackets. | GJB 5.1.2 |
M | 2788 | Function return type inconsistent. : (long and long long) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_add (2794 to 2803 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2794 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2801 | Actual and formal parameters inconsistent (MR). : (sample and long long): param 1 | GJB 4.7.1.9 |
M | 2794 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_add | GJB 4.7.1.3 |
M | 2796 | Procedure contains UR data flow anomalies. : tmp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_sub (2808 to 2833 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2809 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2822 | Actual and formal parameters inconsistent (MR). : (sample and long long): param 1 | GJB 4.7.1.9 |
M | 2831 | Actual and formal parameters inconsistent (MR). : (sample and long long): param 1 | GJB 4.7.1.9 |
M | 2808 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_sub | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_mul (2840 to 2878 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2841 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2844 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2851 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2851 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2859 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2859 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2868 | Expression needs brackets. | GJB 5.1.2 |
M | 2840 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_mul | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_div (2885 to 2907 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2886 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2885 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_div | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_mod (2913 to 2935 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2914 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2926 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2926 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2913 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_mod | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_neg (2940 to 2948 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2941 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2940 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_neg | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_bool (2953 to 2959 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2954 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2953 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_bool | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_not (2964 to 2970 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2965 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2964 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_not | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_odd (2975 to 2981 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2976 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2975 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_odd | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_arith_even (2986 to 2992 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2987 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2986 | Static procedure is not explicitly called in code analysed. : sample_conv_arith_even | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_concat (2997 to 3056 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3004 | Pointer not checked for null before use. : trash | GJB 5.1.15 |
M | 2997 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3005 | Expression needs brackets. | GJB 5.1.2 |
M | 3009 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data | GJB 4.6.1.8 |
M | 3013 | Expression needs brackets. | GJB 5.1.2 |
M | 3019 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data | GJB 4.6.1.8 |
M | 3026 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3026 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3026 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3027 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3028 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3031 | Expression needs brackets. | GJB 5.1.2 |
M | 3038 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data | GJB 4.6.1.8 |
M | 3044 | Expression needs brackets. | GJB 5.1.2 |
M | 3050 | Value is not of appropriate type. : (unsigned int and int): trash -> area [ trash -> data | GJB 4.6.1.8 |
M | 2997 | Static procedure is not explicitly called in code analysed. : sample_conv_concat | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_concat (3061 to 3071 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3062 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3062 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3065 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3065 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3061 | Static procedure is not explicitly called in code analysed. : smp_check_concat | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_strcmp (3076 to 3105 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3076 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3076 | Static procedure is not explicitly called in code analysed. : sample_conv_strcmp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_iif (3145 to 3160 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3145 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3145 | Static procedure is not explicitly called in code analysed. : sample_conv_iif | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_ungrpc (3172 to 3198 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3191 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 3183 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 3172 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3183 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3172 | Static procedure is not explicitly called in code analysed. : sample_conv_ungrpc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_protobuf (3200 to 3209 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3208 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 3200 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3200 | Static procedure is not explicitly called in code analysed. : sample_conv_protobuf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_protobuf_check (3211 to 3233 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3211 | Static procedure is not explicitly called in code analysed. : sample_conv_protobuf_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_fix_tag_value (3240 to 3259 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3240 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3240 | Static procedure is not explicitly called in code analysed. : sample_conv_fix_tag_value | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_fix_value_check (3266 to 3284 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3266 | Static procedure is not explicitly called in code analysed. : sample_conv_fix_value_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_fix_is_valid (3292 to 3313 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3292 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3303 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3306 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3311 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3299 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3292 | Static procedure is not explicitly called in code analysed. : sample_conv_fix_is_valid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_mqtt_field_value (3323 to 3345 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3323 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3323 | Static procedure is not explicitly called in code analysed. : sample_conv_mqtt_field_value | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_mqtt_field_value_check (3354 to 3383 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3354 | Static procedure is not explicitly called in code analysed. : sample_conv_mqtt_field_value_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_mqtt_is_valid (3391 to 3412 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3391 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3402 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3405 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3410 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3398 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3391 | Static procedure is not explicitly called in code analysed. : sample_conv_mqtt_is_valid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_strcmp (3417 to 3427 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3418 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3418 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3417 | Static procedure is not explicitly called in code analysed. : smp_check_strcmp | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_htonl (3447 to 3461 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3455 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 3447 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3450 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 3447 | Static procedure is not explicitly called in code analysed. : sample_conv_htonl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_cut_crlf (3464 to 3476 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3464 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3466 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3466 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3467 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3470 | Signed/unsigned conversion without cast. : (unsigned int and int): l | GJB 4.6.1.9 |
M | 3471 | Expression needs brackets. | GJB 5.1.2 |
M | 3471 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3471 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3464 | Static procedure is not explicitly called in code analysed. : sample_conv_cut_crlf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_ltrim (3479 to 3497 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3489 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3479 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3481 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3481 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3482 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3489 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3479 | Static procedure is not explicitly called in code analysed. : sample_conv_ltrim | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_rtrim (3500 to 3517 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3510 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3500 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3502 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3502 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3503 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3509 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3509 | Expression needs brackets. | GJB 5.1.2 |
M | 3510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3500 | Static procedure is not explicitly called in code analysed. : sample_conv_rtrim | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_true (3524 to 3533 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3525 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3525 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3524 | Static procedure is not explicitly called in code analysed. : smp_fetch_true | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_false (3536 to 3542 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3537 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3537 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3536 | Static procedure is not explicitly called in code analysed. : smp_fetch_false | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_env (3545 to 3562 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3546 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3546 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3548 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3545 | Static procedure is not explicitly called in code analysed. : smp_fetch_env | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_date_unit (3569 to 3599 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3569 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3596 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_date (3605 to 3628 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3606 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3606 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3616 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3619 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3622 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3605 | Static procedure is not explicitly called in code analysed. : smp_fetch_date | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_date_us (3631 to 3638 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3632 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3632 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3631 | Static procedure is not explicitly called in code analysed. : smp_fetch_date_us | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_hostname (3642 to 3650 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3643 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3643 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3648 | Value is not of appropriate type. : (int and char): smp -> data.u.str.data = strlen ( hostname | GJB 4.6.1.8 |
M | 3642 | Static procedure is not explicitly called in code analysed. : smp_fetch_hostname | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_nbproc (3653 to 3659 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3654 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3654 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3653 | Static procedure is not explicitly called in code analysed. : smp_fetch_nbproc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_proc (3662 to 3668 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3663 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3663 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3662 | Static procedure is not explicitly called in code analysed. : smp_fetch_proc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_thread (3671 to 3677 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3672 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3672 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3671 | Static procedure is not explicitly called in code analysed. : smp_fetch_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_rand (3682 to 3694 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3683 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3683 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3688 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3682 | Static procedure is not explicitly called in code analysed. : smp_fetch_rand | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_stopping (3697 to 3703 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3698 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3698 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3697 | Static procedure is not explicitly called in code analysed. : smp_fetch_stopping | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cpu_calls (3706 to 3715 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3707 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3707 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3706 | Static procedure is not explicitly called in code analysed. : smp_fetch_cpu_calls | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cpu_ns_avg (3718 to 3727 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3719 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3719 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3718 | Static procedure is not explicitly called in code analysed. : smp_fetch_cpu_ns_avg | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cpu_ns_tot (3730 to 3739 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3731 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3731 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3730 | Static procedure is not explicitly called in code analysed. : smp_fetch_cpu_ns_tot | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_lat_ns_avg (3742 to 3751 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3743 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3743 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3742 | Static procedure is not explicitly called in code analysed. : smp_fetch_lat_ns_avg | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_lat_ns_tot (3754 to 3763 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3755 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3755 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3754 | Static procedure is not explicitly called in code analysed. : smp_fetch_lat_ns_tot | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_str (3765 to 3772 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3765 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3765 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_str | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_const_bool (3774 to 3792 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3776 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3784 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3774 | Static procedure is not explicitly called in code analysed. : smp_check_const_bool | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_bool (3794 to 3799 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3794 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3794 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3794 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_bool | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_int (3801 to 3806 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3801 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3801 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3801 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_int | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_ipv4 (3808 to 3813 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3808 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3808 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3808 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_ipv4 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_ipv6 (3815 to 3820 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3815 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3815 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3815 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_ipv6 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_const_bin (3822 to 3834 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3822 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3824 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3822 | Static procedure is not explicitly called in code analysed. : smp_check_const_bin | GJB 4.7.1.3 |
M | 3825 | Procedure contains UR data flow anomalies. : binstrlen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_bin (3836 to 3843 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3836 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3836 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3836 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_bin | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_const_meth (3845 to 3869 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3845 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3848 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3862 | Value is not of appropriate type. : (unsigned int and int): ! HTTP_IS_TOKEN ( args [ 0 ].data.str.area [ i | GJB 4.6.1.8 |
M | 3845 | Static procedure is not explicitly called in code analysed. : smp_check_const_meth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_const_meth (3871 to 3886 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3871 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3871 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3871 | Static procedure is not explicitly called in code analysed. : smp_fetch_const_meth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_uuid (3890 to 3902 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3890 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3899 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3890 | Static procedure is not explicitly called in code analysed. : smp_check_uuid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_uuid (3905 to 3917 sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3905 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3905 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3907 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3907 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3905 | Static procedure is not explicitly called in code analysed. : smp_fetch_uuid | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_runtime_context_init (95 to 129 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 102 | Pointer not checked for null before use. : pool_head_ot_runtime_context | GJB 5.1.15 |
M | 110 | Pointer not checked for null before use. : conf | GJB 5.1.15 |
M | 95 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 95 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 95 | Function has no return statement. : flt_ot_runtime_context_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_runtime_context_free (145 to 179 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 145 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 170 | Procedure contains UR data flow anomalies. : ctx | GJB 4.13.1.4 |
M | 157 | Procedure contains UR data flow anomalies. : ts |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_span_init (202 to 264 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 257 | Pointer not checked for null before use. : ref_span | GJB 5.1.15 |
M | 258 | Pointer not checked for null before use. : ref_ctx | GJB 5.1.15 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | Signed/unsigned conversion without cast. : (int and unsigned int): span -> id_len == id_len | GJB 4.6.1.9 |
M | 223 | Signed/unsigned conversion without cast. : (int and unsigned int): span -> id_len == ref_id_len | GJB 4.6.1.9 |
M | 233 | Signed/unsigned conversion without cast. : (int and unsigned int): ctx -> id_len == ref_id_len | GJB 4.6.1.9 |
M | 255 | Signed/unsigned conversion without cast. : (int and unsigned int): retptr -> smp_opt_dir = dir | GJB 4.6.1.9 |
M | 202 | Function has no return statement. : flt_ot_scope_span_init | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_span_free (280 to 300 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 297 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_context_init (322 to 360 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 334 | Signed/unsigned conversion without cast. : (int and unsigned int): retptr -> id_len == id_len | GJB 4.6.1.9 |
M | 352 | Signed/unsigned conversion without cast. : (int and unsigned int): retptr -> id_len = id_len | GJB 4.6.1.9 |
M | 353 | Signed/unsigned conversion without cast. : (int and unsigned int): retptr -> smp_opt_dir = dir | GJB 4.6.1.9 |
M | 322 | Function has no return statement. : flt_ot_scope_context_init | GJB 4.9.1.1 |
M | 324 | Procedure contains UR data flow anomalies. : reader |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_context_free (376 to 392 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 389 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_data_free (408 to 430 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 410 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 420 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 420 | Value is not of appropriate type. : (unsigned int and int): ptr -> tags [ i | GJB 4.6.1.8 |
M | 421 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_FREE_VOID ( ptr -> tags [ i | GJB 4.6.1.8 |
M | 424 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 424 | Value is not of appropriate type. : (unsigned int and int): ptr -> log_fields [ i | GJB 4.6.1.8 |
M | 425 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_FREE_VOID ( ptr -> log_fields [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_finish_mark (448 to 527 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 448 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 501 | Signed/unsigned conversion without cast. : (int and unsigned int): span -> id_len == id_len | GJB 4.6.1.9 |
M | 448 | Function has no return statement. : flt_ot_scope_finish_mark | GJB 4.9.1.1 |
M | 451 | Procedure contains UR data flow anomalies. : ctx | GJB 4.13.1.4 |
M | 450 | Procedure contains UR data flow anomalies. : span |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_finish_marked (544 to 571 scope.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_scope_free_unused (588 to 622 scope.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 604 | Procedure contains UR data flow anomalies. : ctx_back | GJB 4.13.1.4 |
M | 596 | Procedure contains UR data flow anomalies. : span_back |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_downtime (76 to 82 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 76 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 78 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 81 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_lastsession (84 to 90 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_getinter (92 to 103 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 96 | Expression needs brackets. | GJB 5.1.2 |
M | 99 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_check_for_dup_dyncookie (110 to 129 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 110 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_dyncookie (134 to 194 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 168 | Pointer not checked for null before use. : tmpbuf | GJB 5.1.15 |
M | 169 | Pointer not checked for null before use. : tmpbuf | GJB 5.1.15 |
M | 180 | Pointer not checked for null before use. : tmpbuf | GJB 5.1.15 |
M | 179 | Pointer not checked for null before use. : tmpbuf | GJB 5.1.15 |
M | 134 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 137 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 149 | goto detected. | GJB 4.5.1.2 |
M | 150 | Value is not of appropriate type. : (int and char): key_len = strlen ( p -> dyncookie_key | GJB 4.6.1.8 |
M | 152 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 154 | goto detected. | GJB 4.5.1.2 |
M | 166 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 171 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 172 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_addr_desc (199 to 226 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 199 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 202 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 208 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 208 | free used on string. | GJB 5.1.19 |
M | 216 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 226 | Memory not freed after last reference. : key |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_find_kw (244 to 267 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 257 | Pointer not checked for null before use. : kwend | GJB 5.1.15 |
M | 244 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 247 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 256 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 257 | Value is not of appropriate type. : (unsigned int and int): strncmp ( kwl -> kw [ index | GJB 4.6.1.8 |
M | 258 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 258 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 259 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 260 | Value is not of appropriate type. : (unsigned int and int): & kwl -> kw [ index | GJB 4.6.1.8 |
M | 262 | Value is not of appropriate type. : (unsigned int and int): ret = &kwl -> kw [ index | GJB 4.6.1.8 |
M | 266 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 248 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_dump_kws (273 to 295 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 273 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 283 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 284 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 285 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 285 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index ].kw ) == & kwl -> kw [ index | GJB 4.6.1.8 |
M | 287 | Value is not of appropriate type. : (unsigned int and int): kwl -> scope , kwl -> kw [ index | GJB 4.6.1.8 |
M | 287 | Value is not of appropriate type. : (unsigned int and int): kwl -> scope , kwl -> kw [ index ].kw , kwl -> kw [ index | GJB 4.6.1.8 |
M | 289 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 290 | Value is not of appropriate type. : (unsigned int and int): kwl -> kw [ index | GJB 4.6.1.8 |
M | 285 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 275 | Procedure contains UR data flow anomalies. : kwl |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_backup (298 to 303 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 298 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 298 | Static procedure is not explicitly called in code analysed. : srv_parse_backup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_cookie (307 to 323 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 307 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 308 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 310 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 312 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 318 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 320 | Signed/unsigned conversion without cast. : (int and unsigned int): newsrv -> cklen = strlen | GJB 4.6.1.9 |
M | 307 | Static procedure is not explicitly called in code analysed. : srv_parse_cookie | GJB 4.7.1.3 |
M | 319 | Attempt to read from freed memory. : newsrv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_disabled (326 to 334 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 326 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 326 | Static procedure is not explicitly called in code analysed. : srv_parse_disabled | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_enabled (337 to 345 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 337 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 337 | Static procedure is not explicitly called in code analysed. : srv_parse_enabled | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_max_reuse (347 to 359 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 347 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 347 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 349 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 351 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 347 | Static procedure is not explicitly called in code analysed. : srv_parse_max_reuse | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_pool_purge_delay (361 to 391 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 361 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 364 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 367 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 374 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 379 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 387 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 388 | Signed/unsigned conversion without cast. : (int and unsigned int): newsrv -> pool_purge_delay = time | GJB 4.6.1.9 |
M | 361 | Static procedure is not explicitly called in code analysed. : srv_parse_pool_purge_delay | GJB 4.7.1.3 |
M | 365 | Procedure contains UR data flow anomalies. : time |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_pool_low_conn (393 to 405 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 393 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 393 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 395 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 397 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 393 | Static procedure is not explicitly called in code analysed. : srv_parse_pool_low_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_pool_max_conn (407 to 424 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 407 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 407 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 409 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 411 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 407 | Static procedure is not explicitly called in code analysed. : srv_parse_pool_max_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_id (427 to 456 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 447 | Pointer not checked for null before use. : target | GJB 5.1.15 |
M | 427 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 427 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 431 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 436 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 427 | Static procedure is not explicitly called in code analysed. : srv_parse_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_namespace (459 to 498 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 459 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 460 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 459 | Static procedure is not explicitly called in code analysed. : srv_parse_namespace | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_backup (501 to 506 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 501 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 502 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 501 | Static procedure is not explicitly called in code analysed. : srv_parse_no_backup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_disable_pp_flags (510 to 514 server.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_send_proxy (517 to 521 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 517 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 518 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 517 | Static procedure is not explicitly called in code analysed. : srv_parse_no_send_proxy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_send_proxy_v2 (524 to 528 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 524 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 525 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 524 | Static procedure is not explicitly called in code analysed. : srv_parse_no_send_proxy_v2 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_no_tfo (531 to 536 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 531 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 532 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 531 | Static procedure is not explicitly called in code analysed. : srv_parse_no_tfo | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_non_stick (539 to 544 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 540 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 539 | Static procedure is not explicitly called in code analysed. : srv_parse_non_stick | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_enable_pp_flags (547 to 551 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 549 | Signed/unsigned conversion without cast. : (int and unsigned int): srv -> pp_opts |= flags | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_proto (553 to 569 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 553 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 554 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 558 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 562 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 562 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 565 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 553 | Static procedure is not explicitly called in code analysed. : srv_parse_proto | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_proxy_v2_options (572 to 608 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 572 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 573 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 575 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 575 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 575 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 576 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 579 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 601 | goto detected. | GJB 4.5.1.2 |
M | 572 | Static procedure is not explicitly called in code analysed. : srv_parse_proxy_v2_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_observe (611 to 642 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 611 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 612 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 614 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 616 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 611 | Static procedure is not explicitly called in code analysed. : srv_parse_observe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_redir (645 to 661 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 645 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 646 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 648 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 650 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 656 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 658 | Signed/unsigned conversion without cast. : (int and unsigned int): newsrv -> rdr_len = strlen | GJB 4.6.1.9 |
M | 645 | Static procedure is not explicitly called in code analysed. : srv_parse_redir | GJB 4.7.1.3 |
M | 657 | Attempt to read from freed memory. : newsrv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_send_proxy (664 to 668 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 664 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 665 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 664 | Static procedure is not explicitly called in code analysed. : srv_parse_send_proxy | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_send_proxy_v2 (671 to 675 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 671 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 672 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 671 | Static procedure is not explicitly called in code analysed. : srv_parse_send_proxy_v2 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_source (679 to 821 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 818 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 695 | Pointer not checked for null before use. : errmsg | GJB 5.1.15 |
M | 679 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 680 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 688 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 691 | goto detected. | GJB 4.5.1.2 |
M | 695 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 699 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 700 | goto detected. | GJB 4.5.1.2 |
M | 707 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 709 | Expression needs brackets. | GJB 5.1.2 |
M | 711 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 711 | Value is not of appropriate type. : (unsigned int and int): newsrv -> conn_src.sport_range -> ports [ i | GJB 4.6.1.8 |
M | 791 | goto detected. | GJB 4.5.1.2 |
M | 807 | goto detected. | GJB 4.5.1.2 |
M | 818 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 819 | free used on string. | GJB 5.1.19 |
M | 679 | Static procedure is not explicitly called in code analysed. : srv_parse_source | GJB 4.7.1.3 |
M | 683 | Procedure contains UR data flow anomalies. : port_high | GJB 4.13.1.4 |
M | 683 | Procedure contains UR data flow anomalies. : port_low |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_stick (824 to 829 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 824 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 825 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 824 | Static procedure is not explicitly called in code analysed. : srv_parse_stick | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_track (832 to 847 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 832 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 833 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 835 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 837 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 843 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 832 | Static procedure is not explicitly called in code analysed. : srv_parse_track | GJB 4.7.1.3 |
M | 844 | Attempt to read from freed memory. : newsrv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_socks4 (850 to 881 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 878 | Name redeclared in another C name space (MR). : err | GJB 4.1.1.16 |
M | 865 | Pointer not checked for null before use. : errmsg | GJB 5.1.15 |
M | 850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 851 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 853 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 859 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 861 | goto detected. | GJB 4.5.1.2 |
M | 865 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 869 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 870 | goto detected. | GJB 4.5.1.2 |
M | 878 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 879 | free used on string. | GJB 5.1.19 |
M | 850 | Static procedure is not explicitly called in code analysed. : srv_parse_socks4 | GJB 4.7.1.3 |
M | 854 | Procedure contains UR data flow anomalies. : port_high | GJB 4.13.1.4 |
M | 854 | Procedure contains UR data flow anomalies. : port_low |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_parse_tfo (885 to 889 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 885 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 885 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 885 | Static procedure is not explicitly called in code analysed. : srv_parse_tfo | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_shutdown_streams (897 to 904 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 899 | Procedure contains UR data flow anomalies. : stream_bck |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_shutdown_backup_streams (912 to 919 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 917 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_append_status (933 to 989 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 933 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 939 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 954 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 968 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 973 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 980 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 980 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 986 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 986 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 955 | Procedure contains UR data flow anomalies. : src |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_stopped (1000 to 1028 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1025 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1000 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1000 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1004 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1018 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_running (1039 to 1073 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1070 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1039 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1039 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1046 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1046 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1060 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_stopping (1086 to 1117 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1114 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1086 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1086 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1107 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_admin_flag (1129 to 1163 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1129 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1140 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1156 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_clr_admin_flag (1173 to 1204 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1173 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1197 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_propagate_admin_state (1209 to 1225 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1219 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 1222 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_compute_all_admin_states (1231 to 1240 server.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_recalc_eweight (1289 to 1313 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1292 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 1294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1294 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1294 | Expression needs brackets. | GJB 5.1.2 |
M | 1304 | Expression needs brackets. | GJB 5.1.2 |
M | 1304 | Signed/unsigned conversion without cast. : (unsigned int and int): w = ( px -> lbprm.wdiv * ( now.tv_sec - sv -> last_change ) + sv -> slowstart | GJB 4.6.1.9 |
M | 1308 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1308 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_parse_weight_change_request (1321 to 1361 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1354 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 1321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1325 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 1326 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1339 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1339 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1345 | Expression needs brackets. | GJB 5.1.2 |
M | 1349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1352 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_parse_addr_change_request (1372 to 1387 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1372 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1373 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1375 | Procedure contains UR data flow anomalies. : ip |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_parse_maxconn_change_request (1392 to 1417 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1392 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1393 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1395 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 1396 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1405 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1408 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
display_parser_err (1461 to 1482 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1479 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 1461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1465 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1465 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 1467 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1474 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_conn_src_sport_range_cpy (1484 to 1501 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1493 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1496 | Value is not of appropriate type. : (unsigned int and int): srv -> conn_src.sport_range -> ports [ i | GJB 4.6.1.8 |
M | 1496 | Value is not of appropriate type. : (unsigned int and int): srv -> conn_src.sport_range -> ports [ i ] = src -> conn_src.sport_range -> ports [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_conn_src_cpy (1506 to 1525 server.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_prepare_for_resolution (1591 to 1621 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1601 | Pointer not checked for null before use. : hostname_dn | GJB 5.1.15 |
M | 1591 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1593 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1599 | Signed/unsigned conversion without cast. : (int and unsigned int): hostname_len = strlen | GJB 4.6.1.9 |
M | 1604 | goto detected. | GJB 4.5.1.2 |
M | 1604 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1607 | free used on string. | GJB 5.1.19 |
M | 1608 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1608 | free used on string. | GJB 5.1.19 |
M | 1612 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1612 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1613 | goto detected. | GJB 4.5.1.2 |
M | 1617 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1618 | free used on string. | GJB 5.1.19 |
M | 1619 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1619 | free used on string. | GJB 5.1.19 |
M | 1609 | Attempt to read from freed memory. : srv | GJB 5.1.16 |
M | 1618 | Attempt to read from freed memory. : srv | GJB 5.1.16 |
M | 1619 | Attempt to read from freed memory. : srv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_settings_cpy (1634 to 1748 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1674 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1698 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1702 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1714 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
new_server (1750 to 1787 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1754 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1776 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1786 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_finalize_init (1815 to 1846 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1815 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1815 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_tmpl_parse_range (1855 to 1876 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1865 | Pointer not checked for null before use. : nb_high_arg | GJB 5.1.15 |
M | 1868 | Pointer not checked for null before use. : nb_low | GJB 5.1.15 |
M | 1855 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1857 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1863 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1864 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_id_from_prefix (1878 to 1883 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1878 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1881 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1882 | Attempt to read from freed memory. : srv | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_template_init (1893 to 1937 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1895 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1901 | goto detected. | GJB 4.5.1.2 |
M | 1935 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1907 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1916 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1922 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1927 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_server (1939 to 2472 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2449 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1939 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1939 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1943 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1944 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1947 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1949 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1950 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1950 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1952 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1955 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1955 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1956 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1959 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1962 | goto detected. | GJB 4.5.1.2 |
M | 1967 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1978 | goto detected. | GJB 4.5.1.2 |
M | 1990 | goto detected. | GJB 4.5.1.2 |
M | 1994 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2000 | goto detected. | GJB 4.5.1.2 |
M | 2006 | Value is not of appropriate type. : (unsigned int and int): newsrv , args [ cur_arg | GJB 4.6.1.8 |
M | 2007 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : Wrong %s number or range arg '%s'.\n" , file , linenum , args [ 0 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2010 | goto detected. | GJB 4.5.1.2 |
M | 2023 | goto detected. | GJB 4.5.1.2 |
M | 2053 | goto detected. | GJB 4.5.1.2 |
M | 2055 | Value is not of appropriate type. : (unsigned int and int): sk = str2sa_range ( args [ cur_arg | GJB 4.6.1.8 |
M | 2061 | goto detected. | GJB 4.5.1.2 |
M | 2064 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2073 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2073 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2077 | goto detected. | GJB 4.5.1.2 |
M | 2084 | goto detected. | GJB 4.5.1.2 |
M | 2085 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2094 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2094 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2094 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2095 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : Unknown protocol family %d '%s'\n" , file , linenum , newsrv -> addr.ss_family , args [ cur_arg | GJB 4.6.1.8 |
M | 2098 | goto detected. | GJB 4.5.1.2 |
M | 2113 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 2114 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2115 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2122 | Value is not of appropriate type. : (unsigned int and int): p = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2124 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2140 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' : initial address already specified, cannot add '%s'.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2143 | goto detected. | GJB 4.5.1.2 |
M | 2150 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 2152 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2155 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' : too many init-addr methods when trying to add '%s'\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2158 | goto detected. | GJB 4.5.1.2 |
M | 2163 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2164 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2165 | Value is not of appropriate type. : (unsigned int and int): newsrv -> resolvers_id = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2168 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2169 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2169 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2171 | Value is not of appropriate type. : (unsigned int and int): p = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2173 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2173 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2187 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2190 | goto detected. | GJB 4.5.1.2 |
M | 2196 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2197 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2199 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2202 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' expects either ipv4 or ipv6 as argument.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2205 | goto detected. | GJB 4.5.1.2 |
M | 2209 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2210 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2210 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2210 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 2214 | Value is not of appropriate type. : (unsigned int and int): ! args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2214 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2214 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2214 | Array bound exceeded. : args[][*]; accessed=0 | GJB 4.6.1.2 |
M | 2214 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2215 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' expects a list of networks.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2218 | goto detected. | GJB 4.5.1.2 |
M | 2226 | Value is not of appropriate type. : (unsigned int and int): p = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2231 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' exceed %d networks.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2234 | goto detected. | GJB 4.5.1.2 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2238 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2243 | Value is not of appropriate type. : (unsigned int and int): str2net ( p , 0 , & opt -> pref_net [ opt -> pref_net_nb | GJB 4.6.1.8 |
M | 2243 | Value is not of appropriate type. : (unsigned int and int): str2net ( p , 0 , & opt -> pref_net [ opt -> pref_net_nb ].addr.in4 , & opt -> pref_net [ opt -> pref_net_nb | GJB 4.6.1.8 |
M | 2246 | Value is not of appropriate type. : (unsigned int and int): opt -> pref_net [ opt -> pref_net_nb | GJB 4.6.1.8 |
M | 2247 | Value is not of appropriate type. : (unsigned int and int): str62net ( p , & opt -> pref_net [ opt -> pref_net_nb | GJB 4.6.1.8 |
M | 2250 | Value is not of appropriate type. : (unsigned int and int): len2mask6 ( mask , & opt -> pref_net [ opt -> pref_net_nb | GJB 4.6.1.8 |
M | 2251 | Value is not of appropriate type. : (unsigned int and int): opt -> pref_net [ opt -> pref_net_nb | GJB 4.6.1.8 |
M | 2254 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s': invalid network '%s'.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2257 | goto detected. | GJB 4.5.1.2 |
M | 2265 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2266 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 2267 | Value is not of appropriate type. : (unsigned int and int): w = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2272 | goto detected. | GJB 4.5.1.2 |
M | 2274 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2277 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2278 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2280 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2284 | Value is not of appropriate type. : (unsigned int and int): , args [ cur_arg | GJB 4.6.1.8 |
M | 2284 | Value is not of appropriate type. : (unsigned int and int): , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2287 | goto detected. | GJB 4.5.1.2 |
M | 2291 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2292 | Value is not of appropriate type. : (unsigned int and int): newsrv -> minconn = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2295 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2296 | Value is not of appropriate type. : (unsigned int and int): newsrv -> maxconn = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2299 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2300 | Value is not of appropriate type. : (unsigned int and int): newsrv -> maxqueue = atol ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2303 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2305 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 2305 | Value is not of appropriate type. : (unsigned int and int): parse_time_err ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2308 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2308 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ cur_arg + 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2311 | goto detected. | GJB 4.5.1.2 |
M | 2315 | Value is not of appropriate type. : (unsigned int and int): , linenum , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2315 | Value is not of appropriate type. : (unsigned int and int): , linenum , args [ cur_arg + 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2317 | goto detected. | GJB 4.5.1.2 |
M | 2323 | goto detected. | GJB 4.5.1.2 |
M | 2324 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2325 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2325 | Signed/unsigned conversion without cast. : (int and unsigned int): newsrv -> slowstart = ( val + 999 | GJB 4.6.1.9 |
M | 2328 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2329 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2331 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2333 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2335 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2339 | Value is not of appropriate type. : (unsigned int and int): m , args [ cur_arg | GJB 4.6.1.8 |
M | 2339 | Value is not of appropriate type. : (unsigned int and int): m , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2342 | goto detected. | GJB 4.5.1.2 |
M | 2347 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2348 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2351 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' expects 'shutdown-sessions' but got '%s'\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2352 | Value is not of appropriate type. : (unsigned int and int): ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2354 | goto detected. | GJB 4.5.1.2 |
M | 2359 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2360 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2364 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2364 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2366 | goto detected. | GJB 4.5.1.2 |
M | 2371 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2372 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2373 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: '%s' expects an integer argument.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2376 | goto detected. | GJB 4.5.1.2 |
M | 2379 | Value is not of appropriate type. : (unsigned int and int): newsrv -> consecutive_errors_limit = atoi ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2382 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d]: %s has to be > 0.\n" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 2385 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2389 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2393 | goto detected. | GJB 4.5.1.2 |
M | 2398 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2398 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 2400 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2402 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2402 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 2406 | Value is not of appropriate type. : (unsigned int and int): , file , linenum , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2411 | goto detected. | GJB 4.5.1.2 |
M | 2414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2416 | Value is not of appropriate type. : (unsigned int and int): , linenum , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2429 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2429 | free used on string. | GJB 5.1.19 |
M | 2432 | goto detected. | GJB 4.5.1.2 |
M | 2435 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2435 | free used on string. | GJB 5.1.19 |
M | 2449 | Value is not of appropriate type. : (unsigned int and int): [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 2451 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2451 | free used on string. | GJB 5.1.19 |
M | 2454 | goto detected. | GJB 4.5.1.2 |
M | 2461 | goto detected. | GJB 4.5.1.2 |
M | 2465 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2465 | free used on string. | GJB 5.1.19 |
M | 2468 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2469 | free used on string. | GJB 5.1.19 |
M | 2470 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2470 | free used on string. | GJB 5.1.19 |
M | 2472 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 2472 | Memory not freed after last reference. : fqdn | GJB 5.1.17 |
M | 2423 | Attempt to read from freed memory. : curproxy | GJB 5.1.16 |
M | 2221 | Attempt to read from freed memory. : newsrv | GJB 5.1.16 |
M | 2211 | Procedure contains UR data flow anomalies. : mask | GJB 4.13.1.4 |
M | 2017 | Procedure contains UR data flow anomalies. : port | GJB 4.13.1.4 |
M | 2017 | Procedure contains UR data flow anomalies. : port1 | GJB 4.13.1.4 |
M | 2017 | Procedure contains UR data flow anomalies. : port2 | GJB 4.13.1.4 |
M | 1946 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_find_by_id (2478 to 2497 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2496 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_find_by_name (2503 to 2531 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2503 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2507 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2524 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
server_find_best_match (2533 to 2592 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2533 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2538 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2544 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2548 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2548 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_update_state (2598 to 3011 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3002 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 2660 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 2803 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2811 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2824 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2830 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2834 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2598 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2600 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2600 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2617 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2618 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2626 | Signed/unsigned conversion without cast. : (unsigned int and int): port | GJB 4.6.1.9 |
M | 2653 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2655 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2655 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2655 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2655 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2656 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2657 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2658 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2665 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2674 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2674 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2674 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2674 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2675 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2675 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2676 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2677 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2678 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2678 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2680 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2686 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2687 | Signed/unsigned conversion without cast. : (unsigned int and long): srv_uweight = strtol | GJB 4.6.1.9 |
M | 2688 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2688 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2688 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2688 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2693 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2694 | Signed/unsigned conversion without cast. : (unsigned int and long): srv_iweight = strtol | GJB 4.6.1.9 |
M | 2695 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2695 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2695 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2695 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2700 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2701 | Signed/unsigned conversion without cast. : (unsigned long and long): srv_last_time_change = strtol | GJB 4.6.1.9 |
M | 2702 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2702 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2702 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2702 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2707 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2709 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2709 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2709 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2709 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2709 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2715 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2717 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2717 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2717 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2717 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2718 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2719 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2721 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2728 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2730 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2730 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2735 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2737 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2737 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2737 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2743 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2745 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2745 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2751 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2753 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2753 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2753 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2758 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2760 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2760 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2760 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2765 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2767 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2767 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2785 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2794 | goto detected. | GJB 4.5.1.2 |
M | 2801 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2805 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2810 | Expression needs brackets. | GJB 5.1.2 |
M | 2814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2814 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2816 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2818 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2827 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2828 | Expression needs brackets. | GJB 5.1.2 |
M | 2832 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 2833 | Expression needs brackets. | GJB 5.1.2 |
M | 2800 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 2800 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2853 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2856 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2876 | Signed/unsigned conversion without cast. : (unsigned int and int): srv_iweight | GJB 4.6.1.9 |
M | 2876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2876 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2910 | Signed/unsigned conversion without cast. : (int and unsigned int): srv -> uweight = srv_uweight | GJB 4.6.1.9 |
M | 2949 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2953 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2956 | goto detected. | GJB 4.5.1.2 |
M | 2960 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2960 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2960 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 2960 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2960 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2965 | goto detected. | GJB 4.5.1.2 |
M | 2973 | goto detected. | GJB 4.5.1.2 |
M | 2987 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2990 | Signed/unsigned conversion without cast. : (int and unsigned int): srv -> svc_port = port | GJB 4.6.1.9 |
M | 3003 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2766 | Procedure contains UR data flow anomalies. : fqdn | GJB 4.13.1.4 |
M | 2769 | Procedure contains UR data flow anomalies. : fqdn | GJB 4.13.1.4 |
M | 2652 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2664 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2685 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2692 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2699 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2706 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2714 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2727 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2734 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2742 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2750 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2757 | Procedure contains UR data flow anomalies. : p | GJB 4.13.1.4 |
M | 2777 | Procedure contains UR data flow anomalies. : port_str | GJB 4.13.1.4 |
M | 2786 | Procedure contains UR data flow anomalies. : srvrecord |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_state_get_version (3019 to 3034 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3019 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 3020 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_state_parse_line (3042 to 3134 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3058 | Pointer not checked for null before use. : cur | GJB 5.1.15 |
M | 3085 | Pointer not checked for null before use. : cur | GJB 5.1.15 |
M | 3042 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3042 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3042 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3045 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3047 | Signed/unsigned conversion without cast. : (int and unsigned int): buflen = strlen | GJB 4.6.1.9 |
M | 3058 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3059 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3068 | Value is not of appropriate type. : (unsigned int and int): buf [ buflen - 1 | GJB 4.6.1.8 |
M | 3069 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 3075 | Value is not of appropriate type. : (unsigned int and int): buf [ buflen - 1 | GJB 4.6.1.8 |
M | 3081 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3082 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3085 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3086 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3108 | Value is not of appropriate type. : (unsigned int and int): srv_params [ srv_arg | GJB 4.6.1.8 |
M | 3087 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3114 | Value is not of appropriate type. : (unsigned int and int): params [ arg | GJB 4.6.1.8 |
M | 3124 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
apply_server_state (3151 to 3476 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3381 | Name redeclared in another C name space (MR). : next | GJB 4.1.1.16 |
M | 3238 | Pointer not checked for null before use. : params | GJB 5.1.15 |
M | 3379 | Pointer not checked for null before use. : srv_params | GJB 5.1.15 |
M | 3457 | Pointer not checked for null before use. : srv_params | GJB 5.1.15 |
M | 3390 | Pointer not checked for null before use. : filepath | GJB 5.1.15 |
M | 3432 | Pointer not checked for null before use. : bk | GJB 5.1.15 |
M | 3372 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 3445 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 3471 | Pointer not checked for null before use. : st | GJB 5.1.15 |
M | 3473 | Pointer not checked for null before use. : (st)->line | GJB 5.1.15 |
M | 3153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3157 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 3158 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3159 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3164 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3165 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3176 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3176 | Value is not of appropriate type. : (int and char): len = strlen ( global.server_state_file | GJB 4.6.1.8 |
M | 3179 | goto detected. | GJB 4.5.1.2 |
M | 3182 | Value is not of appropriate type. : (unsigned int and int): globalfilepath [ len | GJB 4.6.1.8 |
M | 3186 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3186 | Value is not of appropriate type. : (int and char): len = strlen ( global.server_state_base | GJB 4.6.1.8 |
M | 3189 | goto detected. | GJB 4.5.1.2 |
M | 3192 | Value is not of appropriate type. : (unsigned int and int): globalfilepath [ len | GJB 4.6.1.8 |
M | 3196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3196 | Value is not of appropriate type. : (unsigned int and int): globalfilepath [ globalfilepathlen - 1 | GJB 4.6.1.8 |
M | 3197 | Expression needs brackets. | GJB 5.1.2 |
M | 3199 | goto detected. | GJB 4.5.1.2 |
M | 3201 | Value is not of appropriate type. : (unsigned int and int): globalfilepath [ globalfilepathlen ++ | GJB 4.6.1.8 |
M | 3204 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3204 | Value is not of appropriate type. : (int and char): len = strlen ( global.server_state_file | GJB 4.6.1.8 |
M | 3205 | Expression needs brackets. | GJB 5.1.2 |
M | 3207 | goto detected. | GJB 4.5.1.2 |
M | 3211 | Value is not of appropriate type. : (unsigned int and int): globalfilepath [ globalfilepathlen ++ | GJB 4.6.1.8 |
M | 3212 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3220 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3222 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3223 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3225 | goto detected. | GJB 4.5.1.2 |
M | 3229 | goto detected. | GJB 4.5.1.2 |
M | 3240 | goto detected. | GJB 4.5.1.2 |
M | 3251 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3251 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3253 | goto detected. | GJB 4.5.1.2 |
M | 3255 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3260 | goto detected. | GJB 4.5.1.2 |
M | 3270 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3270 | free used on string. | GJB 5.1.19 |
M | 3306 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3306 | Value is not of appropriate type. : (int and char): len = strlen ( curproxy -> server_state_file_name | GJB 4.6.1.8 |
M | 3309 | goto detected. | GJB 4.5.1.2 |
M | 3312 | Value is not of appropriate type. : (unsigned int and int): localfilepath [ len | GJB 4.6.1.8 |
M | 3316 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3316 | Value is not of appropriate type. : (int and char): len = strlen ( global.server_state_base | GJB 4.6.1.8 |
M | 3321 | goto detected. | GJB 4.5.1.2 |
M | 3324 | Value is not of appropriate type. : (unsigned int and int): localfilepath [ localfilepathlen | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3327 | Value is not of appropriate type. : (unsigned int and int): localfilepath [ localfilepathlen - 1 | GJB 4.6.1.8 |
M | 3328 | Expression needs brackets. | GJB 5.1.2 |
M | 3330 | goto detected. | GJB 4.5.1.2 |
M | 3332 | Value is not of appropriate type. : (unsigned int and int): localfilepath [ localfilepathlen ++ | GJB 4.6.1.8 |
M | 3335 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3335 | Value is not of appropriate type. : (int and char): len = strlen ( curproxy -> server_state_file_name | GJB 4.6.1.8 |
M | 3336 | Expression needs brackets. | GJB 5.1.2 |
M | 3338 | goto detected. | GJB 4.5.1.2 |
M | 3342 | Value is not of appropriate type. : (unsigned int and int): localfilepath [ localfilepathlen ++ | GJB 4.6.1.8 |
M | 3343 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3351 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3353 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3361 | Name reused in inner scope. : srv | GJB 4.15.1.2,4.15.1.5 |
M | 3363 | Name reused in inner scope. : node | GJB 4.15.1.2,4.15.1.5 |
M | 3364 | Name reused in inner scope. : st | GJB 4.15.1.2,4.15.1.5 |
M | 3369 | goto detected. | GJB 4.5.1.2 |
M | 3377 | goto detected. | GJB 4.5.1.2 |
M | 3389 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3391 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3392 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3402 | goto detected. | GJB 4.5.1.2 |
M | 3418 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3429 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3435 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3444 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3467 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3469 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3472 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3472 | free used on string. | GJB 5.1.19 |
M | 3473 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3476 | Memory not freed after last reference. : line | GJB 5.1.17 |
M | 3476 | Memory not freed after last reference. : st | GJB 5.1.17 |
M | 3457 | Attempt to read from freed memory. : srv | GJB 5.1.16 |
M | 3286 | Procedure contains UR data flow anomalies. : filepath | GJB 4.13.1.4 |
M | 3159 | Procedure contains UR data flow anomalies. : globalfilepath | GJB 4.13.1.4 |
M | 3167 | Procedure contains UR data flow anomalies. : node |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
update_server_addr (3489 to 3563 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3489 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3489 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3494 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3495 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3500 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3492 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3508 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3509 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3528 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3551 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
update_server_addr_port (3584 to 3739 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3642 | Name redeclared in another C name space (MR). : port | GJB 4.1.1.16 |
M | 3594 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 3584 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3584 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3584 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3584 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3584 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3588 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3597 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3600 | goto detected. | GJB 4.5.1.2 |
M | 3606 | goto detected. | GJB 4.5.1.2 |
M | 3615 | goto detected. | GJB 4.5.1.2 |
M | 3623 | goto detected. | GJB 4.5.1.2 |
M | 3645 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3657 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3658 | Signed/unsigned conversion without cast. : (unsigned short and long): new_port = strtol | GJB 4.6.1.9 |
M | 3659 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3661 | goto detected. | GJB 4.5.1.2 |
M | 3665 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3677 | goto detected. | GJB 4.5.1.2 |
M | 3706 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 3642 | Identifier reuse: label vs variable (MR). : port |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
snr_update_srv_status (3750 to 3846 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3750 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 3798 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3809 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3820 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3831 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
snr_resolution_cb (3863 to 3952 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3903 | Pointer not checked for null before use. : resolution | GJB 5.1.15 |
M | 3903 | Pointer not checked for null before use. : serverip | GJB 5.1.15 |
M | 3903 | Pointer not checked for null before use. : firstip | GJB 5.1.15 |
M | 3935 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3900 | goto detected. | GJB 4.5.1.2 |
M | 3901 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3909 | goto detected. | GJB 4.5.1.2 |
M | 3909 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3912 | goto detected. | GJB 4.5.1.2 |
M | 3912 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3915 | goto detected. | GJB 4.5.1.2 |
M | 3915 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3919 | goto detected. | GJB 4.5.1.2 |
M | 3919 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3924 | goto detected. | GJB 4.5.1.2 |
M | 3924 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3927 | goto detected. | GJB 4.5.1.2 |
M | 3929 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3939 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3948 | goto detected. | GJB 4.5.1.2 |
M | 3880 | Procedure contains UR data flow anomalies. : firstip | GJB 4.13.1.4 |
M | 3883 | Procedure contains UR data flow anomalies. : serverip |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
snr_resolution_error_cb (3962 to 3973 server.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
snr_check_ip_callback (3983 to 4035 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3992 | Pointer not checked for null before use. : be | GJB 5.1.15 |
M | 4022 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4023 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4024 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4025 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4026 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_addr_via_libc (4042 to 4050 server.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_set_fqdn (4057 to 4114 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4078 | Pointer not checked for null before use. : hostname_dn | GJB 5.1.15 |
M | 4102 | Pointer not checked for null before use. : (srv)->hostname_dn | GJB 5.1.15 |
M | 4057 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4060 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4073 | goto detected. | GJB 4.5.1.2 |
M | 4076 | Signed/unsigned conversion without cast. : (int and unsigned int): hostname_len = strlen | GJB 4.6.1.9 |
M | 4081 | goto detected. | GJB 4.5.1.2 |
M | 4085 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4086 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4087 | goto detected. | GJB 4.5.1.2 |
M | 4091 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4091 | free used on string. | GJB 5.1.19 |
M | 4092 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4092 | free used on string. | GJB 5.1.19 |
M | 4096 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4096 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4097 | goto detected. | GJB 4.5.1.2 |
M | 4100 | goto detected. | GJB 4.5.1.2 |
M | 4103 | goto detected. | GJB 4.5.1.2 |
M | 4102 | Attempt to read from freed memory. : srv | GJB 5.1.16 |
M | 4105 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_apply_lastaddr (4121 to 4129 server.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_iterate_initaddr (4132 to 4216 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4206 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 4181 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4134 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4168 | goto detected. | GJB 4.5.1.2 |
M | 4176 | goto detected. | GJB 4.5.1.2 |
M | 4186 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 4194 | goto detected. | GJB 4.5.1.2 |
M | 4194 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_init_addr (4226 to 4248 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4237 | goto detected. | GJB 4.5.1.2 |
M | 4240 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4245 | Memory not freed after last reference. : srv |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
update_server_fqdn (4253 to 4290 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4259 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 4253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4263 | goto detected. | GJB 4.5.1.2 |
M | 4266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4268 | goto detected. | GJB 4.5.1.2 |
M | 4278 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_find_server (4299 to 4328 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4303 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4307 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4308 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4312 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4312 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4327 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4302 | Procedure contains UR data flow anomalies. : sv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_server (4332 to 4483 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4366 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4370 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4374 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4384 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4388 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4332 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4332 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4332 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4335 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4365 | Expression needs brackets. | GJB 5.1.2 |
M | 4369 | Expression needs brackets. | GJB 5.1.2 |
M | 4383 | Expression needs brackets. | GJB 5.1.2 |
M | 4397 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4408 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4411 | goto detected. | GJB 4.5.1.2 |
M | 4415 | goto detected. | GJB 4.5.1.2 |
M | 4420 | goto detected. | GJB 4.5.1.2 |
M | 4426 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4427 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4430 | goto detected. | GJB 4.5.1.2 |
M | 4446 | goto detected. | GJB 4.5.1.2 |
M | 4332 | Static procedure is not explicitly called in code analysed. : cli_parse_set_server | GJB 4.7.1.3 |
M | 4483 | Memory not freed after last reference. : sv |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_get_weight (4485 to 4514 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4485 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4485 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4485 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4490 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4495 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4496 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4485 | Static procedure is not explicitly called in code analysed. : cli_parse_get_weight | GJB 4.7.1.3 |
M | 4488 | Procedure contains UR data flow anomalies. : px |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_weight (4520 to 4541 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4520 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4520 | Static procedure is not explicitly called in code analysed. : cli_parse_set_weight | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_maxconn_server (4547 to 4568 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4547 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4547 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4547 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4550 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4547 | Static procedure is not explicitly called in code analysed. : cli_parse_set_maxconn_server | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_disable_agent (4574 to 4589 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4574 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4574 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4574 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4574 | Static procedure is not explicitly called in code analysed. : cli_parse_disable_agent | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_disable_health (4595 to 4610 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4595 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4595 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4595 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4595 | Static procedure is not explicitly called in code analysed. : cli_parse_disable_health | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_disable_server (4616 to 4631 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4616 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4616 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4616 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4616 | Static procedure is not explicitly called in code analysed. : cli_parse_disable_server | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_enable_agent (4637 to 4655 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4637 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4637 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4637 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4637 | Static procedure is not explicitly called in code analysed. : cli_parse_enable_agent | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_enable_health (4661 to 4676 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4661 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4661 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4661 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4661 | Static procedure is not explicitly called in code analysed. : cli_parse_enable_health | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_enable_server (4682 to 4701 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4682 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4682 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4682 | Static procedure is not explicitly called in code analysed. : cli_parse_enable_server | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_update_status (4729 to 5261 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4769 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4803 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4863 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4918 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4959 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 5157 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4729 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4812 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4812 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4817 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4817 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4823 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4823 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4827 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4849 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4889 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4889 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4891 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4898 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4969 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4997 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4997 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5000 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5061 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5061 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5070 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5132 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 5135 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 5170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5256 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_cleanup_toremove_connections (5263 to 5273 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5267 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5267 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_migrate_conns_to_remove (5279 to 5293 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5283 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 5286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5286 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5282 | Procedure contains UR data flow anomalies. : conn | GJB 4.13.1.4 |
M | 5281 | Procedure contains UR data flow anomalies. : elt1 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_cleanup_connections (5297 to 5319 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5300 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 5309 | Value is not of appropriate type. : (unsigned int and int): & srv -> idle_conns [ i | GJB 4.6.1.8 |
M | 5309 | Value is not of appropriate type. : (unsigned int and int): & srv -> idle_conns [ i ] , & idle_conns [ i | GJB 4.6.1.8 |
M | 5311 | Value is not of appropriate type. : (unsigned int and int): & srv -> safe_conns [ i | GJB 4.6.1.8 |
M | 5311 | Value is not of appropriate type. : (unsigned int and int): & srv -> safe_conns [ i ] , & idle_conns [ i | GJB 4.6.1.8 |
M | 5314 | Value is not of appropriate type. : (unsigned int and int): task_wakeup ( idle_conns [ i | GJB 4.6.1.8 |
M | 5316 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5316 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 5316 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
srv_cleanup_idle_connections (5321 to 5411 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5358 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 5325 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 5360 | goto detected. | GJB 4.5.1.2 |
M | 5361 | Expression needs brackets. | GJB 5.1.2 |
M | 5362 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5362 | Expression needs brackets. | GJB 5.1.2 |
M | 5371 | goto detected. | GJB 4.5.1.2 |
M | 5376 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 5379 | Value is not of appropriate type. : (unsigned int and int): max_conn = ( exceed_conns * srv -> curr_idle_thr [ i | GJB 4.6.1.8 |
M | 5380 | Expression needs brackets. | GJB 5.1.2 |
M | 5382 | Value is not of appropriate type. : (unsigned int and int): & srv -> idle_conns [ i | GJB 4.6.1.8 |
M | 5382 | Value is not of appropriate type. : (unsigned int and int): & srv -> idle_conns [ i ] , & idle_conns [ i | GJB 4.6.1.8 |
M | 5385 | Expression needs brackets. | GJB 5.1.2 |
M | 5385 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5386 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5386 | Value is not of appropriate type. : (unsigned int and int): & srv -> safe_conns [ i | GJB 4.6.1.8 |
M | 5386 | Value is not of appropriate type. : (unsigned int and int): & srv -> safe_conns [ i ] , & idle_conns [ i | GJB 4.6.1.8 |
M | 5390 | Value is not of appropriate type. : (unsigned int and int): task_wakeup ( idle_conns [ i | GJB 4.6.1.8 |
M | 5392 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5392 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 5392 | Expression needs brackets. | GJB 5.1.2 |
M | 5409 | Signed/unsigned conversion without cast. : (int and unsigned int): task -> expire = next_wakeup | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_idle_pool_shared (5414 to 5430 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5414 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5415 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5416 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5422 | Bit operator with boolean operand. : |= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 5422 | Bit operator with boolean operand. : |= used with bool: GTUNE_IDLE_POOL_SHARED | GJB 4.6.1.17,4.6.1.18 |
M | 5424 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 5424 | Bit operator with boolean operand. : ~ used with bool: GTUNE_IDLE_POOL_SHARED | GJB 4.6.1.17,4.6.1.18 |
M | 5414 | Static procedure is not explicitly called in code analysed. : cfg_parse_idle_pool_shared | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_pool_fd_ratio (5433 to 5455 server.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5433 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5434 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5442 | Expression needs brackets. | GJB 5.1.2 |
M | 5442 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) != 0 | GJB 4.6.1.8 |
M | 5445 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5445 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5451 | Type conversion without cast. : (bool and int): global.tune.pool_high_ratio = arg | GJB 4.6.1.9 |
M | 5433 | Static procedure is not explicitly called in code analysed. : cfg_parse_pool_fd_ratio | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_new (38 to 61 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_free (63 to 95 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 73 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 66 | Procedure contains UR data flow anomalies. : srv_list |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_count_new (107 to 129 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 111 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 116 | Value is not of appropriate type. : (unsigned int and int): stkctr = &sess -> stkctr [ i | GJB 4.6.1.8 |
M | 126 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr , sess_rate ) , stkctr -> table -> data_arg [ STKTABLE_DT_SESS_RATE | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_accept_fd (140 to 290 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 143 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 164 | goto detected. | GJB 4.5.1.2 |
M | 169 | goto detected. | GJB 4.5.1.2 |
M | 173 | goto detected. | GJB 4.5.1.2 |
M | 180 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 182 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 182 | Use of sizeof on a type. | GJB 5.1.8 |
M | 184 | goto detected. | GJB 4.5.1.2 |
M | 188 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 188 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 189 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 189 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 192 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 192 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 211 | Value is not of appropriate type. : (unsigned int and int): fdtab [ cfd | GJB 4.6.1.8 |
M | 249 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 249 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 250 | goto detected. | GJB 4.5.1.2 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 278 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_prepare_log_prefix (297 to 321 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 305 | Pointer not checked for null before use. : cli_conn | GJB 5.1.15 |
M | 316 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 300 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 302 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | Procedure contains UR data flow anomalies. : pn | GJB 4.13.1.4 |
M | 299 | Procedure contains UR data flow anomalies. : tm |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_kill_embryonic (328 to 376 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 341 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 334 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 345 | Signed/unsigned conversion without cast. : (unsigned int and int): log | GJB 4.6.1.9 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
session_expire_embryonic (381 to 390 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 381 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 381 | Static procedure is not explicitly called in code analysed. : session_expire_embryonic | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_complete_session (398 to 430 session.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 405 | goto detected. | GJB 4.5.1.2 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 413 | goto detected. | GJB 4.5.1.2 |
M | 417 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_be32 (51 to 58 sha1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 54 | Shifting value too far. | GJB 4.6.1.4 |
M | 54 | Expression needs brackets. | GJB 5.1.2 |
M | 54 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
put_be32 (60 to 67 sha1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 62 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
blk_SHA1_Block (143 to 249 sha1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 145 | Name found with length less than 2. : A | GJB 4.8.1.1 |
M | 145 | Name found with length less than 2. : B | GJB 4.8.1.1 |
M | 145 | Name found with length less than 2. : C | GJB 4.8.1.1 |
M | 145 | Name found with length less than 2. : D | GJB 4.8.1.1 |
M | 145 | Name found with length less than 2. : E | GJB 4.8.1.1 |
M | 155 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 155 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 155 | Expression needs brackets. | GJB 5.1.2 |
M | 155 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 155 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 155 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 155 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 156 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 156 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 156 | Expression needs brackets. | GJB 5.1.2 |
M | 156 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 156 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 156 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 156 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 157 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 157 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 157 | Expression needs brackets. | GJB 5.1.2 |
M | 157 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 157 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 157 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 157 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 158 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 158 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 158 | Expression needs brackets. | GJB 5.1.2 |
M | 158 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 158 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 158 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 158 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 159 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 159 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 159 | Expression needs brackets. | GJB 5.1.2 |
M | 159 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 159 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 159 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 159 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 160 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 160 | Expression needs brackets. | GJB 5.1.2 |
M | 160 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 160 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 160 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 161 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 161 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 161 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 161 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 161 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 161 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 161 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 162 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 162 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 162 | Expression needs brackets. | GJB 5.1.2 |
M | 162 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 162 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 162 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 162 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 163 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 163 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 163 | Expression needs brackets. | GJB 5.1.2 |
M | 163 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 163 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 163 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 163 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 164 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 164 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 164 | Expression needs brackets. | GJB 5.1.2 |
M | 164 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 164 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 164 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 164 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 165 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 165 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 165 | Expression needs brackets. | GJB 5.1.2 |
M | 165 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 166 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 166 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 166 | Expression needs brackets. | GJB 5.1.2 |
M | 166 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 166 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 166 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 166 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 167 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 167 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 167 | Expression needs brackets. | GJB 5.1.2 |
M | 167 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 167 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 167 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 167 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 168 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 168 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 168 | Expression needs brackets. | GJB 5.1.2 |
M | 168 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 168 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 168 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 168 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 169 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 169 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 169 | Expression needs brackets. | GJB 5.1.2 |
M | 169 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 169 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 169 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 169 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 170 | Signed/unsigned conversion without cast. : (unsigned int and int): get_be32 | GJB 4.6.1.9 |
M | 170 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 170 | Expression needs brackets. | GJB 5.1.2 |
M | 170 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 170 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 170 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 170 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 174 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 179 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 185 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 187 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 189 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 191 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 194 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 196 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 198 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 202 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 203 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 204 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 205 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 207 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 208 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 209 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 214 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 215 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 217 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 219 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 220 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 227 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 229 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 235 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
blk_SHA1_Update (263 to 289 sha1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 283 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 288 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 267 | Signed/unsigned conversion without cast. : (int and unsigned long): ctx -> size += len | GJB 4.6.1.9 |
M | 271 | Signed/unsigned conversion without cast. : (unsigned int and int): 64 | GJB 4.6.1.9 |
M | 274 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 274 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 274 | Name found with length less than 2. : W | GJB 4.8.1.1 |
M | 275 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 276 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 277 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 277 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 282 | Signed/unsigned conversion without cast. : (unsigned long and int): len | GJB 4.6.1.9 |
M | 284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 284 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 285 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 288 | Name found with length less than 2. : W | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
blk_SHA1_Final (291 to 308 sha1.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 291 | Single dimension array param size specified. | GJB 5.1.10 |
M | 293 | Array initialisation has insufficient items. : pad[*]; given=1, expected=64 | GJB 5.1.20 |
M | 295 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 298 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 299 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 307 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 307 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 307 | Expression needs brackets. | GJB 5.1.2 |
M | 307 | Value is not of appropriate type. : (unsigned int and int): hashout + i * 4 , ctx -> H [ i | GJB 4.6.1.8 |
M | 302 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 303 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_row_reserve_hot (33 to 139 shctx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Pointer not checked for null before use. : block | GJB 5.1.15 |
M | 127 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 82 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 42 | Expression needs brackets. | GJB 5.1.2 |
M | 43 | goto detected. | GJB 4.5.1.2 |
M | 47 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 47 | Expression needs brackets. | GJB 5.1.2 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 48 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 49 | goto detected. | GJB 4.5.1.2 |
M | 62 | Expression needs brackets. | GJB 5.1.2 |
M | 74 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 78 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 87 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 102 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 102 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 138 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_row_inc_hot (144 to 164 shctx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 155 | Pointer not checked for null before use. : block |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_row_dec_hot (169 to 190 shctx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 182 | Pointer not checked for null before use. : block |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_row_data_append (200 to 241 shctx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 232 | Pointer not checked for null before use. : block | GJB 5.1.15 |
M | 208 | Expression needs brackets. | GJB 5.1.2 |
M | 209 | Expression needs brackets. | GJB 5.1.2 |
M | 218 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_row_data_get (249 to 285 shctx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 280 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 279 | Pointer not checked for null before use. : block | GJB 5.1.15 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 269 | Expression needs brackets. | GJB 5.1.2 |
M | 274 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shctx_init (293 to 383 shctx.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 370 | Pointer not checked for null before use. : cur | GJB 5.1.15 |
M | 296 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 311 | Use of sizeof on a type. | GJB 5.1.8 |
M | 311 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 311 | Expression needs brackets. | GJB 5.1.2 |
M | 311 | Signed/unsigned conversion without cast. : (int and unsigned int): blocksize = ( blocksize + sizeof ( void * ) - 1 | GJB 4.6.1.9 |
M | 312 | Use of sizeof on a type. | GJB 5.1.8 |
M | 312 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 312 | Expression needs brackets. | GJB 5.1.2 |
M | 312 | Signed/unsigned conversion without cast. : (int and unsigned int): extra = ( extra + sizeof ( void * ) - 1 | GJB 4.6.1.9 |
M | 319 | Use of sizeof on a type. | GJB 5.1.8 |
M | 319 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 319 | Signed/unsigned conversion without cast. : (unsigned int and int): shctx = ( struct shared_context * ) mmap ( NULL , sizeof ( struct shared_context ) + extra + ( | GJB 4.6.1.9 |
M | 321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 324 | goto detected. | GJB 4.5.1.2 |
M | 365 | Value is not of appropriate type. : (bool and unsigned char): shctx -> max_obj_size = maxobjsz == ( unsigned int ) | GJB 4.6.1.8 |
M | 368 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 368 | Use of sizeof on a type. | GJB 5.1.8 |
M | 370 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 376 | Use of sizeof on a type. | GJB 5.1.8 |
M | 376 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 322 | Procedure contains UR data flow anomalies. : shctx |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_shmem_create (20 to 158 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 120 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 128 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 132 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 108 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 104 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 83 | Pointer not checked for null before use. : shmem | GJB 5.1.15 |
M | 86 | Pointer not checked for null before use. : shmem | GJB 5.1.15 |
M | 21 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 22 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 24 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 48 | Expression needs brackets. | GJB 5.1.2 |
M | 49 | Value is not of appropriate type. : (unsigned int and unsigned long): block_size = 1UL | GJB 4.6.1.8 |
M | 59 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 59 | Expression needs brackets. | GJB 5.1.2 |
M | 68 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 68 | Expression needs brackets. | GJB 5.1.2 |
M | 68 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 68 | Expression needs brackets. | GJB 5.1.2 |
M | 71 | Value is not of appropriate type. : (int* and unsigned char*): p = ( uint8_t * | GJB 4.6.1.8 |
M | 79 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 88 | Signed/unsigned conversion without cast. : (int and unsigned int): shmem -> block_size = block_size | GJB 4.6.1.9 |
M | 90 | Signed/unsigned conversion without cast. : (int and unsigned long): shmem -> size = size | GJB 4.6.1.9 |
M | 93 | Use of sizeof on a type. | GJB 5.1.8 |
M | 98 | Signed/unsigned conversion without cast. : (int and unsigned long): shmem -> chunk_shift = n | GJB 4.6.1.9 |
M | 102 | Signed/unsigned conversion without cast. : (int and unsigned long): shmem -> block_shift = n | GJB 4.6.1.9 |
M | 103 | Signed/unsigned conversion without cast. : (int and unsigned long): shmem -> chunks = n | GJB 4.6.1.9 |
M | 103 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 103 | Expression needs brackets. | GJB 5.1.2 |
M | 112 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 112 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 115 | Signed/unsigned conversion without cast. : (unsigned long and int): n = ( shmem -> stop - p | GJB 4.6.1.9 |
M | 115 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 117 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 117 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 117 | Expression needs brackets. | GJB 5.1.2 |
M | 122 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 122 | Expression needs brackets. | GJB 5.1.2 |
M | 126 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 126 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 126 | Expression needs brackets. | GJB 5.1.2 |
M | 131 | Signed/unsigned conversion without cast. : (int and unsigned long): shmem -> blocks = n | GJB 4.6.1.9 |
M | 132 | Value is not of appropriate type. : (int and unsigned char*): shmem -> bitmap = ( uint8_t * | GJB 4.6.1.8 |
M | 135 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 135 | Expression needs brackets. | GJB 5.1.2 |
M | 137 | Use of sizeof on a type. | GJB 5.1.8 |
M | 137 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 137 | Expression needs brackets. | GJB 5.1.2 |
M | 140 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 140 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 140 | Expression needs brackets. | GJB 5.1.2 |
M | 145 | Signed/unsigned conversion without cast. : (unsigned long and int): n | GJB 4.6.1.9 |
M | 150 | Signed/unsigned conversion without cast. : (unsigned long and int): n | GJB 4.6.1.9 |
M | 152 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 152 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 157 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_shmem_block_alloc (160 to 242 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 240 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 183 | Pointer not checked for null before use. : v | GJB 5.1.15 |
M | 194 | Pointer not checked for null before use. : begin | GJB 5.1.15 |
M | 163 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 167 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 174 | Expression needs brackets. | GJB 5.1.2 |
M | 175 | Signed/unsigned conversion without cast. : (unsigned int and int): ~ 0U >> ( NST_SHMEM_INFO_BITMAP_BITS | GJB 4.6.1.9 |
M | 176 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 177 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 182 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Expression needs brackets. | GJB 5.1.2 |
M | 196 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 203 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 222 | Value is not of appropriate type. : (unsigned int and int): shmem -> chunk [ chunk_idx | GJB 4.6.1.8 |
M | 240 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_nst_shmem_block_init (244 to 266 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 248 | Value is not of appropriate type. : (unsigned int and int): chunk = shmem -> chunk [ chunk_idx | GJB 4.6.1.8 |
M | 265 | Value is not of appropriate type. : (unsigned int and int): shmem -> chunk [ chunk_idx | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_shmem_alloc_locked (268 to 315 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 289 | Pointer not checked for null before use. : block | GJB 5.1.15 |
M | 314 | Pointer not checked for null before use. : block | GJB 5.1.15 |
M | 271 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 277 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 277 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 277 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 279 | Value is not of appropriate type. : (unsigned int and int): chunk = shmem -> chunk [ chunk_idx | GJB 4.6.1.8 |
M | 302 | Value is not of appropriate type. : (unsigned int and int): block = &shmem -> block [ block_idx | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_shmem_alloc (317 to 326 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 325 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_shmem_free_locked (328 to 468 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 439 | Pointer not checked for null before use. : chunk | GJB 5.1.15 |
M | 329 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 334 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 334 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 338 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 339 | Value is not of appropriate type. : (unsigned int and int): block = &shmem -> block [ block_idx | GJB 4.6.1.8 |
M | 342 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 345 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 345 | Expression needs brackets. | GJB 5.1.2 |
M | 356 | Expression needs brackets. | GJB 5.1.2 |
M | 357 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 365 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 367 | Name reused in inner scope. : block | GJB 4.15.1.2,4.15.1.5 |
M | 367 | Name reused in inner scope. : bits_idx | GJB 4.15.1.2,4.15.1.5 |
M | 369 | Expression needs brackets. | GJB 5.1.2 |
M | 371 | Expression needs brackets. | GJB 5.1.2 |
M | 466 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
nst_shmem_free (470 to 480 shmem.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 471 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
signal_handler (39 to 59 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 41 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 43 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 48 | Value is not of appropriate type. : (unsigned int and int): ! signal_state [ sig | GJB 4.6.1.8 |
M | 51 | Value is not of appropriate type. : (unsigned int and int): signal_queue [ signal_queue_len ++ | GJB 4.6.1.8 |
M | 56 | Value is not of appropriate type. : (unsigned int and int): signal_state [ sig | GJB 4.6.1.8 |
M | 57 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__signal_process_queue (67 to 99 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | Empty parameter list to procedure/function. : __signal_process_queue | GJB 4.1.1.10 |
M | 82 | Value is not of appropriate type. : (unsigned int and int): sig = signal_queue [ cur_pos | GJB 4.6.1.8 |
M | 83 | Value is not of appropriate type. : (unsigned int and int): desc = &signal_state [ sig | GJB 4.6.1.8 |
M | 90 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 71 | Procedure contains UR data flow anomalies. : old_sig | GJB 4.13.1.4 |
M | 85 | Procedure contains UR data flow anomalies. : sh |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
signal_init (102 to 130 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 102 | Empty parameter list to procedure/function. : signal_init | GJB 4.1.1.10 |
M | 129 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 129 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & signal_state [ sig | GJB 4.6.1.8 |
M | 102 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
haproxy_unblock_signals (135 to 145 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 135 | Empty parameter list to procedure/function. : haproxy_unblock_signals | GJB 4.1.1.10 |
M | 137 | Procedure contains UR data flow anomalies. : set |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_signals (148 to 161 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 148 | Empty parameter list to procedure/function. : deinit_signals | GJB 4.1.1.10 |
M | 154 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 156 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry_safe ( sh , shb , & signal_state [ sig | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
signal_register_fct (171 to 193 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 178 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 191 | Value is not of appropriate type. : (unsigned int and int): LIST_ADDQ ( & signal_state [ sig | GJB 4.6.1.8 |
M | 192 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
signal_register_task (203 to 225 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 210 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 223 | Value is not of appropriate type. : (unsigned int and int): LIST_ADDQ ( & signal_state [ sig | GJB 4.6.1.8 |
M | 224 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
signal_unregister_target (242 to 259 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 246 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 246 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 252 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry_safe ( sh , shb , & signal_state [ sig | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
signal_unregister (266 to 279 signal.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry_safe ( sh , shb , & signal_state [ sig | GJB 4.6.1.8 |
M | 278 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_find (38 to 46 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 44 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 40 | Procedure contains UR data flow anomalies. : sink |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__sink_new (53 to 90 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 65 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 53 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 59 | goto detected. | GJB 4.5.1.2 |
M | 61 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 63 | goto detected. | GJB 4.5.1.2 |
M | 67 | goto detected. | GJB 4.5.1.2 |
M | 71 | goto detected. | GJB 4.5.1.2 |
M | 82 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 84 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 85 | free used on string. | GJB 5.1.19 |
M | 86 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 86 | free used on string. | GJB 5.1.19 |
M | 87 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 86 | Attempt to read from freed memory. : (sink)-> | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_new_fd (96 to 113 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 101 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 101 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 102 | goto detected. | GJB 4.5.1.2 |
M | 106 | goto detected. | GJB 4.5.1.2 |
M | 112 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 100 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_new_buf (120 to 154 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 144 | Pointer not checked for null before use. : (sink)->name | GJB 5.1.15 |
M | 128 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 120 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 120 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 126 | goto detected. | GJB 4.5.1.2 |
M | 131 | goto detected. | GJB 4.5.1.2 |
M | 132 | goto detected. | GJB 4.5.1.2 |
M | 137 | goto detected. | GJB 4.5.1.2 |
M | 143 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 143 | free used on string. | GJB 5.1.19 |
M | 144 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 144 | free used on string. | GJB 5.1.19 |
M | 145 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 146 | goto detected. | GJB 4.5.1.2 |
M | 151 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 124 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__sink_write (163 to 182 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 176 | Pointer not checked for null before use. : pfx | GJB 5.1.15 |
M | 170 | goto detected. | GJB 4.5.1.2 |
M | 180 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_announce_dropped (189 to 227 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 197 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 199 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 199 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 200 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 201 | Signed/unsigned conversion without cast. : (unsigned int and int): chunk_printf ( & msg , "%u event%s dropped" , dropped , dropped | GJB 4.6.1.9 |
M | 206 | Value is not of appropriate type. : (int and char): strlen ( global.log_send_hostname | GJB 4.6.1.8 |
M | 217 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 197 | Procedure contains UR data flow anomalies. : logbuf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_events (230 to 274 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 230 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 230 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 230 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 263 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 264 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 266 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 268 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 268 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 230 | Static procedure is not explicitly called in code analysed. : cli_parse_show_events | GJB 4.7.1.3 |
M | 232 | Procedure contains UR data flow anomalies. : sink |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_setup_proxy (277 to 289 sink.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_forward_io_handler (294 to 427 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 298 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 300 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 308 | goto detected. | GJB 4.5.1.2 |
M | 320 | goto detected. | GJB 4.5.1.2 |
M | 324 | goto detected. | GJB 4.5.1.2 |
M | 339 | goto detected. | GJB 4.5.1.2 |
M | 358 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs | GJB 4.6.1.9 |
M | 361 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 377 | Expression needs brackets. | GJB 5.1.2 |
M | 382 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 383 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 383 | Expression needs brackets. | GJB 5.1.2 |
M | 385 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 385 | Expression needs brackets. | GJB 5.1.2 |
M | 387 | Signed/unsigned conversion without cast. : (int and unsigned int): ofs += cnt | GJB 4.6.1.9 |
M | 387 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 394 | Type conversion without cast. : (int and char): trash.area [ trash.data ++ ] = '\n' | GJB 4.6.1.9 |
M | 401 | Signed/unsigned conversion without cast. : (int and unsigned int): ofs += cnt | GJB 4.6.1.9 |
M | 401 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 294 | Static procedure is not explicitly called in code analysed. : sink_forward_io_handler | GJB 4.7.1.3 |
M | 302 | Procedure contains UR data flow anomalies. : msg_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_forward_oc_io_handler (433 to 571 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 437 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 439 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 444 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 444 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 448 | goto detected. | GJB 4.5.1.2 |
M | 460 | goto detected. | GJB 4.5.1.2 |
M | 464 | goto detected. | GJB 4.5.1.2 |
M | 479 | goto detected. | GJB 4.5.1.2 |
M | 498 | Signed/unsigned conversion without cast. : (unsigned int and int): ofs | GJB 4.6.1.9 |
M | 501 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 517 | Expression needs brackets. | GJB 5.1.2 |
M | 522 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 523 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 523 | Expression needs brackets. | GJB 5.1.2 |
M | 532 | Expression needs brackets. | GJB 5.1.2 |
M | 534 | Signed/unsigned conversion without cast. : (int and unsigned int): ofs += cnt | GJB 4.6.1.9 |
M | 534 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 545 | Signed/unsigned conversion without cast. : (int and unsigned int): ofs += cnt | GJB 4.6.1.9 |
M | 545 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 433 | Static procedure is not explicitly called in code analysed. : sink_forward_oc_io_handler | GJB 4.7.1.3 |
M | 441 | Procedure contains UR data flow anomalies. : msg_len |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__sink_forward_session_deinit (573 to 600 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 594 | Pointer not checked for null before use. : sink |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_forward_session_release (603 to 614 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 603 | Static procedure is not explicitly called in code analysed. : sink_forward_session_release | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_forward_session_create (633 to 691 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 648 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 646 | goto detected. | GJB 4.5.1.2 |
M | 648 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 656 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 656 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 658 | goto detected. | GJB 4.5.1.2 |
M | 664 | goto detected. | GJB 4.5.1.2 |
M | 679 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_sink_forward (696 to 725 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 698 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 708 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 696 | Static procedure is not explicitly called in code analysed. : process_sink_forward | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_init_forward (731 to 742 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 738 | Value is not of appropriate type. : (int and void*): sink -> forward_task -> context = ( void * | GJB 4.6.1.8 |
M | 738 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_ring (749 to 918 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 749 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 749 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 752 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 760 | goto detected. | GJB 4.5.1.2 |
M | 767 | goto detected. | GJB 4.5.1.2 |
M | 773 | goto detected. | GJB 4.5.1.2 |
M | 777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 780 | goto detected. | GJB 4.5.1.2 |
M | 784 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 788 | goto detected. | GJB 4.5.1.2 |
M | 795 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 796 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 800 | Signed/unsigned conversion without cast. : (unsigned int and long): size = atol | GJB 4.6.1.9 |
M | 804 | goto detected. | GJB 4.5.1.2 |
M | 808 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 811 | goto detected. | GJB 4.5.1.2 |
M | 818 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 821 | goto detected. | GJB 4.5.1.2 |
M | 824 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 825 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 826 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 833 | goto detected. | GJB 4.5.1.2 |
M | 840 | goto detected. | GJB 4.5.1.2 |
M | 846 | goto detected. | GJB 4.5.1.2 |
M | 852 | goto detected. | GJB 4.5.1.2 |
M | 853 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 864 | goto detected. | GJB 4.5.1.2 |
M | 871 | goto detected. | GJB 4.5.1.2 |
M | 878 | goto detected. | GJB 4.5.1.2 |
M | 885 | goto detected. | GJB 4.5.1.2 |
M | 892 | goto detected. | GJB 4.5.1.2 |
M | 898 | goto detected. | GJB 4.5.1.2 |
M | 901 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 907 | goto detected. | GJB 4.5.1.2 |
M | 913 | goto detected. | GJB 4.5.1.2 |
M | 918 | Memory not freed after last reference. : p | GJB 5.1.17 |
M | 827 | Procedure contains UR data flow anomalies. : tout | GJB 4.13.1.4 |
M | 749 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_post_parse_ring (926 to 979 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 926 | Empty parameter list to procedure/function. : cfg_post_parse_ring | GJB 4.1.1.10 |
M | 945 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 945 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 945 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 945 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 953 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 972 | Memory not freed after last reference. : sft |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
post_sink_resolve (984 to 1028 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 984 | Empty parameter list to procedure/function. : post_sink_resolve | GJB 4.1.1.10 |
M | 994 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1006 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1019 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 993 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1005 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1018 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 987 | Procedure contains UR data flow anomalies. : logsrv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_init (1031 to 1036 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1031 | Empty parameter list to procedure/function. : sink_init | GJB 4.1.1.10 |
M | 1031 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sink_deinit (1038 to 1050 sink.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1047 | Pointer not checked for null before use. : (sink)->name | GJB 5.1.15 |
M | 1038 | Empty parameter list to procedure/function. : sink_deinit | GJB 4.1.1.10 |
M | 1046 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1047 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1048 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1038 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_accept_conn (45 to 167 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 45 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 58 | goto detected. | GJB 4.5.1.2 |
M | 80 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 80 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 80 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 91 | goto detected. | GJB 4.5.1.2 |
M | 97 | goto detected. | GJB 4.5.1.2 |
M | 103 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 124 | Null case in switch statement. | GJB 4.3.1.8 |
M | 145 | Null case in switch statement. | GJB 4.3.1.8 |
M | 156 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 160 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 166 | goto detected. | GJB 4.5.1.2 |
M | 45 | Function has no return statement. : sock_accept_conn | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_enable (190 to 194 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_disable (197 to 201 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_unbind (204 to 232 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 220 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_get_src (240 to 246 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_get_dst (254 to 260 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_get_old_sockets (266 to 524 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 518 | Pointer not checked for null before use. : (xfer_sock)->namespace | GJB 5.1.15 |
M | 520 | Pointer not checked for null before use. : (xfer_sock)->iface | GJB 5.1.15 |
M | 521 | Pointer not checked for null before use. : (xfer_sock)->iface | GJB 5.1.15 |
M | 491 | Pointer not checked for null before use. : xfer_sock_list | GJB 5.1.15 |
M | 266 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 268 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 275 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
M | 284 | Use of sizeof on a type. | GJB 5.1.8 |
M | 285 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 285 | Use of sizeof on a type. | GJB 5.1.8 |
M | 288 | goto detected. | GJB 4.5.1.2 |
M | 294 | goto detected. | GJB 4.5.1.2 |
M | 297 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 298 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 301 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 304 | goto detected. | GJB 4.5.1.2 |
M | 307 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 313 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen ( "_getsocks\n" ) , 0 ) != strlen | GJB 4.6.1.9 |
M | 315 | goto detected. | GJB 4.5.1.2 |
M | 319 | Signed/unsigned conversion without cast. : (int and unsigned int): recvmsg ( sock , & msghdr , MSG_WAITALL ) != sizeof | GJB 4.6.1.9 |
M | 321 | goto detected. | GJB 4.5.1.2 |
M | 326 | goto detected. | GJB 4.5.1.2 |
M | 329 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 329 | Use of sizeof on a type. | GJB 5.1.8 |
M | 332 | goto detected. | GJB 4.5.1.2 |
M | 335 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 335 | Use of sizeof on a type. | GJB 5.1.8 |
M | 338 | goto detected. | GJB 4.5.1.2 |
M | 342 | Use of sizeof on a type. | GJB 5.1.8 |
M | 343 | Use of sizeof on a type. | GJB 5.1.8 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 363 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 366 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 369 | Use of sizeof on a type. | GJB 5.1.8 |
M | 369 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 369 | Expression needs brackets. | GJB 5.1.2 |
M | 369 | Signed/unsigned conversion without cast. : (unsigned int and int): sizeof ( int ) + got_fd | GJB 4.6.1.9 |
M | 369 | Signed/unsigned conversion without cast. : (unsigned int and int): sizeof ( int ) + got_fd > fd_nb | GJB 4.6.1.9 |
M | 371 | goto detected. | GJB 4.5.1.2 |
M | 378 | Value is not of appropriate type. : (unsigned int and int): memcpy ( & tmpfd [ got_fd | GJB 4.6.1.8 |
M | 379 | Signed/unsigned conversion without cast. : (int and unsigned int): got_fd += totlen | GJB 4.6.1.9 |
M | 379 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 379 | Use of sizeof on a type. | GJB 5.1.8 |
M | 382 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 382 | Signed/unsigned conversion without cast. : (unsigned int and int): curoff += ret | GJB 4.6.1.9 |
M | 388 | goto detected. | GJB 4.5.1.2 |
M | 392 | Signed/unsigned conversion without cast. : (unsigned int and int): curoff | GJB 4.6.1.9 |
M | 395 | Value is not of appropriate type. : (unsigned int and int): tmpfd [ cur_fd | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 400 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 410 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 417 | goto detected. | GJB 4.5.1.2 |
M | 420 | Type conversion without cast. : (int and char): len = tmpbuf | GJB 4.6.1.9 |
M | 423 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 423 | Expression needs brackets. | GJB 5.1.2 |
M | 425 | goto detected. | GJB 4.5.1.2 |
M | 427 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 427 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 428 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 430 | goto detected. | GJB 4.5.1.2 |
M | 432 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 433 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 433 | Value is not of appropriate type. : (unsigned int and int): xfer_sock -> namespace [ len | GJB 4.6.1.8 |
M | 435 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 435 | Signed/unsigned conversion without cast. : (unsigned int and int): curoff += len | GJB 4.6.1.9 |
M | 440 | goto detected. | GJB 4.5.1.2 |
M | 443 | Type conversion without cast. : (int and char): len = tmpbuf | GJB 4.6.1.9 |
M | 446 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 446 | Expression needs brackets. | GJB 5.1.2 |
M | 448 | goto detected. | GJB 4.5.1.2 |
M | 450 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 453 | goto detected. | GJB 4.5.1.2 |
M | 456 | Value is not of appropriate type. : (unsigned int and int): xfer_sock -> iface [ len | GJB 4.6.1.8 |
M | 458 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 458 | Signed/unsigned conversion without cast. : (unsigned int and int): curoff += len | GJB 4.6.1.9 |
M | 461 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 461 | Use of sizeof on a type. | GJB 5.1.8 |
M | 461 | Expression needs brackets. | GJB 5.1.2 |
M | 463 | goto detected. | GJB 4.5.1.2 |
M | 469 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 469 | Use of sizeof on a type. | GJB 5.1.8 |
M | 476 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 476 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 503 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 503 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 505 | Value is not of appropriate type. : (unsigned int and int): close ( tmpfd [ cur_fd | GJB 4.6.1.8 |
M | 509 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 510 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 511 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 517 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 517 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 518 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 520 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 524 | Memory not freed after last reference. : xfer_sock | GJB 5.1.17 |
M | 279 | Procedure contains UR data flow anomalies. : fd_nb | GJB 4.13.1.4 |
M | 397 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_find_compatible_fd (534 to 594 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 536 | Pointer not checked for null before use. : xfer_sock_list | GJB 5.1.15 |
M | 585 | Pointer not checked for null before use. : xfer_sock_list | GJB 5.1.15 |
M | 562 | Signed/unsigned conversion without cast. : (int and unsigned int): if_namelen = strlen | GJB 4.6.1.9 |
M | 562 | Value is not of appropriate type. : (int and char): if_namelen = strlen ( rx -> settings -> interface | GJB 4.6.1.8 |
M | 572 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 572 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 576 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 588 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 590 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 590 | Use of C++ keyword. : namespace | GJB 4.1.1.9 |
M | 591 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 594 | Memory not freed after last reference. : xfer_sock |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_accepting_conn (601 to 610 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_accept_iocb (617 to 626 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 619 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 624 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_conn_check (654 to 736 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 684 | Value is not of appropriate type. : (unsigned int and int): ( fdtab [ fd | GJB 4.6.1.8 |
M | 685 | goto detected. | GJB 4.5.1.2 |
M | 686 | Value is not of appropriate type. : (unsigned int and int): ( fdtab [ fd | GJB 4.6.1.8 |
M | 687 | goto detected. | GJB 4.5.1.2 |
M | 688 | Value is not of appropriate type. : (unsigned int and int): ! ( fdtab [ fd | GJB 4.6.1.8 |
M | 689 | goto detected. | GJB 4.5.1.2 |
M | 701 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 704 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 705 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 706 | goto detected. | GJB 4.5.1.2 |
M | 708 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 708 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 708 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 709 | goto detected. | GJB 4.5.1.2 |
M | 720 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 727 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 704 | Procedure contains UR data flow anomalies. : struct | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_conn_iocb (741 to 820 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 743 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 754 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 755 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 755 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 762 | goto detected. | GJB 4.5.1.2 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 771 | Signed/unsigned conversion without cast. : (unsigned int and int): flags | GJB 4.6.1.9 |
M | 772 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 786 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 786 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 792 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_drain (827 to 873 sock.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 833 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 834 | goto detected. | GJB 4.5.1.2 |
M | 849 | goto detected. | GJB 4.5.1.2 |
M | 852 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 857 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 860 | goto detected. | GJB 4.5.1.2 |
M | 871 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_check_events (881 to 900 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_ignore_events (905 to 912 sock.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet4_addrcmp (84 to 99 sock_inet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 84 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 86 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 87 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 86 | Procedure contains UR data flow anomalies. : a4 | GJB 4.13.1.4 |
M | 87 | Procedure contains UR data flow anomalies. : b4 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet6_addrcmp (104 to 119 sock_inet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 104 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 104 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 106 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 107 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 106 | Procedure contains UR data flow anomalies. : a6 | GJB 4.13.1.4 |
M | 107 | Procedure contains UR data flow anomalies. : b6 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet_set_port (125 to 131 sock_inet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 130 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 130 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet_get_dst (141 to 162 sock_inet.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet_is_foreign (168 to 221 sock_inet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 173 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet_bind_receiver (274 to 412 sock_inet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 274 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 311 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 312 | goto detected. | GJB 4.5.1.2 |
M | 319 | goto detected. | GJB 4.5.1.2 |
M | 325 | goto detected. | GJB 4.5.1.2 |
M | 328 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 343 | No default case in switch statement. | GJB 4.3.1.4 |
M | 385 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 385 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 387 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 388 | goto detected. | GJB 4.5.1.2 |
M | 398 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 402 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 411 | goto detected. | GJB 4.5.1.2 |
M | 274 | Function has no return statement. : sock_inet_bind_receiver | GJB 4.9.1.1 |
M | 402 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_inet_prepare (414 to 447 sock_inet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 414 | Empty parameter list to procedure/function. : sock_inet_prepare | GJB 4.1.1.10 |
M | 414 | Static procedure is not explicitly called in code analysed. : sock_inet_prepare | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_unix_addrcmp (68 to 119 sock_unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 68 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 70 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 71 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 87 | Value is not of appropriate type. : (unsigned int and int): au -> sun_path [ idx | GJB 4.6.1.8 |
M | 87 | Value is not of appropriate type. : (unsigned int and int): au -> sun_path [ idx ] == bu -> sun_path [ idx | GJB 4.6.1.8 |
M | 88 | Value is not of appropriate type. : (unsigned int and int): au -> sun_path [ idx | GJB 4.6.1.8 |
M | 90 | Value is not of appropriate type. : (unsigned int and int): au -> sun_path [ idx | GJB 4.6.1.8 |
M | 90 | Type conversion without cast. : (int and char): au -> sun_path [ idx ] == '.' | GJB 4.6.1.9 |
M | 102 | Value is not of appropriate type. : (unsigned int and int): au -> sun_path [ idx | GJB 4.6.1.8 |
M | 103 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 103 | Value is not of appropriate type. : (unsigned char and int): ( unsigned char ) au -> | GJB 4.6.1.8 |
M | 103 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) au -> sun_path [ idx2 | GJB 4.6.1.8 |
M | 104 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 110 | Value is not of appropriate type. : (unsigned int and int): bu -> sun_path [ idx | GJB 4.6.1.8 |
M | 111 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 111 | Value is not of appropriate type. : (unsigned char and int): ( unsigned char ) bu -> | GJB 4.6.1.8 |
M | 111 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) bu -> sun_path [ idx2 | GJB 4.6.1.8 |
M | 112 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 70 | Procedure contains UR data flow anomalies. : au | GJB 4.13.1.4 |
M | 71 | Procedure contains UR data flow anomalies. : bu |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sock_unix_bind_receiver (126 to 319 sock_unix.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 310 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 126 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 128 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 161 | goto detected. | GJB 4.5.1.2 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Signed/unsigned conversion without cast. : (int and unsigned int): ret >= sizeof | GJB 4.6.1.9 |
M | 168 | goto detected. | GJB 4.5.1.2 |
M | 172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 175 | goto detected. | GJB 4.5.1.2 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 179 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 181 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 182 | goto detected. | GJB 4.5.1.2 |
M | 185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 185 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 187 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 188 | goto detected. | GJB 4.5.1.2 |
M | 192 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 192 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 192 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 194 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 195 | goto detected. | GJB 4.5.1.2 |
M | 207 | goto detected. | GJB 4.5.1.2 |
M | 210 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 211 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 225 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 226 | goto detected. | GJB 4.5.1.2 |
M | 233 | goto detected. | GJB 4.5.1.2 |
M | 239 | goto detected. | GJB 4.5.1.2 |
M | 242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 244 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 248 | goto detected. | GJB 4.5.1.2 |
M | 252 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 253 | goto detected. | GJB 4.5.1.2 |
M | 262 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 263 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 267 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 268 | goto detected. | GJB 4.5.1.2 |
M | 275 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 275 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 277 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 278 | goto detected. | GJB 4.5.1.2 |
M | 282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 292 | Value is not of appropriate type. : (unsigned int and int): fdtab [ fd | GJB 4.6.1.8 |
M | 298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 298 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 308 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 318 | goto detected. | GJB 4.5.1.2 |
M | 126 | Function has no return statement. : sock_unix_bind_receiver | GJB 4.9.1.1 |
M | 129 | Procedure contains UR data flow anomalies. : backname | GJB 4.13.1.4 |
M | 128 | Procedure contains UR data flow anomalies. : tempname |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_file (106 to 119 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 109 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 109 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 114 | Modification of string literal. : files | GJB 5.1.19 |
M | 114 | Value is not of appropriate type. : (unsigned int and int): files [ nfiles - 1 | GJB 4.6.1.8 |
M | 115 | Value is not of appropriate type. : (unsigned int and int): files [ nfiles - 1 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_register (121 to 125 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : ps_register | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 121 | Procedure is not called or referenced in code analysed. : ps_register | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ps_register_message (127 to 154 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : ps_register_message | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 147 | Pointer not checked for null before use. : ps_messages | GJB 5.1.15 |
M | 127 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 139 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 154 | Memory not freed after last reference. : msg | GJB 5.1.17 |
M | 127 | Procedure is not called or referenced in code analysed. : ps_register_message | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_read (156 to 180 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 159 | Procedure contains UR data flow anomalies. : readfds |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_write (182 to 206 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 186 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 185 | Procedure contains UR data flow anomalies. : writefds |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_frame (210 to 237 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 211 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 218 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 225 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 230 | Signed/unsigned conversion without cast. : (int and unsigned int): sock , w -> buf , framesz ) != framesz | GJB 4.6.1.9 |
M | 231 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 235 | Signed/unsigned conversion without cast. : (int and unsigned int): w -> len = framesz | GJB 4.6.1.9 |
M | 236 | Function return type inconsistent. : (int and unsigned int) | GJB 4.9.1.4 |
M | 217 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 230 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 213 | Procedure contains UR data flow anomalies. : netint |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
write_frame (241 to 259 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 249 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 255 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 248 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 254 | Actual and formal parameters inconsistent (MR). : (int and void): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
encode_spoe_varint (263 to 281 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 264 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 264 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 268 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 269 | Value is not of appropriate type. : (char and unsigned char): buf [ 0 ] = ( unsigned char | GJB 4.6.1.8 |
M | 273 | Value is not of appropriate type. : (char and unsigned char): buf [ 0 ] = ( unsigned char | GJB 4.6.1.8 |
M | 273 | Operation not appropriate to plain char. : | used with char: i | GJB 4.1.1.15 |
M | 274 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 275 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 276 | Value is not of appropriate type. : (unsigned int and int): buf [ idx | GJB 4.6.1.8 |
M | 276 | Value is not of appropriate type. : (char and unsigned char): buf [ idx ] = ( unsigned char | GJB 4.6.1.8 |
M | 276 | Operation not appropriate to plain char. : | used with char: i | GJB 4.1.1.15 |
M | 277 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 279 | Value is not of appropriate type. : (unsigned int and int): buf [ idx ++ | GJB 4.6.1.8 |
M | 279 | Value is not of appropriate type. : (char and unsigned char): buf [ idx ++ ] = ( unsigned char | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
decode_spoe_varint (286 to 307 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 287 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 287 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 287 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 289 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 292 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 302 | Expression needs brackets. | GJB 5.1.2 |
M | 302 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 304 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 304 | Value is not of appropriate type. : (unsigned int and int): i += ( uint64_t ) msg [ idx | GJB 4.6.1.8 |
M | 304 | Expression needs brackets. | GJB 5.1.2 |
M | 304 | Signed/unsigned conversion without cast. : (unsigned long and int): i += ( uint64_t ) msg [ idx ] << ( 4 + 7 * ( | GJB 4.6.1.9 |
M | 305 | Value is not of appropriate type. : (unsigned int and int): msg [ idx | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
encode_spoe_string (312 to 325 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 323 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 313 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 313 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 324 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
decode_spoe_string (332 to 351 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 335 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 338 | Signed/unsigned conversion without cast. : (unsigned long and int): len | GJB 4.6.1.9 |
M | 340 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 340 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 341 | goto detected. | GJB 4.5.1.2 |
M | 343 | Expression needs brackets. | GJB 5.1.2 |
M | 344 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
skip_spoe_data (362 to 400 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 363 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 366 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 371 | Value is not of appropriate type. : (unsigned int and int): frame [ idx ++ | GJB 4.6.1.8 |
M | 371 | Operation not appropriate to plain char. : & used with char: frame | GJB 4.1.1.15 |
M | 371 | Value is not of appropriate type. : (char and signed char): frame [ idx ++ ] | GJB 4.6.1.8 |
M | 376 | Null case in switch statement. | GJB 4.3.1.8 |
M | 379 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 379 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 390 | Null case in switch statement. | GJB 4.3.1.8 |
M | 391 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 391 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 371 | No default case in switch statement. | GJB 4.3.1.4 |
M | 397 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
decode_spoe_data (404 to 482 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 405 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 405 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 408 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 413 | Type conversion without cast. : (int and char): type = frame | GJB 4.6.1.9 |
M | 413 | Value is not of appropriate type. : (unsigned int and int): type = frame [ idx ++ | GJB 4.6.1.8 |
M | 420 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 420 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 426 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 426 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 432 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 432 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 438 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 438 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 444 | Expression needs brackets. | GJB 5.1.2 |
M | 450 | Expression needs brackets. | GJB 5.1.2 |
M | 456 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 456 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 459 | Expression needs brackets. | GJB 5.1.2 |
M | 463 | Signed/unsigned conversion without cast. : (int and unsigned long): idx += sz | GJB 4.6.1.9 |
M | 466 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 466 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 469 | Expression needs brackets. | GJB 5.1.2 |
M | 473 | Signed/unsigned conversion without cast. : (int and unsigned long): idx += sz | GJB 4.6.1.9 |
M | 479 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_proto_version (487 to 507 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 488 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 490 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 494 | Value is not of appropriate type. : (unsigned int and int): ( w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 495 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 500 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 498 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_max_frame_size (511 to 537 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 512 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 515 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 518 | Value is not of appropriate type. : (unsigned int and int): type = w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 519 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 522 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 523 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 526 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 526 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 527 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 534 | Signed/unsigned conversion without cast. : (int and unsigned long): w -> size = sz | GJB 4.6.1.9 |
M | 526 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 514 | Procedure contains UR data flow anomalies. : sz |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_healthcheck (541 to 554 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 542 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 547 | Value is not of appropriate type. : (unsigned int and int): type = w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 549 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
handle_hahello (560 to 626 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 561 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 563 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 564 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 567 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 567 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 568 | goto detected. | GJB 4.5.1.2 |
M | 574 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx | GJB 4.6.1.8 |
M | 574 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 574 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 574 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx + 1 | GJB 4.6.1.8 |
M | 575 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 576 | goto detected. | GJB 4.5.1.2 |
M | 582 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 588 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 589 | goto detected. | GJB 4.5.1.2 |
M | 594 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 594 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 595 | goto detected. | GJB 4.5.1.2 |
M | 600 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 600 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 601 | goto detected. | GJB 4.5.1.2 |
M | 606 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 606 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 607 | goto detected. | GJB 4.5.1.2 |
M | 613 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 613 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 614 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 615 | goto detected. | GJB 4.5.1.2 |
M | 586 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 613 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
handle_hadiscon (631 to 676 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 632 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 634 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 635 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 638 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 638 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 639 | goto detected. | GJB 4.5.1.2 |
M | 645 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx | GJB 4.6.1.8 |
M | 645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 645 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx + 1 | GJB 4.6.1.8 |
M | 646 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 647 | goto detected. | GJB 4.5.1.2 |
M | 653 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 659 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 660 | goto detected. | GJB 4.5.1.2 |
M | 663 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 663 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 664 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 665 | goto detected. | GJB 4.5.1.2 |
M | 670 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 657 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 663 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prepare_agentack (680 to 697 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 680 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 687 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 687 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 695 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 696 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_name (699 to 707 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 700 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 700 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 702 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 702 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 703 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 704 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 705 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_null (709 to 717 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_null | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 709 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 710 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 715 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 709 | Procedure is not called or referenced in code analysed. : set_var_null | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_bool (719 to 727 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_bool | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 719 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 720 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 725 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 725 | Expression needs brackets. | GJB 5.1.2 |
M | 719 | Procedure is not called or referenced in code analysed. : set_var_bool | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_int (729 to 739 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 730 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 731 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 736 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 737 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_uint32 (741 to 746 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_uint32 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 741 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 742 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 741 | Procedure is not called or referenced in code analysed. : set_var_uint32 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_int32 (748 to 753 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_int32 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 748 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 749 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 752 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 6 | GJB 4.7.1.9 |
M | 748 | Procedure is not called or referenced in code analysed. : set_var_int32 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_uint64 (755 to 760 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_uint64 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 755 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 756 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 755 | Procedure is not called or referenced in code analysed. : set_var_uint64 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_int64 (762 to 767 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_int64 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 762 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 763 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 766 | Actual and formal parameters inconsistent (MR). : (long and unsigned long): param 6 | GJB 4.7.1.9 |
M | 762 | Procedure is not called or referenced in code analysed. : set_var_int64 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_ipv4 (769 to 780 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_ipv4 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 769 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 770 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 776 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 769 | Procedure is not called or referenced in code analysed. : set_var_ipv4 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_ipv6 (782 to 793 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_ipv6 | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 782 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 783 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 789 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 782 | Procedure is not called or referenced in code analysed. : set_var_ipv6 | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_buf (795 to 806 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 796 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 797 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 799 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 803 | Value is not of appropriate type. : (unsigned int and int): w -> ack [ w -> ack_len ++ | GJB 4.6.1.8 |
M | 804 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_string (808 to 814 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_string | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 808 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 809 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 811 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 808 | Procedure is not called or referenced in code analysed. : set_var_string | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_var_bin (816 to 822 spoa.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : set_var_bin | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 816 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 817 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 819 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 816 | Procedure is not called or referenced in code analysed. : set_var_bin | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
commit_agentack (827 to 832 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 827 | Name found with length less than 2. : w | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
handle_hanotify (837 to 938 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 838 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 840 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 842 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 849 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 849 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 850 | goto detected. | GJB 4.5.1.2 |
M | 856 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 856 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 857 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 858 | goto detected. | GJB 4.5.1.2 |
M | 863 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 863 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 864 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 865 | goto detected. | GJB 4.5.1.2 |
M | 869 | Value is not of appropriate type. : (unsigned long* and unsigned int): w -> stream_id = ( unsigned int | GJB 4.6.1.8 |
M | 870 | Value is not of appropriate type. : (unsigned long* and unsigned int): w -> frame_id = ( unsigned int | GJB 4.6.1.8 |
M | 880 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 886 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 887 | goto detected. | GJB 4.5.1.2 |
M | 892 | Value is not of appropriate type. : (int and unsigned char): nbargs = ( unsigned char | GJB 4.6.1.8 |
M | 892 | Array bound exceeded. : buf[*]; accessed=-1 | GJB 4.6.1.2 |
M | 892 | Value is not of appropriate type. : (unsigned char and int): nbargs = ( unsigned char ) w -> | GJB 4.6.1.8 |
M | 892 | Value is not of appropriate type. : (unsigned int and int): nbargs = ( unsigned char ) w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 896 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 896 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 896 | Value is not of appropriate type. : (unsigned int and int): w -> buf + idx , end , & args [ index | GJB 4.6.1.8 |
M | 899 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 900 | goto detected. | GJB 4.5.1.2 |
M | 903 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 904 | goto detected. | GJB 4.5.1.2 |
M | 906 | Value is not of appropriate type. : (unsigned int and int): args [ index | GJB 4.6.1.8 |
M | 910 | Value is not of appropriate type. : (unsigned int and int): memset ( & args [ index | GJB 4.6.1.8 |
M | 910 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 910 | Value is not of appropriate type. : (unsigned int and int): memset ( & args [ index ].value , 0 , sizeof ( args [ index | GJB 4.6.1.8 |
M | 911 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 911 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 911 | Value is not of appropriate type. : (unsigned int and int): w -> buf + idx , end , & args [ index | GJB 4.6.1.8 |
M | 912 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 913 | goto detected. | GJB 4.5.1.2 |
M | 922 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 922 | Value is not of appropriate type. : (int and char) | GJB 4.6.1.8 |
M | 922 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 922 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 924 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 924 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 856 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 863 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 884 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 896 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 841 | Procedure contains UR data flow anomalies. : frame_id | GJB 4.13.1.4 |
M | 841 | Procedure contains UR data flow anomalies. : stream_id |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prepare_agenthello (942 to 977 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 943 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 949 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 949 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 957 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 958 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 962 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 963 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 967 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 972 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 973 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 961 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 963 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 966 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 968 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 971 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 973 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prepare_agentdicon (981 to 1019 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 991 | Pointer not checked for null before use. : reason | GJB 5.1.15 |
M | 982 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 984 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 988 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 989 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 990 | Value is not of appropriate type. : (unsigned int and int): reason = spoe_frm_err_reasons [ w -> status_code | GJB 4.6.1.8 |
M | 991 | Signed/unsigned conversion without cast. : (int and unsigned int): rlen = strlen | GJB 4.6.1.9 |
M | 994 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 994 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1002 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 1003 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 1009 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 1014 | Value is not of appropriate type. : (unsigned int and int): w -> buf [ idx ++ | GJB 4.6.1.8 |
M | 1008 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1010 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 1013 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1015 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hello_handshake (1021 to 1045 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1022 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 1026 | goto detected. | GJB 4.5.1.2 |
M | 1030 | goto detected. | GJB 4.5.1.2 |
M | 1034 | goto detected. | GJB 4.5.1.2 |
M | 1038 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
notify_ack_roundtip (1047 to 1078 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1048 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 1052 | goto detected. | GJB 4.5.1.2 |
M | 1055 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1057 | Value is not of appropriate type. : (unsigned int and int): DEBUG ( "Disconnect frame received: reason=%s" , spoe_frm_err_reasons [ w -> status_code | GJB 4.6.1.8 |
M | 1059 | goto detected. | GJB 4.5.1.2 |
M | 1063 | goto detected. | GJB 4.5.1.2 |
M | 1067 | goto detected. | GJB 4.5.1.2 |
M | 1071 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
spoa_worker (1080 to 1160 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1085 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1088 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1091 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 1092 | Array bound exceeded. | GJB 4.6.1.2 |
M | 1096 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1100 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 1100 | Value is not of appropriate type. : (unsigned int and int): len = strlen ( files [ i | GJB 4.6.1.8 |
M | 1102 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1102 | Value is not of appropriate type. : (unsigned int and int): strcmp ( files [ i | GJB 4.6.1.8 |
M | 1102 | Expression needs brackets. | GJB 5.1.2 |
M | 1102 | Value is not of appropriate type. : (int and char): strlen ( ps -> ext | GJB 4.6.1.8 |
M | 1105 | Value is not of appropriate type. : (unsigned int and int): LOG ( "Can't load file \"%s\"\n" , files [ i | GJB 4.6.1.8 |
M | 1106 | goto detected. | GJB 4.5.1.2 |
M | 1108 | Value is not of appropriate type. : (unsigned int and int): ! ps -> load_file ( & w , files [ i | GJB 4.6.1.8 |
M | 1109 | goto detected. | GJB 4.5.1.2 |
M | 1115 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1115 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1115 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1117 | goto detected. | GJB 4.5.1.2 |
M | 1126 | goto detected. | GJB 4.5.1.2 |
M | 1128 | goto detected. | GJB 4.5.1.2 |
M | 1135 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1137 | goto detected. | GJB 4.5.1.2 |
M | 1141 | goto detected. | GJB 4.5.1.2 |
M | 1145 | goto detected. | GJB 4.5.1.2 |
M | 1154 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1084 | Procedure contains UR data flow anomalies. : client |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_create (1162 to 1175 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1162 | Parameter has same name as type or tag. : ps |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | ps |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (1177 to 1187 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1178 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (1189 to 1316 spoa.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1296 | Pointer not checked for null before use. : info | GJB 5.1.15 |
M | 1297 | Pointer not checked for null before use. : info | GJB 5.1.15 |
M | 1299 | Pointer not checked for null before use. : info | GJB 5.1.15 |
M | 1190 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1197 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1202 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1202 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1206 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1211 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1214 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1222 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1228 | goto detected. | GJB 4.5.1.2 |
M | 1232 | goto detected. | GJB 4.5.1.2 |
M | 1235 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1235 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1237 | goto detected. | GJB 4.5.1.2 |
M | 1248 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1250 | goto detected. | GJB 4.5.1.2 |
M | 1255 | goto detected. | GJB 4.5.1.2 |
M | 1288 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1291 | goto detected. | GJB 4.5.1.2 |
M | 1294 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1299 | Value is not of appropriate type. : (unsigned int and int): & pids [ i | GJB 4.6.1.8 |
M | 1301 | goto detected. | GJB 4.5.1.2 |
M | 1217 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1316 | Memory not freed after last reference. : pids | GJB 5.1.17 |
M | 1198 | Procedure contains UR data flow anomalies. : status |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_parse_sctl (57 to 89 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 64 | goto detected. | GJB 4.5.1.2 |
M | 67 | Shifting value too far. | GJB 4.6.1.4 |
M | 69 | Expression needs brackets. | GJB 5.1.2 |
M | 70 | goto detected. | GJB 4.5.1.2 |
M | 75 | Expression needs brackets. | GJB 5.1.2 |
M | 76 | goto detected. | GJB 4.5.1.2 |
M | 78 | Value is not of appropriate type. : (unsigned int and int): sct_len = ( data [ pos | GJB 4.6.1.8 |
M | 78 | Shifting value too far. | GJB 4.6.1.4 |
M | 78 | Value is not of appropriate type. : (unsigned int and int): sct_len = ( data [ pos ] << 8 ) | data [ pos + 1 | GJB 4.6.1.8 |
M | 79 | Expression needs brackets. | GJB 5.1.2 |
M | 80 | goto detected. | GJB 4.5.1.2 |
M | 87 | Identifier reuse: label vs variable (MR). : out |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_load_sctl_from_file (94 to 152 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 94 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 94 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 97 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 111 | goto detected. | GJB 4.5.1.2 |
M | 117 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 119 | goto detected. | GJB 4.5.1.2 |
M | 123 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 131 | goto detected. | GJB 4.5.1.2 |
M | 133 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 135 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 137 | goto detected. | GJB 4.5.1.2 |
M | 141 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 143 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 147 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_load_files_into_ckch (252 to 419 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 258 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 303 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 387 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 252 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 252 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 259 | goto detected. | GJB 4.5.1.2 |
M | 264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 265 | goto detected. | GJB 4.5.1.2 |
M | 268 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 272 | goto detected. | GJB 4.5.1.2 |
M | 277 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 280 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 284 | Signed/unsigned conversion without cast. : (int and unsigned int): fp -> data = strlen | GJB 4.6.1.9 |
M | 284 | Value is not of appropriate type. : (int and char): fp -> data = strlen ( fp -> area | GJB 4.6.1.8 |
M | 295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 297 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 299 | goto detected. | GJB 4.5.1.2 |
M | 305 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 306 | goto detected. | GJB 4.5.1.2 |
M | 311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 312 | goto detected. | GJB 4.5.1.2 |
M | 315 | Expression needs brackets. | GJB 5.1.2 |
M | 315 | Type conversion without cast. : (unsigned int and char): fp -> area + fp -> data - strlen ( ".key" ) ) = '\0' | GJB 4.6.1.9 |
M | 321 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 322 | goto detected. | GJB 4.5.1.2 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 357 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 359 | goto detected. | GJB 4.5.1.2 |
M | 365 | goto detected. | GJB 4.5.1.2 |
M | 369 | Expression needs brackets. | GJB 5.1.2 |
M | 369 | Type conversion without cast. : (unsigned int and char): fp -> area + fp -> data - strlen ( ".ocsp" ) ) = '\0' | GJB 4.6.1.9 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 379 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 381 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 383 | goto detected. | GJB 4.5.1.2 |
M | 389 | goto detected. | GJB 4.5.1.2 |
M | 394 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 396 | goto detected. | GJB 4.5.1.2 |
M | 400 | Expression needs brackets. | GJB 5.1.2 |
M | 400 | Type conversion without cast. : (unsigned int and char): fp -> area + fp -> data - strlen ( ".issuer" ) ) = '\0' | GJB 4.6.1.9 |
M | 303 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 387 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 363 | Attempt to read from freed memory. : ckch | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_load_key_into_ckch (428 to 473 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 428 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 428 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 428 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 439 | goto detected. | GJB 4.5.1.2 |
M | 446 | goto detected. | GJB 4.5.1.2 |
M | 449 | goto detected. | GJB 4.5.1.2 |
M | 456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 457 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_load_pem_into_ckch (484 to 608 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 587 | Pointer not checked for null before use. : dh | GJB 5.1.15 |
M | 484 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 484 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 484 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 498 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | goto detected. | GJB 4.5.1.2 |
M | 506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 507 | goto detected. | GJB 4.5.1.2 |
M | 512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 513 | goto detected. | GJB 4.5.1.2 |
M | 525 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 526 | goto detected. | GJB 4.5.1.2 |
M | 536 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 545 | goto detected. | GJB 4.5.1.2 |
M | 549 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 554 | goto detected. | GJB 4.5.1.2 |
M | 559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 559 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 561 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 562 | goto detected. | GJB 4.5.1.2 |
M | 567 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 569 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 574 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 576 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_free_cert_key_and_chain_contents (612 to 653 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 637 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 639 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 644 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 646 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_copy_cert_key_and_chain (664 to 723 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 690 | Pointer not checked for null before use. : sctl | GJB 5.1.15 |
M | 702 | Pointer not checked for null before use. : ocsp_response | GJB 5.1.15 |
M | 689 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 691 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 693 | goto detected. | GJB 4.5.1.2 |
M | 701 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 703 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 705 | goto detected. | GJB 4.5.1.2 |
M | 696 | Memory not freed after last reference. : sctl | GJB 5.1.17 |
M | 708 | Memory not freed after last reference. : ocsp_response |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_load_issuer_file_into_ckch (728 to 771 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 728 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 728 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 728 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 738 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 739 | goto detected. | GJB 4.5.1.2 |
M | 746 | goto detected. | GJB 4.5.1.2 |
M | 749 | goto detected. | GJB 4.5.1.2 |
M | 755 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 756 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckch_store_free (781 to 798 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 790 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 797 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckch_store_new (807 to 830 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 807 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 812 | Signed/unsigned conversion without cast. : (int and unsigned int): pathlen = strlen | GJB 4.6.1.9 |
M | 813 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 813 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 822 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 824 | goto detected. | GJB 4.5.1.2 |
M | 826 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckchs_dup (834 to 849 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 840 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 841 | goto detected. | GJB 4.5.1.2 |
M | 843 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckchs_lookup (854 to 863 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 854 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckchs_load_cert_file (868 to 890 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 868 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 868 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 874 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 875 | goto detected. | GJB 4.5.1.2 |
M | 879 | goto detected. | GJB 4.5.1.2 |
M | 882 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 884 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckch_inst_free (897 to 913 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 908 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 912 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckch_inst_new (916 to 929 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 924 | Pointer not checked for null before use. : ckch_inst | GJB 5.1.15 |
M | 916 | Empty parameter list to procedure/function. : ckch_inst_new | GJB 4.1.1.10 |
M | 920 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 928 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_show_cert (968 to 971 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 968 | Static procedure is not explicitly called in code analysed. : cli_release_show_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_cert (974 to 1017 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 988 | Pointer not checked for null before use. : ckchs | GJB 5.1.15 |
M | 1000 | Pointer not checked for null before use. : ckchs | GJB 5.1.15 |
M | 1005 | goto detected. | GJB 4.5.1.2 |
M | 974 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_show_cert_detail (1053 to 1200 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1141 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 1192 | Pointer not checked for null before use. : bio | GJB 5.1.15 |
M | 1064 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1066 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1067 | goto detected. | GJB 4.5.1.2 |
M | 1083 | goto detected. | GJB 4.5.1.2 |
M | 1097 | goto detected. | GJB 4.5.1.2 |
M | 1103 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1103 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1104 | goto detected. | GJB 4.5.1.2 |
M | 1106 | goto detected. | GJB 4.5.1.2 |
M | 1108 | Value is not of appropriate type. : (unsigned int and int): tmp -> area [ write | GJB 4.6.1.8 |
M | 1108 | Type conversion without cast. : (int and char): tmp -> area [ write ] = '\0' | GJB 4.6.1.9 |
M | 1115 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1115 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1116 | goto detected. | GJB 4.5.1.2 |
M | 1118 | goto detected. | GJB 4.5.1.2 |
M | 1119 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1119 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1120 | goto detected. | GJB 4.5.1.2 |
M | 1121 | Value is not of appropriate type. : (unsigned int and int): tmp -> area [ write | GJB 4.6.1.8 |
M | 1121 | Type conversion without cast. : (int and char): tmp -> area [ write ] = '\0' | GJB 4.6.1.9 |
M | 1136 | goto detected. | GJB 4.5.1.2 |
M | 1142 | goto detected. | GJB 4.5.1.2 |
M | 1143 | Signed/unsigned conversion without cast. : (int and unsigned int): tmp -> data = len | GJB 4.6.1.9 |
M | 1148 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1148 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1149 | goto detected. | GJB 4.5.1.2 |
M | 1151 | goto detected. | GJB 4.5.1.2 |
M | 1152 | Type conversion without cast. : (int and char): tmp -> area + tmp -> data ) = '\0' | GJB 4.6.1.9 |
M | 1156 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1156 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1157 | goto detected. | GJB 4.5.1.2 |
M | 1159 | goto detected. | GJB 4.5.1.2 |
M | 1160 | Type conversion without cast. : (int and char): tmp -> area + tmp -> data ) = '\0' | GJB 4.6.1.9 |
M | 1168 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1168 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1169 | goto detected. | GJB 4.5.1.2 |
M | 1171 | goto detected. | GJB 4.5.1.2 |
M | 1172 | Type conversion without cast. : (int and char): tmp -> area + tmp -> data ) = '\0' | GJB 4.6.1.9 |
M | 1176 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1176 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1177 | goto detected. | GJB 4.5.1.2 |
M | 1179 | goto detected. | GJB 4.5.1.2 |
M | 1180 | Type conversion without cast. : (int and char): tmp -> area + tmp -> data ) = '\0' | GJB 4.6.1.9 |
M | 1187 | goto detected. | GJB 4.5.1.2 |
M | 1053 | Static procedure is not explicitly called in code analysed. : cli_io_handler_show_cert_detail | GJB 4.7.1.3 |
M | 1123 | Procedure contains UR data flow anomalies. : bio |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_cert (1203 to 1242 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1223 | Pointer not checked for null before use. : ckchs | GJB 5.1.15 |
M | 1203 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1203 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1203 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1219 | goto detected. | GJB 4.5.1.2 |
M | 1223 | Value is not of appropriate type. : (char and signed char): strcmp ( args [ 3 ] | GJB 4.6.1.8 |
M | 1224 | goto detected. | GJB 4.5.1.2 |
M | 1227 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1227 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1228 | goto detected. | GJB 4.5.1.2 |
M | 1203 | Static procedure is not explicitly called in code analysed. : cli_parse_show_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_commit_cert (1245 to 1258 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1256 | Pointer not checked for null before use. : new_ckchs | GJB 5.1.15 |
M | 1245 | Static procedure is not explicitly called in code analysed. : cli_release_commit_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_commit_cert (1263 to 1445 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1372 | Pointer not checked for null before use. : old_ckchs | GJB 5.1.15 |
M | 1311 | Pointer not checked for null before use. : old_ckchs | GJB 5.1.15 |
M | 1322 | Pointer not checked for null before use. : ckchi | GJB 5.1.15 |
M | 1331 | Pointer not checked for null before use. : sni_filter | GJB 5.1.15 |
M | 1266 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 1267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1276 | goto detected. | GJB 4.5.1.2 |
M | 1279 | goto detected. | GJB 4.5.1.2 |
M | 1288 | goto detected. | GJB 4.5.1.2 |
M | 1292 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1316 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1323 | goto detected. | GJB 4.5.1.2 |
M | 1334 | goto detected. | GJB 4.5.1.2 |
M | 1349 | goto detected. | GJB 4.5.1.2 |
M | 1362 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1407 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1409 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1413 | goto detected. | GJB 4.5.1.2 |
M | 1414 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1282 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1263 | Static procedure is not explicitly called in code analysed. : cli_io_handler_commit_cert | GJB 4.7.1.3 |
M | 1273 | Procedure contains UR data flow anomalies. : entry | GJB 4.13.1.4 |
M | 1272 | Procedure contains UR data flow anomalies. : sc0 |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_commit_cert (1450 to 1501 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1500 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1450 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1450 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1450 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1452 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1467 | goto detected. | GJB 4.5.1.2 |
M | 1472 | goto detected. | GJB 4.5.1.2 |
M | 1476 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1476 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1478 | goto detected. | GJB 4.5.1.2 |
M | 1483 | goto detected. | GJB 4.5.1.2 |
M | 1450 | Static procedure is not explicitly called in code analysed. : cli_parse_commit_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_set_cert (1509 to 1681 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1517 | Name redeclared in another C name space (MR). : type | GJB 4.1.1.16 |
M | 1660 | Name redeclared in another C name space (MR). : end | GJB 4.1.1.16 |
M | 1621 | Pointer not checked for null before use. : old_ckchs | GJB 5.1.15 |
M | 1646 | Pointer not checked for null before use. : ckchs_transaction.path | GJB 5.1.15 |
M | 1674 | Pointer not checked for null before use. : ((appctx)->ctx.ssl.new_ckchs)->ckch | GJB 5.1.15 |
M | 1674 | Pointer not checked for null before use. : (appctx)->ctx.ssl.path | GJB 5.1.15 |
M | 1678 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1509 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1509 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1509 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1513 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1514 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1516 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1517 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1524 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1524 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1532 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1532 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1538 | goto detected. | GJB 4.5.1.2 |
M | 1542 | Value is not of appropriate type. : (unsigned int and int): cert_exts [ i | GJB 4.6.1.8 |
M | 1542 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1544 | Value is not of appropriate type. : (unsigned int and int): * cert_exts [ i | GJB 4.6.1.8 |
M | 1544 | Value is not of appropriate type. : (unsigned int and int): cert_exts [ i | GJB 4.6.1.8 |
M | 1546 | Signed/unsigned conversion without cast. : (int and unsigned int): buf -> data = strlen | GJB 4.6.1.9 |
M | 1546 | Value is not of appropriate type. : (int and char): buf -> data = strlen ( buf -> area | GJB 4.6.1.8 |
M | 1547 | Array bound exceeded. : cert_exts[*]; accessed=2 | GJB 4.6.1.2 |
M | 1547 | Value is not of appropriate type. : (unsigned int and int): type = cert_exts [ i | GJB 4.6.1.8 |
M | 1562 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1566 | goto detected. | GJB 4.5.1.2 |
M | 1571 | Type conversion without cast. : (unsigned int and char): b_orig ( buf ) + b_data ( buf ) + strlen ( ".crt" ) ) = '\0' | GJB 4.6.1.9 |
M | 1576 | goto detected. | GJB 4.5.1.2 |
M | 1590 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 1590 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1594 | goto detected. | GJB 4.5.1.2 |
M | 1605 | goto detected. | GJB 4.5.1.2 |
M | 1614 | goto detected. | GJB 4.5.1.2 |
M | 1626 | goto detected. | GJB 4.5.1.2 |
M | 1632 | Value is not of appropriate type. : (unsigned int and int): cert_exts [ type | GJB 4.6.1.8 |
M | 1635 | goto detected. | GJB 4.5.1.2 |
M | 1670 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1586 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1596 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1632 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1509 | Static procedure is not explicitly called in code analysed. : cli_parse_set_cert | GJB 4.7.1.3 |
M | 1674 | Attempt to read from freed memory. : appctx | GJB 5.1.16 |
M | 1671 | Procedure contains UR data flow anomalies. : (appctx)->ctx.ssl.path |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_abort_cert (1684 to 1726 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1684 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1684 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1684 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1686 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1701 | goto detected. | GJB 4.5.1.2 |
M | 1706 | goto detected. | GJB 4.5.1.2 |
M | 1714 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1684 | Static procedure is not explicitly called in code analysed. : cli_parse_abort_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_new_cert (1729 to 1771 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1733 | Name redeclared in another C name space (MR). : path | GJB 4.1.1.16 |
M | 1768 | Pointer not checked for null before use. : store | GJB 5.1.15 |
M | 1729 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1729 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1729 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1732 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1733 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1752 | goto detected. | GJB 4.5.1.2 |
M | 1758 | goto detected. | GJB 4.5.1.2 |
M | 1767 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1729 | Static procedure is not explicitly called in code analysed. : cli_parse_new_cert | GJB 4.7.1.3 |
M | 1771 | Memory not freed after last reference. : store |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_del_cert (1774 to 1813 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1774 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1777 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1778 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1794 | goto detected. | GJB 4.5.1.2 |
M | 1798 | goto detected. | GJB 4.5.1.2 |
M | 1774 | Static procedure is not explicitly called in code analysed. : cli_parse_del_cert | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ckch_deinit (1815 to 1827 ssl_ckch.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1824 | Pointer not checked for null before use. : store | GJB 5.1.15 |
M | 1815 | Empty parameter list to procedure/function. : ckch_deinit | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_free_ssl_conf (34 to 62 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 45 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 47 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 49 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 51 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 57 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 59 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 46 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
M | 48 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
M | 50 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
M | 52 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
M | 58 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
M | 60 | Attempt to read from freed memory. : conf | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_dup_ssl_conf (67 to 136 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 74 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 95 | goto detected. | GJB 4.5.1.2 |
M | 100 | goto detected. | GJB 4.5.1.2 |
M | 105 | goto detected. | GJB 4.5.1.2 |
M | 110 | goto detected. | GJB 4.5.1.2 |
M | 122 | goto detected. | GJB 4.5.1.2 |
M | 127 | goto detected. | GJB 4.5.1.2 |
M | 129 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 133 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_free_filters (139 to 150 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 139 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 141 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 146 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 146 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 147 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 147 | Value is not of appropriate type. : (unsigned int and int): free ( args [ i | GJB 4.6.1.8 |
M | 147 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 149 | free used on string. | GJB 5.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_dup_filters (153 to 175 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 167 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 161 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 166 | Modification of string literal. : dst | GJB 5.1.19 |
M | 166 | Value is not of appropriate type. : (unsigned int and int): dst [ i | GJB 4.6.1.8 |
M | 166 | Value is not of appropriate type. : (unsigned int and int): dst [ i ] = strdup ( args [ i | GJB 4.6.1.8 |
M | 167 | Value is not of appropriate type. : (unsigned int and int): ! dst [ i | GJB 4.6.1.8 |
M | 168 | goto detected. | GJB 4.5.1.2 |
M | 170 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_entry_free (181 to 198 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 193 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 197 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 191 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 183 | Procedure contains UR data flow anomalies. : inst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_entry_dup (203 to 237 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 234 | Pointer not checked for null before use. : (entry)->ssl_conf | GJB 5.1.15 |
M | 217 | goto detected. | GJB 4.5.1.2 |
M | 223 | goto detected. | GJB 4.5.1.2 |
M | 227 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 233 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 234 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 215 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 231 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_entry_new (242 to 257 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | Empty parameter list to procedure/function. : crtlist_entry_new | GJB 4.1.1.10 |
M | 246 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 256 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_free (260 to 280 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 271 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 279 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 280 | Memory not freed after last reference. : bind_conf_node |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_new (286 to 303 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 286 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 290 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 294 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 302 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_parse_line (314 to 436 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 317 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 318 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 322 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Expression needs brackets. | GJB 5.1.2 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 326 | Type conversion without cast. : (signed char and char): * ( end - 1 ) != '\n' | GJB 4.6.1.9 |
M | 333 | goto detected. | GJB 4.5.1.2 |
M | 338 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 345 | goto detected. | GJB 4.5.1.2 |
M | 350 | goto detected. | GJB 4.5.1.2 |
M | 359 | goto detected. | GJB 4.5.1.2 |
M | 364 | goto detected. | GJB 4.5.1.2 |
M | 373 | goto detected. | GJB 4.5.1.2 |
M | 376 | Value is not of appropriate type. : (unsigned int and int): args [ arg ++ | GJB 4.6.1.8 |
M | 377 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 380 | Value is not of appropriate type. : (unsigned int and int): args [ arg ++ | GJB 4.6.1.8 |
M | 385 | goto detected. | GJB 4.5.1.2 |
M | 391 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 395 | goto detected. | GJB 4.5.1.2 |
M | 401 | Value is not of appropriate type. : (unsigned int and int): ssl_bind_kws [ i | GJB 4.6.1.8 |
M | 402 | Value is not of appropriate type. : (unsigned int and int): strcmp ( ssl_bind_kws [ i | GJB 4.6.1.8 |
M | 402 | Value is not of appropriate type. : (unsigned int and int): strcmp ( ssl_bind_kws [ i ].kw , args [ cur_arg | GJB 4.6.1.8 |
M | 404 | Value is not of appropriate type. : (unsigned int and int): cfgerr |= ssl_bind_kws [ i | GJB 4.6.1.8 |
M | 405 | Value is not of appropriate type. : (unsigned int and int): cur_arg + 1 + ssl_bind_kws [ i | GJB 4.6.1.8 |
M | 405 | Expression needs brackets. | GJB 5.1.2 |
M | 406 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "parsing [%s:%d]: ssl args out of '[]' for %s" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 409 | goto detected. | GJB 4.5.1.2 |
M | 411 | Value is not of appropriate type. : (unsigned int and int): cur_arg += 1 + ssl_bind_kws [ i | GJB 4.6.1.8 |
M | 415 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 416 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "parsing [%s:%d]: unknown ssl keyword %s" , file , linenum , args [ cur_arg | GJB 4.6.1.8 |
M | 419 | goto detected. | GJB 4.5.1.2 |
M | 424 | Value is not of appropriate type. : (unsigned int and int): & args [ cur_arg | GJB 4.6.1.8 |
M | 433 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 430 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 436 | Memory not freed after last reference. : ssl_conf | GJB 5.1.17 |
M | 434 | Procedure contains UR data flow anomalies. : (entry)->ssl_conf | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_parse_file (445 to 651 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 646 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 597 | Pointer not checked for null before use. : entry_dup | GJB 5.1.15 |
M | 445 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 445 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 449 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 450 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 456 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 456 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 457 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 457 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 465 | goto detected. | GJB 4.5.1.2 |
M | 469 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 470 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 471 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 472 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 486 | Expression needs brackets. | GJB 5.1.2 |
M | 486 | Value is not of appropriate type. : (bool and unsigned char): end - line == sizeof ( thisline ) | GJB 4.6.1.8 |
M | 486 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 486 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 486 | Type conversion without cast. : (signed char and char): * ( end - 1 ) != '\n' | GJB 4.6.1.9 |
M | 496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 499 | Type conversion without cast. : (signed char and char): * ( end - 1 ) == '\n' | GJB 4.6.1.9 |
M | 505 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 512 | goto detected. | GJB 4.5.1.2 |
M | 517 | goto detected. | GJB 4.5.1.2 |
M | 520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 526 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 527 | Value is not of appropriate type. : (int and char): ( strlen ( global_ssl.crt_base | GJB 4.6.1.8 |
M | 527 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 531 | goto detected. | GJB 4.5.1.2 |
M | 546 | goto detected. | GJB 4.5.1.2 |
M | 562 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 562 | Value is not of appropriate type. : (char and unsigned char): fp [ MAXPATHLEN + 1 ] = | GJB 4.6.1.8 |
M | 563 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 566 | Name reused in inner scope. : buf | GJB 4.15.1.2,4.15.1.5 |
M | 569 | Value is not of appropriate type. : (unsigned int and int): ret = snprintf ( fp , sizeof ( fp ) , "%s.%s" , crt_path , SSL_SOCK_KEYTYPE_NAMES [ n | GJB 4.6.1.8 |
M | 570 | Signed/unsigned conversion without cast. : (int and unsigned int): ret > sizeof | GJB 4.6.1.9 |
M | 579 | goto detected. | GJB 4.5.1.2 |
M | 592 | goto detected. | GJB 4.5.1.2 |
M | 608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 612 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 615 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 637 | goto detected. | GJB 4.5.1.2 |
M | 564 | Attempt to read from freed memory. : entry | GJB 5.1.16 |
M | 471 | Procedure contains UR data flow anomalies. : crt_path | GJB 4.13.1.4 |
M | 603 | Procedure contains UR data flow anomalies. : entry_dup |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_load_cert_dir (658 to 737 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 725 | Name redeclared in another C name space (MR). : end | GJB 4.1.1.16 |
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 662 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 662 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 664 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 665 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 678 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 678 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 678 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 684 | Value is not of appropriate type. : (unsigned int and int): de_list [ i | GJB 4.6.1.8 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 687 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 688 | goto detected. | GJB 4.5.1.2 |
M | 693 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 693 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 693 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 695 | goto detected. | GJB 4.5.1.2 |
M | 698 | goto detected. | GJB 4.5.1.2 |
M | 704 | goto detected. | GJB 4.5.1.2 |
M | 711 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 712 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 714 | goto detected. | GJB 4.5.1.2 |
M | 722 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 725 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 724 | Memory not freed after last reference. : entry | GJB 5.1.17 |
M | 725 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_crtlist_sslconf (743 to 876 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 813 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_crtlist_filters (879 to 890 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 881 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 887 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , " %s" , entry -> filters [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_crtlist (896 to 923 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 913 | goto detected. | GJB 4.5.1.2 |
M | 896 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_crtlist | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_crtlist_entries (926 to 972 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 953 | Pointer not checked for null before use. : store | GJB 5.1.15 |
M | 954 | Pointer not checked for null before use. : filename | GJB 5.1.15 |
M | 940 | Pointer not checked for null before use. : crtlist | GJB 5.1.15 |
M | 969 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 952 | Pointer not checked for null before use. : entry | GJB 5.1.15 |
M | 944 | goto detected. | GJB 4.5.1.2 |
M | 950 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 963 | goto detected. | GJB 4.5.1.2 |
M | 926 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_crtlist_entries | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_dump_crtlist (975 to 1016 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 975 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 975 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 975 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 978 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 980 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 988 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 988 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 989 | Type conversion without cast. : (int and char): mode = 's' | GJB 4.6.1.9 |
M | 992 | Type conversion without cast. : (int and char): mode = 'd' | GJB 4.6.1.9 |
M | 996 | Type conversion without cast. : (int and char): mode == 's' | GJB 4.6.1.9 |
M | 996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 999 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1003 | Expression needs brackets. | GJB 5.1.2 |
M | 1003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1004 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 975 | Static procedure is not explicitly called in code analysed. : cli_parse_dump_crtlist | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_add_crtlist (1020 to 1041 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1037 | Pointer not checked for null before use. : (entry)->ssl_conf | GJB 5.1.15 |
M | 1036 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1037 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1034 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 1020 | Static procedure is not explicitly called in code analysed. : cli_release_add_crtlist | GJB 4.7.1.3 |
M | 1025 | Procedure contains UR data flow anomalies. : inst |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_add_crtlist (1050 to 1161 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1059 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1060 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1064 | goto detected. | GJB 4.5.1.2 |
M | 1070 | goto detected. | GJB 4.5.1.2 |
M | 1079 | goto detected. | GJB 4.5.1.2 |
M | 1083 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1094 | goto detected. | GJB 4.5.1.2 |
M | 1100 | goto detected. | GJB 4.5.1.2 |
M | 1108 | goto detected. | GJB 4.5.1.2 |
M | 1120 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1127 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1129 | goto detected. | GJB 4.5.1.2 |
M | 1130 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1073 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1050 | Static procedure is not explicitly called in code analysed. : cli_io_handler_add_crtlist | GJB 4.7.1.3 |
M | 1089 | Procedure contains UR data flow anomalies. : sni |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_add_crtlist (1168 to 1300 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1299 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1232 | Pointer not checked for null before use. : crtlist | GJB 5.1.15 |
M | 1168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1168 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1172 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1173 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1175 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1180 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1191 | Expression needs brackets. | GJB 5.1.2 |
M | 1191 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1191 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1192 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1200 | goto detected. | GJB 4.5.1.2 |
M | 1207 | goto detected. | GJB 4.5.1.2 |
M | 1211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1216 | goto detected. | GJB 4.5.1.2 |
M | 1221 | goto detected. | GJB 4.5.1.2 |
M | 1229 | goto detected. | GJB 4.5.1.2 |
M | 1233 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1237 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1238 | goto detected. | GJB 4.5.1.2 |
M | 1242 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1243 | Modification of string literal. : slash | GJB 5.1.19 |
M | 1244 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1244 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1245 | goto detected. | GJB 4.5.1.2 |
M | 1247 | Modification of string literal. : slash | GJB 5.1.19 |
M | 1250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1251 | Value is not of appropriate type. : (int and char): ( strlen ( global_ssl.crt_base | GJB 4.6.1.8 |
M | 1251 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1254 | goto detected. | GJB 4.5.1.2 |
M | 1263 | goto detected. | GJB 4.5.1.2 |
M | 1265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1267 | goto detected. | GJB 4.5.1.2 |
M | 1275 | goto detected. | GJB 4.5.1.2 |
M | 1279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1281 | goto detected. | GJB 4.5.1.2 |
M | 1168 | Static procedure is not explicitly called in code analysed. : cli_parse_add_crtlist | GJB 4.7.1.3 |
M | 1290 | Attempt to read from freed memory. : entry | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_del_crtlist (1303 to 1430 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1420 | Pointer not checked for null before use. : (entry)->ssl_conf | GJB 5.1.15 |
M | 1424 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1429 | Pointer not checked for null before use. : err | GJB 5.1.15 |
M | 1364 | Pointer not checked for null before use. : crtlist | GJB 5.1.15 |
M | 1375 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 1303 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1303 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1303 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1306 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1307 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1314 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1315 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1320 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1331 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1334 | Expression needs brackets. | GJB 5.1.2 |
M | 1334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1334 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1336 | goto detected. | GJB 4.5.1.2 |
M | 1342 | Expression needs brackets. | GJB 5.1.2 |
M | 1342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1342 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1343 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1349 | goto detected. | GJB 4.5.1.2 |
M | 1357 | goto detected. | GJB 4.5.1.2 |
M | 1359 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1359 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1361 | goto detected. | GJB 4.5.1.2 |
M | 1367 | goto detected. | GJB 4.5.1.2 |
M | 1378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1378 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1387 | goto detected. | GJB 4.5.1.2 |
M | 1391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1393 | goto detected. | GJB 4.5.1.2 |
M | 1410 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1414 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1419 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1420 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1417 | Actual and formal parameters inconsistent (MR). : (crtlist_entry and char): param 1 | GJB 4.7.1.9 |
M | 1303 | Static procedure is not explicitly called in code analysed. : cli_parse_del_crtlist | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
crtlist_deinit (1434 to 1446 ssl_crtlist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1434 | Empty parameter list to procedure/function. : crtlist_deinit | GJB 4.1.1.10 |
M | 1443 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 1437 | Procedure contains UR data flow anomalies. : crtlist |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_has_early (37 to 60 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 44 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 38 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 38 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 37 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_has_early | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_has_crt (63 to 85 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 64 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 64 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 70 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 63 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_has_crt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_der (91 to 138 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 108 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 92 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 92 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 94 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 123 | goto detected. | GJB 4.5.1.2 |
M | 127 | goto detected. | GJB 4.5.1.2 |
M | 91 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_der | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_chain_der (143 to 204 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 197 | Pointer not checked for null before use. : smp_trash | GJB 5.1.15 |
M | 193 | Pointer not checked for null before use. : smp_trash | GJB 5.1.15 |
M | 166 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 144 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 156 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 184 | goto detected. | GJB 4.5.1.2 |
M | 188 | goto detected. | GJB 4.5.1.2 |
M | 192 | goto detected. | GJB 4.5.1.2 |
M | 143 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_chain_der | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_serial (210 to 255 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 253 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 225 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 211 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 211 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 240 | goto detected. | GJB 4.5.1.2 |
M | 244 | goto detected. | GJB 4.5.1.2 |
M | 210 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_serial | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_sha1 (261 to 308 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 297 | Pointer not checked for null before use. : digest | GJB 5.1.15 |
M | 297 | Pointer not checked for null before use. : smp_trash | GJB 5.1.15 |
M | 297 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 279 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 262 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 262 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 264 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 293 | goto detected. | GJB 4.5.1.2 |
M | 298 | Signed/unsigned conversion without cast. : (int and unsigned int): smp_trash -> data = len | GJB 4.6.1.9 |
M | 261 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_sha1 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_notafter (314 to 359 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 357 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 330 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 315 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 315 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 317 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 317 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 348 | goto detected. | GJB 4.5.1.2 |
M | 314 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_notafter | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_i_dn (365 to 428 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 426 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 382 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 366 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 366 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 368 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 368 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 396 | goto detected. | GJB 4.5.1.2 |
M | 400 | goto detected. | GJB 4.5.1.2 |
M | 403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 410 | goto detected. | GJB 4.5.1.2 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 412 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 414 | goto detected. | GJB 4.5.1.2 |
M | 417 | goto detected. | GJB 4.5.1.2 |
M | 417 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 365 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_i_dn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_notbefore (434 to 479 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 477 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 450 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 435 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 435 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 437 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 437 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 464 | goto detected. | GJB 4.5.1.2 |
M | 468 | goto detected. | GJB 4.5.1.2 |
M | 434 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_notbefore | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_s_dn (485 to 548 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 546 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 502 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 486 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 488 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 488 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 516 | goto detected. | GJB 4.5.1.2 |
M | 520 | goto detected. | GJB 4.5.1.2 |
M | 523 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 523 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 530 | goto detected. | GJB 4.5.1.2 |
M | 532 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 532 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 534 | goto detected. | GJB 4.5.1.2 |
M | 537 | goto detected. | GJB 4.5.1.2 |
M | 537 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 485 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_s_dn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_c_used (551 to 578 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 559 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 552 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 551 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_c_used | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_version (584 to 622 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 615 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 598 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 585 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 585 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 584 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_version | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_sig_alg (628 to 679 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 660 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 644 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 629 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 629 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 663 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 628 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_sig_alg | GJB 4.7.1.3 |
M | 634 | Procedure contains UR data flow anomalies. : algorithm |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_x_key_alg (685 to 734 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 716 | Pointer not checked for null before use. : crt | GJB 5.1.15 |
M | 700 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 686 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 686 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 688 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 688 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 719 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 685 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_x_key_alg | GJB 4.7.1.3 |
M | 691 | Procedure contains UR data flow anomalies. : algorithm |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc (740 to 754 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 741 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 741 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 752 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 740 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_has_sni (757 to 770 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 758 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 758 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 757 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_has_sni | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_is_resumed (776 to 793 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 777 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 777 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 791 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 776 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_is_resumed | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_cipher (799 to 825 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 800 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 800 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 816 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 799 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_cipher | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_alg_keysize (832 to 858 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 833 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 833 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 832 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_alg_keysize | GJB 4.7.1.3 |
M | 837 | Procedure contains UR data flow anomalies. : sint |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_use_keysize (864 to 889 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 865 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 864 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_use_keysize | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_protocol (964 to 990 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 965 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 965 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 964 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_protocol | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_cl_bin (1130 to 1151 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1138 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 1131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1131 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_cl_hex (1153 to 1167 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1162 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 1154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1154 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1158 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1153 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_cl_hex | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_cl_xxh64 (1169 to 1189 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1177 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 1170 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1170 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_fc_cl_str (1249 to 1284 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1250 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1250 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1282 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1249 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_fc_cl_str | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_c_ca_err (1334 to 1355 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1351 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1335 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1335 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1341 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1334 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_c_ca_err | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_c_ca_err_depth (1358 to 1379 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1375 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1359 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1359 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1358 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_c_ca_err_depth | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_c_err (1382 to 1404 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1400 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 1383 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1383 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1389 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1382 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_c_err | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_ssl_c_verify (1407 to 1428 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1414 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 1408 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1408 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1407 | Static procedure is not explicitly called in code analysed. : smp_fetch_ssl_c_verify | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
val_dnfmt (1436 to 1443 ssl_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1436 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cert_get_pkey_algo (21 to 61 ssl_utils.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 31 | No default case in switch statement. | GJB 4.3.1.4 |
M | 57 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_get_serial (67 to 81 ssl_utils.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_crt2der (87 to 102 ssl_utils.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 90 | Name found with length less than 2. : p | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_get_time (109 to 141 ssl_utils.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Expression needs brackets. | GJB 5.1.2 |
M | 138 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_get_dn_entry (146 to 201 ssl_utils.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 170 | Pointer not checked for null before use. : ne | GJB 5.1.15 |
M | 172 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 174 | Pointer not checked for null before use. : obj | GJB 5.1.15 |
M | 194 | Pointer not checked for null before use. : data_ptr | GJB 5.1.15 |
M | 146 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 154 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 154 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 154 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 156 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 157 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 175 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 175 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 175 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 176 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 156 | Procedure contains UR data flow anomalies. : s | GJB 4.13.1.4 |
M | 157 | Procedure contains UR data flow anomalies. : tmp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_get_dn_formatted (208 to 233 ssl_utils.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | Name redeclared in another C name space (MR). : out | GJB 4.1.1.16 |
M | 208 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 217 | goto detected. | GJB 4.5.1.2 |
M | 220 | goto detected. | GJB 4.5.1.2 |
M | 222 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 222 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 223 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ssl_sock_get_dn_oneline (238 to 287 ssl_utils.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 259 | Pointer not checked for null before use. : ne | GJB 5.1.15 |
M | 261 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 263 | Pointer not checked for null before use. : obj | GJB 5.1.15 |
M | 277 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 280 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 279 | Pointer not checked for null before use. : data_ptr | GJB 5.1.15 |
M | 238 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 245 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 245 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 246 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 247 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 247 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 248 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 248 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 249 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 264 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 264 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 264 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 265 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 268 | Signed/unsigned conversion without cast. : (int and unsigned int): ln = strlen | GJB 4.6.1.9 |
M | 247 | Procedure contains UR data flow anomalies. : s | GJB 4.13.1.4 |
M | 249 | Procedure contains UR data flow anomalies. : tmp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str_tolower (59 to 65 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 63 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 59 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
x2c (67 to 88 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 67 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 72 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 72 | Operation not appropriate to plain char. : & used with char: what | GJB 4.1.1.15 |
M | 72 | Value is not of appropriate type. : (char and short): ( what [ 0 ] | GJB 4.6.1.8 |
M | 72 | Value is not of appropriate type. : (char and signed char): ( what [ 0 ] & 0xdf ) - 'A' ) | GJB 4.6.1.8 |
M | 74 | Value is not of appropriate type. : (char and signed char): digit *= 16 | GJB 4.6.1.8 |
M | 75 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 75 | Operation not appropriate to plain char. : & used with char: what | GJB 4.1.1.15 |
M | 75 | Value is not of appropriate type. : (char and short): ( what [ 1 ] | GJB 4.6.1.8 |
M | 75 | Value is not of appropriate type. : (char and signed char): ( what [ 1 ] & 0xdf ) - 'A' ) | GJB 4.6.1.8 |
M | 75 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
unescape_url (90 to 143 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 119 | Pointer not checked for null before use. : y | GJB 5.1.15 |
M | 123 | Pointer not checked for null before use. : y | GJB 5.1.15 |
M | 124 | Pointer not checked for null before use. : y | GJB 5.1.15 |
M | 128 | Pointer not checked for null before use. : y | GJB 5.1.15 |
M | 133 | Pointer not checked for null before use. : x | GJB 5.1.15 |
M | 105 | Pointer not checked for null before use. : x | GJB 5.1.15 |
M | 103 | Pointer not checked for null before use. : y | GJB 5.1.15 |
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 93 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 93 | Name found with length less than 2. : x | GJB 4.8.1.1 |
M | 93 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 108 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 113 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 118 | Modification of string literal. : x | GJB 5.1.19 |
M | 121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 122 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 123 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 124 | Modification of string literal. : x | GJB 5.1.19 |
M | 127 | Modification of string literal. : x | GJB 5.1.19 |
M | 133 | Modification of string literal. : x | GJB 5.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_unescape_url (145 to 149 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 148 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 145 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
log_error_core (159 to 172 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 159 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 161 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 162 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 163 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 164 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 166 | Procedure contains UR data flow anomalies. : errstr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_log_error_ (174 to 184 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 176 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 176 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 176 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_log_rerror_ (186 to 196 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 186 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 188 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 188 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_log_cerror_ (198 to 208 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 200 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 198 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 200 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 200 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 200 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_open_piped_log (210 to 213 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 210 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 210 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_server_root_relative (223 to 237 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 227 | Pointer not checked for null before use. : ap_server_root | GJB 5.1.15 |
M | 223 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 223 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 225 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 229 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_get_brigade (239 to 250 standalone.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
argstr_to_table (252 to 278 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 274 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 253 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 255 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 257 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 257 | Procedure contains UR data flow anomalies. : strtok_state |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_args_to_table (280 to 285 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 283 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 280 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 283 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trie_node_link (289 to 320 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | Pointer not checked for null before use. : new | GJB 5.1.15 |
M | 301 | Pointer not checked for null before use. : new | GJB 5.1.15 |
M | 289 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 290 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 292 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 292 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 295 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 297 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 297 | Use of sizeof on a type. | GJB 5.1.8 |
M | 301 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 299 | Use of sizeof on a type. | GJB 5.1.8 |
M | 305 | Value is not of appropriate type. : (unsigned int and int): c == parent -> children [ i | GJB 4.6.1.8 |
M | 308 | Value is not of appropriate type. : (unsigned int and int): c < parent -> children [ i | GJB 4.6.1.8 |
M | 310 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 313 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ j | GJB 4.6.1.8 |
M | 313 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ j ].c = parent -> children [ j - 1 | GJB 4.6.1.8 |
M | 314 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ j | GJB 4.6.1.8 |
M | 314 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ j ].child = parent -> children [ j - 1 | GJB 4.6.1.8 |
M | 316 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ i | GJB 4.6.1.8 |
M | 317 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trie_node_alloc (326 to 354 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 341 | Pointer not checked for null before use. : new_node | GJB 5.1.15 |
M | 348 | Pointer not checked for null before use. : new_node | GJB 5.1.15 |
M | 326 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 327 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 331 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 333 | Value is not of appropriate type. : (unsigned int and int): c == parent -> children [ i | GJB 4.6.1.8 |
M | 334 | Value is not of appropriate type. : (unsigned int and int): parent -> children [ i | GJB 4.6.1.8 |
M | 336 | Value is not of appropriate type. : (unsigned int and int): c < parent -> children [ i | GJB 4.6.1.8 |
M | 338 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 340 | Use of sizeof on a type. | GJB 5.1.8 |
M | 344 | Use of sizeof on a type. | GJB 5.1.8 |
M | 351 | Use of sizeof on a type. | GJB 5.1.8 |
M | 353 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 341 | Actual and formal parameters inconsistent (MR). : (char and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
filter_cleanup (360 to 365 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 360 | Static procedure is not explicitly called in code analysed. : filter_cleanup | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
register_filter (367 to 408 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 379 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 398 | Pointer not checked for null before use. : frec | GJB 5.1.15 |
M | 401 | Pointer not checked for null before use. : frec | GJB 5.1.15 |
M | 387 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 389 | Pointer not checked for null before use. : child | GJB 5.1.15 |
M | 367 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 374 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 375 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 375 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 379 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_register_input_filter (410 to 419 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 410 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 415 | Name found with length less than 2. : f | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_any_filter_handle (421 to 499 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 422 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 455 | Pointer not checked for null before use. : f | GJB 5.1.15 |
M | 422 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 422 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 427 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 480 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 489 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 495 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 498 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_any_filter (501 to 546 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 502 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 516 | Pointer not checked for null before use. : node | GJB 5.1.15 |
M | 501 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 502 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 502 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 509 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 509 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 519 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 519 | Value is not of appropriate type. : (unsigned int and int): node -> children [ middle | GJB 4.6.1.8 |
M | 521 | Value is not of appropriate type. : (unsigned int and int): node = node -> children [ middle | GJB 4.6.1.8 |
M | 524 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_add_input_filter (548 to 555 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 549 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 551 | Pointer not checked for null before use. : registered_input_filters | GJB 5.1.15 |
M | 548 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 549 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 549 | Name found with length less than 2. : c | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
remove_any_filter (557 to 578 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 557 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 563 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 572 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ap_remove_input_filter (580 to 585 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 580 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 582 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 582 | Name found with length less than 2. : r | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_close (597 to 600 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 597 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_getch (602 to 605 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 602 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_getstr (607 to 610 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 607 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_getline_core (614 to 707 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 677 | Name redeclared in another C name space (MR). : c | GJB 4.1.1.16 |
M | 645 | Pointer not checked for null before use. : cp | GJB 5.1.15 |
M | 656 | Pointer not checked for null before use. : cp | GJB 5.1.15 |
M | 626 | Pointer not checked for null before use. : cbuf | GJB 5.1.15 |
M | 614 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 621 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 628 | Expression needs brackets. | GJB 5.1.2 |
M | 646 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 646 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 646 | Array bound exceeded. : cp[*]; accessed=-1 | GJB 4.6.1.2 |
M | 646 | Value is not of appropriate type. : (unsigned int and signed char): cp [ - 1 | GJB 4.6.1.8 |
M | 648 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 648 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 648 | Array bound exceeded. : cp[*]; accessed=-1 | GJB 4.6.1.2 |
M | 648 | Value is not of appropriate type. : (unsigned int and signed char): cp [ - 1 | GJB 4.6.1.8 |
M | 650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 650 | Array bound exceeded. : cp[*]; accessed=-1 | GJB 4.6.1.2 |
M | 650 | Value is not of appropriate type. : (unsigned int and signed char): cp [ - 1 | GJB 4.6.1.8 |
M | 661 | Expression needs brackets. | GJB 5.1.2 |
M | 663 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 668 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 677 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 677 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 690 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 690 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 690 | Value is not of appropriate type. : (unsigned int and signed char): buf [ i - 1 | GJB 4.6.1.8 |
M | 700 | Expression needs brackets. | GJB 5.1.2 |
M | 677 | Procedure contains UR data flow anomalies. : c |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_trim_line (709 to 729 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 709 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 711 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 717 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 720 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 720 | Expression needs brackets. | GJB 5.1.2 |
M | 720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 720 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 721 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 724 | Expression needs brackets. | GJB 5.1.2 |
M | 728 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_getline (733 to 740 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 738 | Pointer not checked for null before use. : buf | GJB 5.1.15 |
M | 733 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
substring_conf (742 to 763 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 746 | Pointer not checked for null before use. : result | GJB 5.1.15 |
M | 742 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 742 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 742 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 743 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 745 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 746 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 747 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 750 | Value is not of appropriate type. : (unsigned int and int): start [ i | GJB 4.6.1.8 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 750 | Value is not of appropriate type. : (unsigned int and int): start [ i + 1 | GJB 4.6.1.8 |
M | 750 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 751 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): start [ i + 1 | GJB 4.6.1.8 |
M | 752 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 752 | Value is not of appropriate type. : (unsigned int and int): resp ++ = start [ ++ i | GJB 4.6.1.8 |
M | 754 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 754 | Value is not of appropriate type. : (unsigned int and int): resp ++ = start [ i | GJB 4.6.1.8 |
M | 757 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 761 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
getword_conf (765 to 807 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 771 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 765 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 767 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 768 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 769 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 772 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 775 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 779 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 779 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 779 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 779 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 781 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 783 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 797 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 798 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 804 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 805 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 806 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 790 | Actual and formal parameters inconsistent (MR). : (char and int): param 3 | GJB 4.7.1.9 |
M | 800 | Actual and formal parameters inconsistent (MR). : (int and char): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pcfg_openfile (810 to 860 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 852 | Pointer not checked for null before use. : new_cfg | GJB 5.1.15 |
M | 811 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 811 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 842 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 843 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_command (862 to 872 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 865 | Pointer not checked for null before use. : cmds | GJB 5.1.15 |
M | 862 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
invoke_cmd (874 to 1058 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 938 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 948 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 958 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 959 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 969 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1017 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 874 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 875 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 878 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 878 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 879 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 888 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 901 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 905 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 913 | Value is not of appropriate type. : (unsigned int and int): argv [ argc | GJB 4.6.1.8 |
M | 915 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 915 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 918 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 921 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 925 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 930 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 930 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 930 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 934 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 940 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 940 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 944 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 950 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 950 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 950 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 954 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 961 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 965 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 972 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 972 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 972 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 972 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 977 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 984 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 984 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 984 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 989 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 996 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1001 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1020 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1025 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1025 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1025 | Value is not of appropriate type. : (char and signed char): * args == 0 | GJB 4.6.1.8 |
M | 1030 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1030 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1030 | Expression needs brackets. | GJB 5.1.2 |
M | 1034 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1038 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1047 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1051 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1057 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
is_directory (1060 to 1068 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1060 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1060 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
make_full_path (1070 to 1096 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1083 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 1088 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 1070 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1070 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 1070 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1071 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1074 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1081 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1087 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1090 | Array bound exceeded. : next[*]; accessed=-1 | GJB 4.6.1.2 |
M | 1090 | Value is not of appropriate type. : (unsigned int and signed char): next [ - 1 | GJB 4.6.1.8 |
M | 1091 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1095 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fname_alphasort (1098 to 1104 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1098 | Static procedure is not explicitly called in code analysed. : fname_alphasort | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_resource_config (1106 to 1113 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1106 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1108 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1111 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1111 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1111 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_resource_config_nofnmatch (1115 to 1185 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1162 | Pointer not checked for null before use. : candidates | GJB 5.1.15 |
M | 1136 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 1145 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 1157 | Pointer not checked for null before use. : fnew | GJB 5.1.15 |
M | 1172 | Pointer not checked for null before use. : fnew | GJB 5.1.15 |
M | 1115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1117 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1122 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1133 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1133 | Signed/unsigned conversion without cast. : (unsigned int and int): ++ depth | GJB 4.6.1.9 |
M | 1133 | Expression needs brackets. | GJB 5.1.2 |
M | 1151 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1155 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1163 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1171 | Value is not of appropriate type. : (unsigned int and int): ( fnames * ) candidates -> elts ) [ current | GJB 4.6.1.8 |
M | 1157 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_resource_config_fnmatch (1187 to 1292 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1214 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 1219 | Pointer not checked for null before use. : path | GJB 5.1.15 |
M | 1211 | Pointer not checked for null before use. : fname | GJB 5.1.15 |
M | 1256 | Pointer not checked for null before use. : candidates | GJB 5.1.15 |
M | 1269 | Pointer not checked for null before use. : fnew | GJB 5.1.15 |
M | 1274 | Pointer not checked for null before use. : fnew | GJB 5.1.15 |
M | 1251 | Pointer not checked for null before use. : full_path | GJB 5.1.15 |
M | 1251 | Pointer not checked for null before use. : fnew | GJB 5.1.15 |
M | 1187 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1187 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1188 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1190 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1236 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1239 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1240 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1240 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1243 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1251 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1257 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1259 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1267 | Value is not of appropriate type. : (unsigned int and int): ( fnames * ) candidates -> elts ) [ current | GJB 4.6.1.8 |
M | 1243 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 1197 | Procedure contains UR data flow anomalies. : dirp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_fnmatch_configs (1294 to 1322 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1294 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1294 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1296 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1305 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1316 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1305 | Procedure contains UR data flow anomalies. : rootpath |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_module_config (1324 to 1459 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1345 | Pointer not checked for null before use. : arr | GJB 5.1.15 |
M | 1428 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 1340 | Pointer not checked for null before use. : ari | GJB 5.1.15 |
M | 1352 | Pointer not checked for null before use. : parms | GJB 5.1.15 |
M | 1407 | Pointer not checked for null before use. : fullname | GJB 5.1.15 |
M | 1425 | Pointer not checked for null before use. : newdir | GJB 5.1.15 |
M | 1324 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1324 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1326 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1327 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1334 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1335 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1337 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1337 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1338 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1343 | goto detected. | GJB 4.5.1.2 |
M | 1349 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1362 | goto detected. | GJB 4.5.1.2 |
M | 1371 | goto detected. | GJB 4.5.1.2 |
M | 1374 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1380 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1381 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1384 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1384 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1387 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1391 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1394 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1394 | Name found with length less than 2. : w | GJB 4.8.1.1 |
M | 1401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1401 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1401 | Value is not of appropriate type. : (char and signed char): * args != 0 | GJB 4.6.1.8 |
M | 1403 | goto detected. | GJB 4.5.1.2 |
M | 1412 | goto detected. | GJB 4.5.1.2 |
M | 1418 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1421 | goto detected. | GJB 4.5.1.2 |
M | 1424 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1432 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1432 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1455 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1455 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1456 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1458 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1333 | Procedure contains UR data flow anomalies. : line |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lookup_builtin_method (1461 to 1636 standalone.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1461 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1483 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1484 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1485 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1487 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1488 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1489 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1492 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1494 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1498 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1499 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1500 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1501 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1503 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1504 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1505 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1506 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1508 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1509 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1511 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1513 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1515 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1516 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1518 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1519 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1521 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1524 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1526 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1531 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1534 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1537 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1540 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1543 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1546 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1548 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1556 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1559 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1562 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1563 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1565 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1568 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1571 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1573 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1578 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1581 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1584 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1587 | Switch case not terminated with break. | GJB 4.3.1.7 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1589 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1594 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1597 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1600 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1602 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1604 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1611 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1614 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1617 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1619 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1621 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1625 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1629 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1633 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_get_domain (274 to 277 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 276 | Expression needs brackets. | GJB 5.1.2 |
M | 276 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_px_get_cap (279 to 282 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 281 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_putchk (286 to 301 stats.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_scope_ptr (303 to 315 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 306 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 310 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 311 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 303 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_csv_header (341 to 358 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 343 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 347 | Signed/unsigned conversion without cast. : (int and unsigned int): field | GJB 4.6.1.9 |
M | 347 | Signed/unsigned conversion without cast. : (int and unsigned int): field < stat_count | GJB 4.6.1.9 |
M | 348 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , "%s," , stat_f [ domain ] [ field | GJB 4.6.1.8 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 352 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_emit_raw_data_field (363 to 375 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 363 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 366 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 367 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 368 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 369 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 370 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 371 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 372 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 374 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
field_to_html_str (377 to 389 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 377 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 377 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 380 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 381 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 382 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 383 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 384 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 386 | Null case in switch statement. | GJB 4.3.1.8 |
M | 388 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_emit_typed_data_field (395 to 407 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 395 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 398 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 399 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 400 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 401 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 402 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 403 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 404 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 406 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_emit_json_data_field (418 to 462 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 459 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 418 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 421 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 425 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 427 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 430 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 433 | Shifting value too far. | GJB 4.6.1.4 |
M | 433 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 433 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 433 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 433 | Shifting value too far. | GJB 4.6.1.4 |
M | 433 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 436 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 438 | Shifting value too far. | GJB 4.6.1.4 |
M | 438 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 441 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 445 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 451 | Use of sizeof on an array parameter. | GJB 5.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_emit_field_tags (467 to 506 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 467 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 468 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 470 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_emit_json_field_tags (511 to 556 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 511 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 513 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_fields_csv (559 to 582 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 564 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 566 | Signed/unsigned conversion without cast. : (int and unsigned int): field | GJB 4.6.1.9 |
M | 566 | Signed/unsigned conversion without cast. : (int and unsigned int): field < stats_count | GJB 4.6.1.9 |
M | 567 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 574 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 574 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 574 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_fields_typed (585 to 634 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 591 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 593 | Signed/unsigned conversion without cast. : (int and unsigned int): field | GJB 4.6.1.9 |
M | 593 | Signed/unsigned conversion without cast. : (int and unsigned int): field < stats_count | GJB 4.6.1.9 |
M | 594 | Value is not of appropriate type. : (unsigned int and int): ! stats [ field | GJB 4.6.1.8 |
M | 598 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 605 | Value is not of appropriate type. : (unsigned int and int): stats [ ST_F_IID ].u.u32 , stats [ ST_F_SID ].u.u32 , field , stat_f [ domain ] [ field | GJB 4.6.1.8 |
M | 611 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 612 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "D.%d.%s:" , field , stat_f [ domain ] [ field | GJB 4.6.1.8 |
M | 597 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 620 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 622 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 626 | Value is not of appropriate type. : (unsigned int and int): ":\"%s\"" , stat_f [ domain ] [ field | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_json_info_fields (637 to 683 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 638 | Parameter has same name as global variable. : info | GJB 4.15.1.3 |
M | 640 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 652 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 659 | Value is not of appropriate type. : (unsigned int and int): ssNum\":%u," , field , info_fields [ field | GJB 4.6.1.8 |
M | 663 | goto detected. | GJB 4.5.1.2 |
M | 665 | Value is not of appropriate type. : (unsigned int and int): out , & info [ field | GJB 4.6.1.8 |
M | 666 | goto detected. | GJB 4.5.1.2 |
M | 668 | Value is not of appropriate type. : (unsigned int and int): out , & info [ field | GJB 4.6.1.8 |
M | 669 | goto detected. | GJB 4.5.1.2 |
M | 672 | goto detected. | GJB 4.5.1.2 |
M | 676 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_print_proxy_field_json (685 to 711 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 687 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 694 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_print_dns_field_json (713 to 722 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 715 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_fields_json (726 to 788 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 731 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 734 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 739 | Signed/unsigned conversion without cast. : (int and unsigned int): field | GJB 4.6.1.9 |
M | 739 | Signed/unsigned conversion without cast. : (int and unsigned int): field < stats_count | GJB 4.6.1.9 |
M | 742 | Value is not of appropriate type. : (unsigned int and int): ! stats [ field | GJB 4.6.1.8 |
M | 745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 746 | goto detected. | GJB 4.5.1.2 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field ] , stat_f [ domain ] [ field | GJB 4.6.1.8 |
M | 759 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 759 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field ] , stat_f [ domain ] [ field | GJB 4.6.1.8 |
M | 762 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 765 | goto detected. | GJB 4.5.1.2 |
M | 767 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 768 | goto detected. | GJB 4.5.1.2 |
M | 770 | Value is not of appropriate type. : (unsigned int and int): out , & stats [ field | GJB 4.6.1.8 |
M | 771 | goto detected. | GJB 4.5.1.2 |
M | 774 | goto detected. | GJB 4.5.1.2 |
M | 778 | goto detected. | GJB 4.5.1.2 |
M | 751 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 | GJB 4.7.1.9 |
M | 759 | Actual and formal parameters inconsistent (MR). : (int and char): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_fields_html (796 to 1598 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 802 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 802 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 893 | Expression needs brackets. | GJB 5.1.2 |
M | 902 | Expression needs brackets. | GJB 5.1.2 |
M | 925 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 925 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 930 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 930 | Expression needs brackets. | GJB 5.1.2 |
M | 933 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 933 | Expression needs brackets. | GJB 5.1.2 |
M | 934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 961 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "<tr><th>%s</th><td>%s</td></tr>" , mod -> stats [ j | GJB 4.6.1.8 |
M | 963 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 998 | Type conversion without cast. : (int and char): * field_str ( stats , ST_F_ADDR ) == '[' | GJB 4.6.1.9 |
M | 1003 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1047 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "<tr><th>%s</th><td>%s</td></tr>" , mod -> stats [ j | GJB 4.6.1.8 |
M | 1049 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1064 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1073 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1074 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1092 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1093 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1093 | Expression needs brackets. | GJB 5.1.2 |
M | 1131 | Type conversion without cast. : (int and char): * field_str ( stats , ST_F_ADDR ) == '[' | GJB 4.6.1.9 |
M | 1136 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1209 | Expression needs brackets. | GJB 5.1.2 |
M | 1212 | Expression needs brackets. | GJB 5.1.2 |
M | 1214 | Expression needs brackets. | GJB 5.1.2 |
M | 1216 | Expression needs brackets. | GJB 5.1.2 |
M | 1218 | Expression needs brackets. | GJB 5.1.2 |
M | 1220 | Expression needs brackets. | GJB 5.1.2 |
M | 1222 | Expression needs brackets. | GJB 5.1.2 |
M | 1288 | Expression needs brackets. | GJB 5.1.2 |
M | 1289 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1363 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1387 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "<tr><th>%s</th><td>%s</td></tr>" , mod -> stats [ j | GJB 4.6.1.8 |
M | 1389 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1475 | Expression needs brackets. | GJB 5.1.2 |
M | 1481 | Expression needs brackets. | GJB 5.1.2 |
M | 1489 | Expression needs brackets. | GJB 5.1.2 |
M | 1525 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1525 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1530 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1530 | Expression needs brackets. | GJB 5.1.2 |
M | 1533 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1533 | Expression needs brackets. | GJB 5.1.2 |
M | 1534 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1534 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1580 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "<tr><th>%s</th><td>%s</td></tr>" , mod -> stats [ j | GJB 4.6.1.8 |
M | 1582 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1595 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 956 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 | GJB 4.7.1.9 |
M | 1042 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 | GJB 4.7.1.9 |
M | 1382 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 | GJB 4.7.1.9 |
M | 1575 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 | GJB 4.7.1.9 |
M | 801 | Procedure contains UR data flow anomalies. : mod | GJB 4.13.1.4 |
M | 800 | Procedure contains UR data flow anomalies. : src |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_one_line (1600 to 1618 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1606 | Actual and formal parameters inconsistent (MR). : (appctx and unsigned int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_fill_fe_stats (1625 to 1685 stats.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_fe_stats (1691 to 1723 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1718 | Pointer not checked for null before use. : counters | GJB 5.1.15 |
M | 1694 | Pointer not checked for null before use. : stat_l | GJB 5.1.15 |
M | 1701 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1718 | Pointer not checked for null before use. : stats | GJB 5.1.15 |
M | 1704 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1704 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1713 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1719 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1706 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1712 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_fill_li_stats (1731 to 1793 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1742 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 1731 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 1758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1767 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1785 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1785 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1767 | Procedure contains UR data flow anomalies. : str |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_li_stats (1799 to 1825 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1808 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1820 | Pointer not checked for null before use. : counters | GJB 5.1.15 |
M | 1802 | Pointer not checked for null before use. : stat_l | GJB 5.1.15 |
M | 1820 | Pointer not checked for null before use. : stats | GJB 5.1.15 |
M | 1799 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 1806 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1806 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1815 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1821 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1808 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 1814 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_fill_sv_stats (1863 to 2116 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2005 | Pointer not checked for null before use. : fld_track | GJB 5.1.15 |
M | 1926 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 1975 | Pointer not checked for null before use. : fld_status | GJB 5.1.15 |
M | 2019 | Pointer not checked for null before use. : fld_chksts | GJB 5.1.15 |
M | 2020 | Pointer not checked for null before use. : fld_chksts | GJB 5.1.15 |
M | 2042 | Pointer not checked for null before use. : fld_chksts | GJB 5.1.15 |
M | 2043 | Pointer not checked for null before use. : fld_chksts | GJB 5.1.15 |
M | 1867 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1870 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1883 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1885 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1885 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1887 | Expression needs brackets. | GJB 5.1.2 |
M | 1902 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1907 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1908 | Expression needs brackets. | GJB 5.1.2 |
M | 1915 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1917 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1972 | Expression needs brackets. | GJB 5.1.2 |
M | 1977 | Expression needs brackets. | GJB 5.1.2 |
M | 1977 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1996 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2002 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2013 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2036 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2077 | Signed/unsigned conversion without cast. : (long long and unsigned int): srv_samples_counter | GJB 4.6.1.9 |
M | 2077 | Signed/unsigned conversion without cast. : (long long and unsigned int): srv_samples_counter < TIME_STATS_SAMPLES | GJB 4.6.1.9 |
M | 2077 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2077 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2078 | Signed/unsigned conversion without cast. : (unsigned int and long long): srv_samples_window = srv_samples_counter | GJB 4.6.1.9 |
M | 2105 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 2105 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1867 | Procedure contains UR data flow anomalies. : str |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_sv_stats (2123 to 2152 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2132 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2147 | Pointer not checked for null before use. : counters | GJB 5.1.15 |
M | 2127 | Pointer not checked for null before use. : stat_l | GJB 5.1.15 |
M | 2147 | Pointer not checked for null before use. : stats | GJB 5.1.15 |
M | 2130 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2130 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2138 | Signed/unsigned conversion without cast. : (int and unsigned int): mod -> domain_flags ) != STATS_DOMAIN_PROXY | GJB 4.6.1.9 |
M | 2142 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2148 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2132 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 5 | GJB 4.7.1.9 |
M | 2138 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_fill_be_stats (2160 to 2279 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2212 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 2217 | Pointer not checked for null before use. : fld | GJB 5.1.15 |
M | 2168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2174 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2179 | Expression needs brackets. | GJB 5.1.2 |
M | 2186 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2218 | Expression needs brackets. | GJB 5.1.2 |
M | 2218 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2265 | Signed/unsigned conversion without cast. : (long long and unsigned int): be_samples_counter | GJB 4.6.1.9 |
M | 2265 | Signed/unsigned conversion without cast. : (long long and unsigned int): be_samples_counter < TIME_STATS_SAMPLES | GJB 4.6.1.9 |
M | 2265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2265 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2266 | Signed/unsigned conversion without cast. : (unsigned int and long long): be_samples_window = be_samples_counter | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_be_stats (2285 to 2320 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2315 | Pointer not checked for null before use. : counters | GJB 5.1.15 |
M | 2288 | Pointer not checked for null before use. : stat_l | GJB 5.1.15 |
M | 2295 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2315 | Pointer not checked for null before use. : stats | GJB 5.1.15 |
M | 2298 | Use of sizeof on a type. | GJB 5.1.8 |
M | 2298 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2306 | Signed/unsigned conversion without cast. : (int and unsigned int): mod -> domain_flags ) != STATS_DOMAIN_PROXY | GJB 4.6.1.9 |
M | 2310 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2316 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2300 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 | GJB 4.7.1.9 |
M | 2306 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_html_px_hdr (2326 to 2430 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2342 | Pointer not checked for null before use. : scope_ptr | GJB 5.1.15 |
M | 2333 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2338 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2329 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2339 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2342 | Value is not of appropriate type. : (int and char): strlen ( STAT_SCOPE_PATTERN | GJB 4.6.1.8 |
M | 2343 | Value is not of appropriate type. : (int and char): scope_txt [ strlen ( STAT_SCOPE_PATTERN | GJB 4.6.1.8 |
M | 2343 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2330 | Procedure contains UR data flow anomalies. : mod |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_html_px_end (2435 to 2467 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2440 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_proxy_to_buffer (2476 to 2670 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2487 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2520 | Pointer not checked for null before use. : scope_ptr | GJB 5.1.15 |
M | 2566 | Pointer not checked for null before use. : l | GJB 5.1.15 |
M | 2504 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2561 | Pointer not checked for null before use. : rep | GJB 5.1.15 |
M | 2596 | Pointer not checked for null before use. : rep | GJB 5.1.15 |
M | 2612 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 2606 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 2590 | Pointer not checked for null before use. : sv | GJB 5.1.15 |
M | 2495 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 2500 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2500 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2504 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2504 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2518 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2520 | Value is not of appropriate type. : (int and char): strlen ( px -> id | GJB 4.6.1.8 |
M | 2532 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2536 | goto detected. | GJB 4.5.1.2 |
M | 2542 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2546 | goto detected. | GJB 4.5.1.2 |
M | 2553 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2558 | goto detected. | GJB 4.5.1.2 |
M | 2562 | goto detected. | GJB 4.5.1.2 |
M | 2573 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2573 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2580 | goto detected. | GJB 4.5.1.2 |
M | 2588 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2593 | goto detected. | GJB 4.5.1.2 |
M | 2597 | goto detected. | GJB 4.5.1.2 |
M | 2606 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2606 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2612 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2618 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2623 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2625 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2626 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2632 | goto detected. | GJB 4.5.1.2 |
M | 2639 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2643 | goto detected. | GJB 4.5.1.2 |
M | 2649 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2653 | goto detected. | GJB 4.5.1.2 |
M | 2659 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2660 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2665 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2545 | Procedure contains UR data flow anomalies. : (trash)->area | GJB 4.13.1.4 |
M | 2579 | Procedure contains UR data flow anomalies. : (trash)->area | GJB 4.13.1.4 |
M | 2631 | Procedure contains UR data flow anomalies. : (trash)->area | GJB 4.13.1.4 |
M | 2642 | Procedure contains UR data flow anomalies. : (trash)->area | GJB 4.13.1.4 |
M | 2652 | Procedure contains UR data flow anomalies. : (trash)->area | GJB 4.13.1.4 |
M | 2545 | Procedure contains UR data flow anomalies. : (trash)->data | GJB 4.13.1.4 |
M | 2579 | Procedure contains UR data flow anomalies. : (trash)->data | GJB 4.13.1.4 |
M | 2631 | Procedure contains UR data flow anomalies. : (trash)->data | GJB 4.13.1.4 |
M | 2642 | Procedure contains UR data flow anomalies. : (trash)->data | GJB 4.13.1.4 |
M | 2652 | Procedure contains UR data flow anomalies. : (trash)->data | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_html_head (2675 to 2788 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2786 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_html_info (2794 to 3044 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2799 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2872 | Pointer not checked for null before use. : scope_ptr | GJB 5.1.15 |
M | 2798 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2799 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2800 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2811 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2811 | Expression needs brackets. | GJB 5.1.2 |
M | 2858 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2859 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2859 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2866 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2866 | Value is not of appropriate type. : (uns long long and double): ( bps | GJB 4.6.1.8 |
M | 2866 | Value is not of appropriate type. : (uns long long and double) | GJB 4.6.1.8 |
M | 2866 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2866 | Value is not of appropriate type. : (uns long long and double): ( bps | GJB 4.6.1.8 |
M | 2866 | Value is not of appropriate type. : (uns long long and double) | GJB 4.6.1.8 |
M | 2866 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2866 | Value is not of appropriate type. : (uns long long and double): ( bps | GJB 4.6.1.8 |
M | 2866 | Value is not of appropriate type. : (uns long long and double) | GJB 4.6.1.8 |
M | 2884 | Value is not of appropriate type. : (int and char): strlen ( STAT_SCOPE_PATTERN | GJB 4.6.1.8 |
M | 2885 | Value is not of appropriate type. : (int and char): scope_txt [ strlen ( STAT_SCOPE_PATTERN | GJB 4.6.1.8 |
M | 2885 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3041 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_html_end (3049 to 3052 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3049 | Empty parameter list to procedure/function. : stats_dump_html_end | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_json_header (3057 to 3060 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3057 | Empty parameter list to procedure/function. : stats_dump_json_header | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_json_end (3066 to 3069 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3066 | Empty parameter list to procedure/function. : stats_dump_json_end | GJB 4.1.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_proxies (3074 to 3109 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3095 | Pointer not checked for null before use. : px | GJB 5.1.15 |
M | 3083 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3089 | Pointer not checked for null before use. : rep | GJB 5.1.15 |
M | 3086 | goto detected. | GJB 4.5.1.2 |
M | 3090 | goto detected. | GJB 4.5.1.2 |
M | 3095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3095 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_stat_to_buffer (3118 to 3213 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3123 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3132 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3140 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3143 | goto detected. | GJB 4.5.1.2 |
M | 3152 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3156 | goto detected. | GJB 4.5.1.2 |
M | 3166 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3168 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 3169 | Array bound exceeded. : stats_module_list[*]; enum range=-777741--777741 | GJB 4.6.1.2 |
M | 3176 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 3177 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3167 | Switch has missing or extra cases. | GJB 5.1.6 |
M | 3187 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3194 | goto detected. | GJB 4.5.1.2 |
M | 3200 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3201 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3207 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3193 | Procedure contains UR data flow anomalies. : (trash)->area | GJB 4.13.1.4 |
M | 3193 | Procedure contains UR data flow anomalies. : (trash)->data | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_process_http_post (3220 to 3552 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3241 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3248 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3277 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3292 | Pointer not checked for null before use. : cur_param | GJB 5.1.15 |
M | 3293 | Pointer not checked for null before use. : next_param | GJB 5.1.15 |
M | 3272 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 3255 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 3228 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3235 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3236 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3237 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3249 | goto detected. | GJB 4.5.1.2 |
M | 3251 | goto detected. | GJB 4.5.1.2 |
M | 3259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3266 | goto detected. | GJB 4.5.1.2 |
M | 3274 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3293 | Expression needs brackets. | GJB 5.1.2 |
M | 3294 | Signed/unsigned conversion without cast. : (int and unsigned int): ( plen <= sizeof | GJB 4.6.1.9 |
M | 3296 | Value is not of appropriate type. : (unsigned int and int): key [ plen - 1 | GJB 4.6.1.8 |
M | 3299 | goto detected. | GJB 4.5.1.2 |
M | 3304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3304 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3309 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3316 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3316 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3319 | goto detected. | GJB 4.5.1.2 |
M | 3377 | goto detected. | GJB 4.5.1.2 |
M | 3392 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3392 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3439 | Expression needs brackets. | GJB 5.1.2 |
M | 3447 | Expression needs brackets. | GJB 5.1.2 |
M | 3477 | Expression needs brackets. | GJB 5.1.2 |
M | 3394 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3519 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3528 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_send_http_headers (3555 to 3605 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3558 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3586 | Pointer not checked for null before use. : refresh | GJB 5.1.15 |
M | 3571 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3566 | goto detected. | GJB 4.5.1.2 |
M | 3570 | goto detected. | GJB 4.5.1.2 |
M | 3573 | goto detected. | GJB 4.5.1.2 |
M | 3577 | goto detected. | GJB 4.5.1.2 |
M | 3581 | goto detected. | GJB 4.5.1.2 |
M | 3584 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3585 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3585 | Name reused in inner scope. : refresh | GJB 4.15.1.2,4.15.1.5 |
M | 3587 | goto detected. | GJB 4.5.1.2 |
M | 3592 | goto detected. | GJB 4.5.1.2 |
M | 3596 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_send_http_redirect (3608 to 3664 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3612 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3619 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3623 | Pointer not checked for null before use. : scope_ptr | GJB 5.1.15 |
M | 3610 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3620 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3623 | Value is not of appropriate type. : (int and char): strlen ( STAT_SCOPE_PATTERN | GJB 4.6.1.8 |
M | 3624 | Value is not of appropriate type. : (int and char): scope_txt [ strlen ( STAT_SCOPE_PATTERN | GJB 4.6.1.8 |
M | 3624 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3635 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3645 | goto detected. | GJB 4.5.1.2 |
M | 3648 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3649 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3649 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3651 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3652 | goto detected. | GJB 4.5.1.2 |
M | 3655 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
http_stats_io_handler (3672 to 3761 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3683 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 3745 | Pointer not checked for null before use. : req_htx | GJB 5.1.15 |
M | 3701 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 3716 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 3758 | Pointer not checked for null before use. : res_htx | GJB 5.1.15 |
M | 3685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3685 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3686 | goto detected. | GJB 4.5.1.2 |
M | 3691 | goto detected. | GJB 4.5.1.2 |
M | 3717 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3730 | goto detected. | GJB 4.5.1.2 |
M | 3672 | Static procedure is not explicitly called in code analysed. : http_stats_io_handler | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_info_fields (3764 to 3783 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3765 | Parameter has same name as global variable. : info | GJB 4.15.1.3 |
M | 3767 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 3773 | Value is not of appropriate type. : (unsigned int and int): ! chunk_appendf ( out , "%s: " , info_fields [ field | GJB 4.6.1.8 |
M | 3775 | Value is not of appropriate type. : (unsigned int and int): out , & info [ field | GJB 4.6.1.8 |
M | 3777 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3777 | Value is not of appropriate type. : (unsigned int and int): ":\"%s\"" , info_fields [ field | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_typed_info_fields (3786 to 3807 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3787 | Parameter has same name as global variable. : info | GJB 4.15.1.3 |
M | 3789 | Name reused in inner scope. : field | GJB 4.15.1.2,4.15.1.5 |
M | 3795 | Value is not of appropriate type. : (unsigned int and int): ! chunk_appendf ( out , "%d.%s.%u:" , field , info_fields [ field | GJB 4.6.1.8 |
M | 3797 | Value is not of appropriate type. : (unsigned int and int): out , & info [ field | GJB 4.6.1.8 |
M | 3799 | Value is not of appropriate type. : (unsigned int and int): out , & info [ field | GJB 4.6.1.8 |
M | 3801 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3801 | Value is not of appropriate type. : (unsigned int and int): ":\"%s\"" , info_fields [ field | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_fill_info (3814 to 3916 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3814 | Parameter has same name as global variable. : info | GJB 4.15.1.3 |
M | 3834 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3846 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3846 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3846 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3850 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3851 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3911 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_info_to_buffer (3922 to 3944 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3931 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 3932 | Actual and formal parameters inconsistent (MR). : (appctx and unsigned int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_clear_counters (4174 to 4285 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4174 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4174 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4186 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4187 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4213 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4247 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4247 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4245 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 | GJB 4.7.1.9 |
M | 4174 | Static procedure is not explicitly called in code analysed. : cli_parse_clear_counters | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_info (4288 to 4306 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4288 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4296 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 4297 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4299 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4301 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4302 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4288 | Static procedure is not explicitly called in code analysed. : cli_parse_show_info | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_stat (4309 to 4369 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4325 | Pointer not checked for null before use. : args | GJB 5.1.15 |
M | 4309 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4309 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4309 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 4322 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4325 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4327 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4335 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4336 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 4336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4336 | Value is not of appropriate type. : (unsigned int and int): * args [ arg + 1 | GJB 4.6.1.8 |
M | 4336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4336 | Value is not of appropriate type. : (unsigned int and int): * args [ arg + 2 | GJB 4.6.1.8 |
M | 4339 | Value is not of appropriate type. : (unsigned int and int): px = proxy_find_by_name ( args [ arg | GJB 4.6.1.8 |
M | 4343 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 4343 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.stats.iid = atoi ( args [ arg | GJB 4.6.1.8 |
M | 4349 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 4349 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.stats.type = atoi ( args [ arg + 1 | GJB 4.6.1.8 |
M | 4350 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 4350 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.stats.sid = atoi ( args [ arg + 2 | GJB 4.6.1.8 |
M | 4354 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 4355 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4357 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4359 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4361 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4363 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 4364 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 4309 | Static procedure is not explicitly called in code analysed. : cli_parse_show_stat | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_info (4371 to 4374 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4371 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_info | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_stat (4379 to 4382 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4381 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 4379 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_stat | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_json_schema (4384 to 4387 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4384 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_json_schema | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_allocate_proxy_counters_internal (4389 to 4416 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4414 | Name redeclared in another C name space (MR). : alloc_failed | GJB 4.1.1.16 |
M | 4397 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 | GJB 4.7.1.9 |
M | 4406 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_allocate_proxy_counters (4421 to 4459 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4424 | Procedure contains UR data flow anomalies. : li |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_register_module (4461 to 4467 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4461 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 4463 | Signed/unsigned conversion without cast. : (unsigned char and int): stats_get_domain | GJB 4.6.1.9 |
M | 4466 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4463 | Actual and formal parameters inconsistent (MR). : (stats_module and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
allocate_stats_px_postcheck (4469 to 4506 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4489 | Pointer not checked for null before use. : stat_f | GJB 5.1.15 |
M | 4472 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4476 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4478 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 4478 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4478 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4485 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4485 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4489 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4492 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4469 | Static procedure is not explicitly called in code analysed. : allocate_stats_px_postcheck | GJB 4.7.1.3 |
M | 4471 | Procedure contains UR data flow anomalies. : mod |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
allocate_stats_dns_postcheck (4510 to 4539 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4513 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4516 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 4516 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4516 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4524 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4527 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4510 | Static procedure is not explicitly called in code analysed. : allocate_stats_dns_postcheck | GJB 4.7.1.3 |
M | 4512 | Procedure contains UR data flow anomalies. : mod |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
allocate_stat_lines_per_thread (4543 to 4555 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4550 | Pointer not checked for null before use. : domain | GJB 5.1.15 |
M | 4545 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4545 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY | GJB 4.6.1.8 |
M | 4545 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY , STATS_DOMAIN_DNS | GJB 4.6.1.8 |
M | 4545 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4548 | Value is not of appropriate type. : (unsigned int and int): domains [ i | GJB 4.6.1.8 |
M | 4550 | Value is not of appropriate type. : (unsigned int and int): stat_l [ domain | GJB 4.6.1.8 |
M | 4550 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 4550 | Value is not of appropriate type. : (unsigned int and int): stat_l [ domain ] = malloc ( stat_count [ domain | GJB 4.6.1.8 |
M | 4550 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4550 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4551 | Value is not of appropriate type. : (unsigned int and int): ! stat_l [ domain | GJB 4.6.1.8 |
M | 4543 | Static procedure is not explicitly called in code analysed. : allocate_stat_lines_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
allocate_trash_counters (4559 to 4583 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4562 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4562 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY | GJB 4.6.1.8 |
M | 4562 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY , STATS_DOMAIN_DNS | GJB 4.6.1.8 |
M | 4562 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4567 | Value is not of appropriate type. : (unsigned int and int): list_for_each_entry ( mod , & stats_module_list [ domains [ i | GJB 4.6.1.8 |
M | 4568 | Signed/unsigned conversion without cast. : (int and unsigned int): max_counters_size = mod -> counters_size | GJB 4.6.1.9 |
M | 4568 | Signed/unsigned conversion without cast. : (int and unsigned int): max_counters_size = mod -> counters_size > max_counters_size | GJB 4.6.1.9 |
M | 4575 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 4559 | Static procedure is not explicitly called in code analysed. : allocate_trash_counters | GJB 4.7.1.3 |
M | 4561 | Procedure contains UR data flow anomalies. : mod |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_stat_lines_per_thread (4587 to 4597 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4589 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4589 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY | GJB 4.6.1.8 |
M | 4589 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY , STATS_DOMAIN_DNS | GJB 4.6.1.8 |
M | 4589 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4592 | Value is not of appropriate type. : (unsigned int and int): domains [ i | GJB 4.6.1.8 |
M | 4594 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4594 | Value is not of appropriate type. : (unsigned int and int): free ( stat_l [ domain | GJB 4.6.1.8 |
M | 4595 | Value is not of appropriate type. : (unsigned int and int): stat_l [ domain | GJB 4.6.1.8 |
M | 4587 | Static procedure is not explicitly called in code analysed. : deinit_stat_lines_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_stats (4602 to 4612 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4604 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4604 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY | GJB 4.6.1.8 |
M | 4604 | Value is not of appropriate type. : (int and unsigned int): { STATS_DOMAIN_PROXY , STATS_DOMAIN_DNS | GJB 4.6.1.8 |
M | 4604 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4607 | Value is not of appropriate type. : (unsigned int and int): domains [ i | GJB 4.6.1.8 |
M | 4609 | Value is not of appropriate type. : (unsigned int and int): stat_f [ domain | GJB 4.6.1.8 |
M | 4609 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4610 | Value is not of appropriate type. : (unsigned int and int): free ( stat_f [ domain | GJB 4.6.1.8 |
M | 4602 | Static procedure is not explicitly called in code analysed. : deinit_stats | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_trash_counters (4616 to 4620 stats.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4618 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4616 | Static procedure is not explicitly called in code analysed. : free_trash_counters | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_store_name (60 to 64 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 60 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_find_by_name (66 to 79 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 74 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 66 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stksess_free (85 to 89 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 85 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 88 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 88 | Use of sizeof on a type. | GJB 5.1.8 |
M | 88 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stksess_free (96 to 107 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 96 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stksess_kill (112 to 122 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 112 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stksess_kill (129 to 140 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 129 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stksess_setkey (146 to 154 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 146 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stksess_init (161 to 171 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 164 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 161 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 163 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_trash_oldest (179 to 239 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 213 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 209 | Pointer not checked for null before use. : eb | GJB 5.1.15 |
M | 179 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 205 | Expression needs brackets. | GJB 5.1.2 |
M | 225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_trash_oldest (246 to 255 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 246 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stksess_new (263 to 285 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 263 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 271 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 278 | Value is not of appropriate type. : (stksess* and void*): ts = ( void * | GJB 4.6.1.8 |
M | 278 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 278 | Use of sizeof on a type. | GJB 5.1.8 |
M | 278 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 284 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stksess_new (294 to 303 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 294 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 302 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_lookup_key (309 to 324 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 323 | Pointer not checked for null before use. : eb | GJB 5.1.15 |
M | 309 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 314 | Expression needs brackets. | GJB 5.1.2 |
M | 314 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_lookup_key (332 to 343 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 332 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 342 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_lookup (349 to 362 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 361 | Pointer not checked for null before use. : eb | GJB 5.1.15 |
M | 349 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 354 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_lookup (370 to 381 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 370 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 380 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_touch_with_exp (388 to 428 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 388 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 393 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 402 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 403 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 405 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 419 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 419 | Value is not of appropriate type. : (int and unsigned int): ts -> upd.key = ( ++ t -> update ) + ( 2147483648U | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_touch_remote (436 to 443 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 436 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 439 | Actual and formal parameters inconsistent (MR). : (stksess and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_touch_local (451 to 460 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 451 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_release (462 to 469 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 462 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_store (475 to 485 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 482 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_get_entry (491 to 507 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 506 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_get_entry (513 to 524 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 523 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__stktable_set_entry (529 to 539 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 536 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 538 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_set_entry (545 to 555 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 551 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 554 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_trash_expired (560 to 623 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 595 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 560 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 587 | goto detected. | GJB 4.5.1.2 |
M | 607 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_table_expire (629 to 635 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 629 | Static procedure is not explicitly called in code analysed. : process_table_expire | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_init (638 to 663 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 638 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 646 | Use of sizeof on a type. | GJB 5.1.8 |
M | 646 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 646 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 646 | Use of sizeof on a type. | GJB 5.1.8 |
M | 654 | Value is not of appropriate type. : (int and void*): t -> exp_task -> context = ( void * | GJB 4.6.1.8 |
M | 654 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 656 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 656 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_parse_type (681 to 708 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 695 | Pointer not checked for null before use. : myidx | GJB 5.1.15 |
M | 681 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 683 | Signed/unsigned conversion without cast. : (unsigned long and int): * type | GJB 4.6.1.9 |
M | 692 | Operation not appropriate to plain char. : & used with char: STK_F_CUSTOM_KEYSIZE | GJB 4.1.1.15 |
M | 695 | Signed/unsigned conversion without cast. : (unsigned int and long): key_size = atol | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_stick_table (721 to 930 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 891 | Pointer not checked for null before use. : keytype | GJB 5.1.15 |
M | 849 | Pointer not checked for null before use. : cw | GJB 5.1.15 |
M | 857 | Pointer not checked for null before use. : sa | GJB 5.1.15 |
M | 721 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 721 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 722 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 722 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 722 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 728 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 731 | goto detected. | GJB 4.5.1.2 |
M | 746 | Value is not of appropriate type. : (unsigned int and int): * args [ idx | GJB 4.6.1.8 |
M | 747 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 749 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ idx | GJB 4.6.1.8 |
M | 752 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: missing argument after '%s'.\n" , file , linenum , args [ 0 ] , args [ idx - 1 | GJB 4.6.1.8 |
M | 755 | goto detected. | GJB 4.5.1.2 |
M | 757 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 757 | Value is not of appropriate type. : (unsigned int and int): ( err = parse_size_err ( args [ idx | GJB 4.6.1.8 |
M | 758 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: unexpected character '%c' in argument of '%s'.\n" , file , linenum , args [ 0 ] , * err , args [ idx - 1 | GJB 4.6.1.8 |
M | 761 | goto detected. | GJB 4.5.1.2 |
M | 766 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 766 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 768 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ idx | GJB 4.6.1.8 |
M | 769 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: missing argument after '%s'.\n" , file , linenum , args [ 0 ] , args [ idx - 1 | GJB 4.6.1.8 |
M | 772 | goto detected. | GJB 4.5.1.2 |
M | 774 | Value is not of appropriate type. : (unsigned int and int): t -> peers.name = strdup ( args [ idx ++ | GJB 4.6.1.8 |
M | 776 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 778 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ idx | GJB 4.6.1.8 |
M | 779 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: missing argument after '%s'.\n" , file , linenum , args [ 0 ] , args [ idx - 1 | GJB 4.6.1.8 |
M | 782 | goto detected. | GJB 4.5.1.2 |
M | 784 | Value is not of appropriate type. : (unsigned int and int): err = parse_time_err ( args [ idx | GJB 4.6.1.8 |
M | 787 | Value is not of appropriate type. : (unsigned int and int): args [ idx | GJB 4.6.1.8 |
M | 787 | Value is not of appropriate type. : (unsigned int and int): args [ idx ] , args [ idx - 1 | GJB 4.6.1.8 |
M | 789 | goto detected. | GJB 4.5.1.2 |
M | 793 | Value is not of appropriate type. : (unsigned int and int): idx | GJB 4.6.1.8 |
M | 793 | Value is not of appropriate type. : (unsigned int and int): idx ] , args [ idx - 1 | GJB 4.6.1.8 |
M | 795 | goto detected. | GJB 4.5.1.2 |
M | 798 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: unexpected character '%c' in argument of '%s'.\n" , file , linenum , args [ 0 ] , * err , args [ idx - 1 | GJB 4.6.1.8 |
M | 801 | goto detected. | GJB 4.5.1.2 |
M | 802 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 803 | Signed/unsigned conversion without cast. : (int and unsigned int): t -> expire = val | GJB 4.6.1.9 |
M | 806 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 810 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 813 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: unknown type '%s'.\n" , file , linenum , args [ 0 ] , args [ idx | GJB 4.6.1.8 |
M | 816 | goto detected. | GJB 4.5.1.2 |
M | 820 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 821 | Name reused in inner scope. : type | GJB 4.15.1.2,4.15.1.5 |
M | 821 | Name reused in inner scope. : err | GJB 4.15.1.2,4.15.1.5 |
M | 822 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 825 | Value is not of appropriate type. : (unsigned int and int): nw = args [ idx | GJB 4.6.1.8 |
M | 830 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 833 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 839 | goto detected. | GJB 4.5.1.2 |
M | 848 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 854 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 859 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 860 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 866 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 870 | goto detected. | GJB 4.5.1.2 |
M | 870 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 872 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 876 | goto detected. | GJB 4.5.1.2 |
M | 876 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 882 | goto detected. | GJB 4.5.1.2 |
M | 883 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 887 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ idx | GJB 4.6.1.8 |
M | 888 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 890 | Value is not of appropriate type. : (unsigned int and int): keytype = args [ idx | GJB 4.6.1.8 |
M | 901 | goto detected. | GJB 4.5.1.2 |
M | 907 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : %s: unknown argument '%s'.\n" , file , linenum , args [ 0 ] , args [ idx | GJB 4.6.1.8 |
M | 910 | goto detected. | GJB 4.5.1.2 |
M | 918 | goto detected. | GJB 4.5.1.2 |
M | 921 | Value is not of appropriate type. : (bool and unsigned char): t -> type == ( unsigned int ) | GJB 4.6.1.8 |
M | 925 | goto detected. | GJB 4.5.1.2 |
M | 812 | Actual and formal parameters inconsistent (MR). : (stktable and unsigned int): param 4 | GJB 4.7.1.9 |
M | 829 | Procedure contains UR data flow anomalies. : sa | GJB 4.13.1.4 |
M | 726 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_to_stkey (939 to 998 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 939 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 948 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 953 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 958 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 967 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 974 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 995 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_fetch_key (1017 to 1031 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1023 | Pointer not checked for null before use. : smp | GJB 5.1.15 |
M | 1017 | Name found with length less than 2. : t | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_compatible_sample (1037 to 1051 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1041 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1041 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1047 | Value is not of appropriate type. : (unsigned int and int): ! sample_casts [ out_type | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_register_data_store (1086 to 1108 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1086 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1090 | Value is not of appropriate type. : (unsigned int and int): ! stktable_data_types [ idx | GJB 4.6.1.8 |
M | 1093 | Value is not of appropriate type. : (unsigned int and int): strcmp ( stktable_data_types [ idx | GJB 4.6.1.8 |
M | 1101 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ idx | GJB 4.6.1.8 |
M | 1104 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ idx | GJB 4.6.1.8 |
M | 1105 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ idx | GJB 4.6.1.8 |
M | 1106 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ idx | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stktable_get_data_type (1114 to 1128 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1114 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1119 | Value is not of appropriate type. : (unsigned int and int): ! stktable_data_types [ type | GJB 4.6.1.8 |
M | 1121 | Value is not of appropriate type. : (unsigned int and int): strcmp ( name , stktable_data_types [ type | GJB 4.6.1.8 |
M | 1126 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_in_table (1137 to 1156 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1152 | Pointer not checked for null before use. : ts | GJB 5.1.15 |
M | 1137 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1137 | Static procedure is not explicitly called in code analysed. : sample_conv_in_table | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_bytes_in_rate (1164 to 1193 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1173 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1164 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1164 | Static procedure is not explicitly called in code analysed. : sample_conv_table_bytes_in_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_conn_cnt (1201 to 1229 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1201 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1201 | Static procedure is not explicitly called in code analysed. : sample_conv_table_conn_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_conn_cur (1237 to 1265 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1237 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1237 | Static procedure is not explicitly called in code analysed. : sample_conv_table_conn_cur | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_conn_rate (1273 to 1302 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1282 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1273 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1273 | Static procedure is not explicitly called in code analysed. : sample_conv_table_conn_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_bytes_out_rate (1310 to 1339 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1319 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1310 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1310 | Static procedure is not explicitly called in code analysed. : sample_conv_table_bytes_out_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_gpt0 (1347 to 1375 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1347 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1347 | Static procedure is not explicitly called in code analysed. : sample_conv_table_gpt0 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_gpc0 (1383 to 1411 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1383 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1383 | Static procedure is not explicitly called in code analysed. : sample_conv_table_gpc0 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_gpc0_rate (1419 to 1448 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1428 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1419 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1419 | Static procedure is not explicitly called in code analysed. : sample_conv_table_gpc0_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_gpc1 (1456 to 1484 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1456 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1456 | Static procedure is not explicitly called in code analysed. : sample_conv_table_gpc1 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_gpc1_rate (1492 to 1521 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1501 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1492 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1492 | Static procedure is not explicitly called in code analysed. : sample_conv_table_gpc1_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_http_err_cnt (1529 to 1557 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1529 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1529 | Static procedure is not explicitly called in code analysed. : sample_conv_table_http_err_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_http_err_rate (1565 to 1594 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1574 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1565 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1565 | Static procedure is not explicitly called in code analysed. : sample_conv_table_http_err_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_http_req_cnt (1602 to 1630 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1602 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1602 | Static procedure is not explicitly called in code analysed. : sample_conv_table_http_req_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_http_req_rate (1638 to 1667 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1647 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1638 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1638 | Static procedure is not explicitly called in code analysed. : sample_conv_table_http_req_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_kbytes_in (1675 to 1703 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1675 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1699 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1675 | Static procedure is not explicitly called in code analysed. : sample_conv_table_kbytes_in | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_kbytes_out (1711 to 1739 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1711 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1735 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1711 | Static procedure is not explicitly called in code analysed. : sample_conv_table_kbytes_out | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_server_id (1747 to 1775 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1747 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1747 | Static procedure is not explicitly called in code analysed. : sample_conv_table_server_id | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_sess_cnt (1783 to 1811 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1783 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1783 | Static procedure is not explicitly called in code analysed. : sample_conv_table_sess_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_sess_rate (1819 to 1848 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1828 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 1819 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1819 | Static procedure is not explicitly called in code analysed. : sample_conv_table_sess_rate | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_conv_table_trackers (1856 to 1881 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1856 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 1856 | Static procedure is not explicitly called in code analysed. : sample_conv_table_trackers | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_inc_gpc0 (1884 to 1920 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1885 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1884 | Static procedure is not explicitly called in code analysed. : action_inc_gpc0 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_inc_gpc0 (1931 to 1963 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1948 | Pointer not checked for null before use. : cmd_name | GJB 5.1.15 |
M | 1931 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1931 | Parameter has same name as type or tag. : arg | GJB 4.15.1.4 |
M | 1932 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1934 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1934 | Value is not of appropriate type. : (unsigned int and int): args [ * arg - 1 | GJB 4.6.1.8 |
M | 1935 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1944 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1950 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1931 | Static procedure is not explicitly called in code analysed. : parse_inc_gpc0 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_inc_gpc1 (1966 to 2002 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1967 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1966 | Static procedure is not explicitly called in code analysed. : action_inc_gpc1 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_inc_gpc1 (2013 to 2045 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2030 | Pointer not checked for null before use. : cmd_name | GJB 5.1.15 |
M | 2013 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2013 | Parameter has same name as type or tag. : arg | GJB 4.15.1.4 |
M | 2014 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2016 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2016 | Value is not of appropriate type. : (unsigned int and int): args [ * arg - 1 | GJB 4.6.1.8 |
M | 2017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2026 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2032 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2013 | Static procedure is not explicitly called in code analysed. : parse_inc_gpc1 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_set_gpt0 (2048 to 2108 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2049 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2085 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2100 | Signed/unsigned conversion without cast. : (int and unsigned int): stktable_data_cast ( ptr , gpt0 ) = value | GJB 4.6.1.9 |
M | 2048 | Static procedure is not explicitly called in code analysed. : action_set_gpt0 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_set_gpt0 (2119 to 2183 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2139 | Pointer not checked for null before use. : cmd_name | GJB 5.1.15 |
M | 2119 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2119 | Parameter has same name as type or tag. : arg | GJB 4.15.1.4 |
M | 2120 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2124 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2124 | Value is not of appropriate type. : (unsigned int and int): args [ * arg - 1 | GJB 4.6.1.8 |
M | 2125 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2135 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2141 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2146 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2155 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2169 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2171 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2173 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2119 | Static procedure is not explicitly called in code analysed. : parse_set_gpt0 | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_table_cnt (2188 to 2195 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2189 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2189 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2188 | Static procedure is not explicitly called in code analysed. : smp_fetch_table_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_table_avl (2200 to 2210 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2208 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 2201 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2201 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2200 | Static procedure is not explicitly called in code analysed. : smp_fetch_table_avl | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_stkctr (2226 to 2291 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2231 | Type conversion without cast. : (unsigned int and char): kw | GJB 4.6.1.9 |
M | 2232 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 2234 | Type conversion without cast. : (unsigned int and char): num == '_' | GJB 4.6.1.9 |
M | 2234 | Expression needs brackets. | GJB 5.1.2 |
M | 2236 | Value is not of appropriate type. : (unsigned int and int): num = args [ arg ++ | GJB 4.6.1.8 |
M | 2238 | Signed/unsigned conversion without cast. : (unsigned int and int): num | GJB 4.6.1.9 |
M | 2250 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2261 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2274 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2284 | Value is not of appropriate type. : (unsigned int and int): unlikely ( args [ arg | GJB 4.6.1.8 |
M | 2286 | Value is not of appropriate type. : (unsigned int and int): stkctr -> table = args [ arg | GJB 4.6.1.8 |
M | 2290 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2287 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 2229 | Procedure contains UR data flow anomalies. : stkptr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_create_src_stkctr (2298 to 2326 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_tracked (2332 to 2348 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2341 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2333 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2333 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2332 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_tracked | GJB 4.7.1.3 |
M | 2335 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_get_gpt0 (2355 to 2389 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2372 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2356 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2356 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2355 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_get_gpt0 | GJB 4.7.1.3 |
M | 2358 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_get_gpc0 (2396 to 2430 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2413 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2397 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2397 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2396 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_get_gpc0 | GJB 4.7.1.3 |
M | 2399 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_get_gpc1 (2437 to 2471 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2454 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2438 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2438 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2437 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_get_gpc1 | GJB 4.7.1.3 |
M | 2440 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_gpc0_rate (2478 to 2512 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2494 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2479 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2479 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2478 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_gpc0_rate | GJB 4.7.1.3 |
M | 2481 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_gpc1_rate (2519 to 2553 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2535 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2520 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2520 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2519 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_gpc1_rate | GJB 4.7.1.3 |
M | 2522 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_inc_gpc0 (2559 to 2606 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2560 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2560 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2576 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2595 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2603 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2559 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_inc_gpc0 | GJB 4.7.1.3 |
M | 2562 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_inc_gpc1 (2612 to 2659 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2613 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2613 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2629 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2648 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2656 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2612 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_inc_gpc1 | GJB 4.7.1.3 |
M | 2615 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_clr_gpc0 (2665 to 2703 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2666 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2666 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2682 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2665 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_clr_gpc0 | GJB 4.7.1.3 |
M | 2668 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_clr_gpc1 (2709 to 2747 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2710 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2710 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2726 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2709 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_clr_gpc1 | GJB 4.7.1.3 |
M | 2712 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_conn_cnt (2753 to 2788 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2769 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2754 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2754 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2753 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_conn_cnt | GJB 4.7.1.3 |
M | 2756 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_conn_rate (2794 to 2828 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2810 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2795 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2795 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2794 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_conn_rate | GJB 4.7.1.3 |
M | 2797 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_src_updt_conn_cnt (2834 to 2880 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2835 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2835 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2847 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2857 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2857 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2870 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2834 | Static procedure is not explicitly called in code analysed. : smp_fetch_src_updt_conn_cnt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_conn_cur (2886 to 2919 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2902 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2887 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2887 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2886 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_conn_cur | GJB 4.7.1.3 |
M | 2889 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_sess_cnt (2925 to 2958 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2941 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2926 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2926 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2925 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_sess_cnt | GJB 4.7.1.3 |
M | 2928 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_sess_rate (2963 to 2997 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2979 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 2964 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2964 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 2963 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_sess_rate | GJB 4.7.1.3 |
M | 2966 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_http_req_cnt (3003 to 3036 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3019 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3004 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3004 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3003 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_http_req_cnt | GJB 4.7.1.3 |
M | 3006 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_http_req_rate (3042 to 3076 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3058 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3043 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3043 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3042 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_http_req_rate | GJB 4.7.1.3 |
M | 3045 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_http_err_cnt (3082 to 3115 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3098 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3083 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3083 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3082 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_http_err_cnt | GJB 4.7.1.3 |
M | 3085 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_http_err_rate (3121 to 3155 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3137 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3122 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3122 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3121 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_http_err_rate | GJB 4.7.1.3 |
M | 3124 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_kbytes_in (3161 to 3194 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3177 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3162 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3162 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3186 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3161 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_kbytes_in | GJB 4.7.1.3 |
M | 3164 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_bytes_in_rate (3200 to 3234 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3216 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3201 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3201 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3200 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_bytes_in_rate | GJB 4.7.1.3 |
M | 3203 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_kbytes_out (3240 to 3273 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3256 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3241 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3241 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3265 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3240 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_kbytes_out | GJB 4.7.1.3 |
M | 3243 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_bytes_out_rate (3279 to 3313 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3295 | Pointer not checked for null before use. : stkctr | GJB 5.1.15 |
M | 3280 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3280 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3279 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_bytes_out_rate | GJB 4.7.1.3 |
M | 3282 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sc_trackers (3318 to 3339 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3319 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3318 | Static procedure is not explicitly called in code analysed. : smp_fetch_sc_trackers | GJB 4.7.1.3 |
M | 3321 | Procedure contains UR data flow anomalies. : (tmpstkctr)->table | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
table_dump_head_to_buffer (3359 to 3379 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3361 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3366 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( msg , "# table: %s, type: %s, size:%d, used:%d\n" , t -> id , stktable_types [ t -> type | GJB 4.6.1.8 |
M | 3370 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
table_dump_entry_to_buffer (3385 to 3459 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3446 | Pointer not checked for null before use. : de | GJB 5.1.15 |
M | 3430 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3433 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3436 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3440 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3445 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3387 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3393 | Signed/unsigned conversion without cast. : (int and unsigned int): t -> type == SMP_T_IPV4 | GJB 4.6.1.9 |
M | 3394 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3398 | Signed/unsigned conversion without cast. : (int and unsigned int): t -> type == SMP_T_IPV6 | GJB 4.6.1.9 |
M | 3399 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3403 | Signed/unsigned conversion without cast. : (int and unsigned int): t -> type == SMP_T_SINT | GJB 4.6.1.9 |
M | 3406 | Signed/unsigned conversion without cast. : (int and unsigned int): t -> type == SMP_T_STR | GJB 4.6.1.9 |
M | 3408 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3412 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3420 | Value is not of appropriate type. : (unsigned int and int): t -> data_ofs [ dt | GJB 4.6.1.8 |
M | 3422 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ dt | GJB 4.6.1.8 |
M | 3423 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( msg , " %s(%d)=" , stktable_data_types [ dt | GJB 4.6.1.8 |
M | 3423 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( msg , " %s(%d)=" , stktable_data_types [ dt ].name , t -> data_arg [ dt | GJB 4.6.1.8 |
M | 3425 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( msg , " %s=" , stktable_data_types [ dt | GJB 4.6.1.8 |
M | 3428 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ dt | GJB 4.6.1.8 |
M | 3440 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr , std_t_frqp ) , t -> data_arg [ dt | GJB 4.6.1.8 |
M | 3446 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3428 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3394 | Procedure contains UR data flow anomalies. : addr | GJB 4.13.1.4 |
M | 3399 | Procedure contains UR data flow anomalies. : addr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
table_process_entry_per_key (3465 to 3631 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3617 | Pointer not checked for null before use. : frqp | GJB 5.1.15 |
M | 3598 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3601 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3604 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3612 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3465 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3482 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 3486 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 3490 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 3492 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3494 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3496 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3497 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 3497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3497 | Signed/unsigned conversion without cast. : (unsigned long and int): val | GJB 4.6.1.9 |
M | 3497 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3498 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3498 | Signed/unsigned conversion without cast. : (unsigned long and int): val | GJB 4.6.1.9 |
M | 3505 | Signed/unsigned conversion without cast. : (int and unsigned int): case | GJB 4.6.1.9 |
M | 3512 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3514 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3516 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3519 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3520 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3564 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 3565 | Value is not of appropriate type. : (unsigned int and int): strncmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3572 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 3572 | Value is not of appropriate type. : (char and signed char): args [ cur_arg ] | GJB 4.6.1.8 |
M | 3580 | Value is not of appropriate type. : (unsigned int and int): ! t -> data_ofs [ data_type | GJB 4.6.1.8 |
M | 3587 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3587 | Value is not of appropriate type. : (unsigned int and int): strl2llrc ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3587 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3596 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ data_type | GJB 4.6.1.8 |
M | 3598 | Type conversion without cast. : (int and long long): stktable_data_cast ( ptr , std_t_sint ) = value | GJB 4.6.1.9 |
M | 3601 | Type conversion without cast. : (int and long long): stktable_data_cast ( ptr , std_t_uint ) = value | GJB 4.6.1.9 |
M | 3604 | Type conversion without cast. : (int and long long): stktable_data_cast ( ptr , std_t_ull ) = value | GJB 4.6.1.9 |
M | 3619 | Type conversion without cast. : (int and long long): frqp -> curr_ctr = value | GJB 4.6.1.9 |
M | 3596 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3629 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3471 | Procedure contains UR data flow anomalies. : ip6_key | GJB 4.13.1.4 |
M | 3472 | Procedure contains UR data flow anomalies. : value |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
table_prepare_data_request (3636 to 3669 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3636 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3638 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3639 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3641 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 3641 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3641 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3641 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 3645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3645 | Expression needs brackets. | GJB 5.1.2 |
M | 3645 | Value is not of appropriate type. : (unsigned int and int): ! * args [ 3 + 3 * i | GJB 4.6.1.8 |
M | 3648 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_type [ i | GJB 4.6.1.8 |
M | 3648 | Expression needs brackets. | GJB 5.1.2 |
M | 3648 | Value is not of appropriate type. : (unsigned int and int): args [ 3 + 3 * i | GJB 4.6.1.8 |
M | 3648 | Value is not of appropriate type. : (char and signed char): args [ 3 + 3 * i ] | GJB 4.6.1.8 |
M | 3649 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_type [ i | GJB 4.6.1.8 |
M | 3652 | Value is not of appropriate type. : (unsigned int and int): ( struct stktable * ) appctx -> ctx.table.target ) -> data_ofs [ appctx -> ctx.table.data_type [ i | GJB 4.6.1.8 |
M | 3655 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_op [ i | GJB 4.6.1.8 |
M | 3655 | Expression needs brackets. | GJB 5.1.2 |
M | 3655 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_op [ i ] = get_std_op ( args [ 4 + 3 * i | GJB 4.6.1.8 |
M | 3656 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_op [ i | GJB 4.6.1.8 |
M | 3659 | Expression needs brackets. | GJB 5.1.2 |
M | 3659 | Value is not of appropriate type. : (unsigned int and int): ! * args [ 5 + 3 * i | GJB 4.6.1.8 |
M | 3659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3659 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3659 | Expression needs brackets. | GJB 5.1.2 |
M | 3659 | Value is not of appropriate type. : (unsigned int and int): strl2llrc ( args [ 5 + 3 * i | GJB 4.6.1.8 |
M | 3659 | Expression needs brackets. | GJB 5.1.2 |
M | 3659 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ 5 + 3 * i | GJB 4.6.1.8 |
M | 3659 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ 5 + 3 * i ] ) , & appctx -> ctx.table.value [ i | GJB 4.6.1.8 |
M | 3663 | Expression needs brackets. | GJB 5.1.2 |
M | 3663 | Value is not of appropriate type. : (unsigned int and int): * args [ 3 + 3 * i | GJB 4.6.1.8 |
M | 3664 | Expression needs brackets. | GJB 5.1.2 |
M | 3664 | Value is not of appropriate type. : (unsigned int and int): memprintf ( & err , "Detected extra data in filter, %ith word of input, after '%s'\n" , 3 + 3 * i + 1 , args [ 2 + 3 * i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_table_req (3672 to 3713 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3672 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3672 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3672 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3674 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3677 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3677 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_type [ i | GJB 4.6.1.8 |
M | 3680 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3680 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 3688 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 3689 | goto detected. | GJB 4.5.1.2 |
M | 3698 | goto detected. | GJB 4.5.1.2 |
M | 3698 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3705 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3707 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3709 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3712 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3672 | Static procedure is not explicitly called in code analysed. : cli_parse_table_req | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_table (3719 to 3886 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3814 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3817 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3820 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3823 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 3725 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 3731 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 3734 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 3761 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3762 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3769 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3773 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3798 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3804 | Value is not of appropriate type. : (unsigned int and int): appctx -> ctx.table.data_type [ i | GJB 4.6.1.8 |
M | 3806 | Value is not of appropriate type. : (unsigned int and int): dt = appctx -> ctx.table.data_type [ i | GJB 4.6.1.8 |
M | 3812 | Value is not of appropriate type. : (unsigned int and int): stktable_data_types [ dt | GJB 4.6.1.8 |
M | 3823 | Value is not of appropriate type. : (unsigned int and int): stktable_data_cast ( ptr , std_t_frqp ) , appctx -> ctx.table.t -> data_arg [ dt | GJB 4.6.1.8 |
M | 3812 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3828 | Value is not of appropriate type. : (unsigned int and int): op = appctx -> ctx.table.data_op [ i | GJB 4.6.1.8 |
M | 3829 | Value is not of appropriate type. : (unsigned int and int): value = appctx -> ctx.table.value [ i | GJB 4.6.1.8 |
M | 3832 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3833 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3834 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3835 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3835 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3835 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3836 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3837 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3844 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3845 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3861 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3862 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3871 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3872 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3750 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3719 | Static procedure is not explicitly called in code analysed. : cli_io_handler_table | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_show_table (3888 to 3893 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3888 | Static procedure is not explicitly called in code analysed. : cli_release_show_table | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stkt_late_init (3895 to 3902 stick_table.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3895 | Static procedure is not explicitly called in code analysed. : stkt_late_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strm_trace (144 to 267 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 191 | Pointer not checked for null before use. : blk | GJB 5.1.15 |
M | 242 | Pointer not checked for null before use. : rqhtx | GJB 5.1.15 |
M | 243 | Pointer not checked for null before use. : rphtx | GJB 5.1.15 |
M | 221 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 219 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 196 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 189 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 189 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 194 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 194 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 233 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 234 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 234 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 144 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_create_from_cs (276 to 286 stream.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_buf_available (295 to 311 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 299 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 300 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 303 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_new (325 to 557 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 333 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 333 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 334 | goto detected. | GJB 4.5.1.2 |
M | 350 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 394 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 399 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 399 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 400 | goto detected. | GJB 4.5.1.2 |
M | 426 | goto detected. | GJB 4.5.1.2 |
M | 430 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 444 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 453 | goto detected. | GJB 4.5.1.2 |
M | 514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 515 | goto detected. | GJB 4.5.1.2 |
M | 522 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 522 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 523 | goto detected. | GJB 4.5.1.2 |
M | 543 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_free (562 to 725 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 565 | Pointer not checked for null before use. : sess | GJB 5.1.15 |
M | 595 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 562 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 569 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 627 | Value is not of appropriate type. : (unsigned int and int): ! s -> store [ i | GJB 4.6.1.8 |
M | 629 | Value is not of appropriate type. : (unsigned int and int): stksess_free ( s -> store [ i | GJB 4.6.1.8 |
M | 629 | Value is not of appropriate type. : (unsigned int and int): stksess_free ( s -> store [ i ].table , s -> store [ i | GJB 4.6.1.8 |
M | 630 | Value is not of appropriate type. : (unsigned int and int): s -> store [ i | GJB 4.6.1.8 |
M | 639 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 642 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 658 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 658 | Value is not of appropriate type. : (unsigned int and int): pool_free ( h -> pool , s -> req_cap [ h -> index | GJB 4.6.1.8 |
M | 664 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 664 | Value is not of appropriate type. : (unsigned int and int): pool_free ( h -> pool , s -> res_cap [ h -> index | GJB 4.6.1.8 |
M | 694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 694 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 713 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 651 | Attempt to read from freed memory. : s | GJB 5.1.16 |
M | 566 | Procedure contains UR data flow anomalies. : bref |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_alloc_work_buffer (736 to 746 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 736 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_release_buffers (754 to 772 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 754 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 758 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 762 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 762 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_process_counters (774 to 815 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 774 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 778 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 789 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 793 | Value is not of appropriate type. : (unsigned int and int): ! stkctr_inc_bytes_in_ctr ( & s -> stkctr [ i | GJB 4.6.1.8 |
M | 794 | Value is not of appropriate type. : (unsigned int and int): stkctr_inc_bytes_in_ctr ( & sess -> stkctr [ i | GJB 4.6.1.8 |
M | 807 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 811 | Value is not of appropriate type. : (unsigned int and int): ! stkctr_inc_bytes_out_ctr ( & s -> stkctr [ i | GJB 4.6.1.8 |
M | 812 | Value is not of appropriate type. : (unsigned int and int): stkctr_inc_bytes_out_ctr ( & sess -> stkctr [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_set_timeout (817 to 832 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 817 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 820 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 823 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 825 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 827 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 831 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 819 | Switch has missing or extra cases. | GJB 5.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_establish (846 to 929 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 850 | Pointer not checked for null before use. : srv_cs | GJB 5.1.15 |
M | 846 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 863 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 863 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 869 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 882 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 896 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 896 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sess_set_term_flags (935 to 955 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 935 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 941 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 941 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 950 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 950 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_use_service (964 to 1010 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 979 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 1008 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 965 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 973 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 993 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 996 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_switching_rules (1018 to 1135 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1018 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1055 | goto detected. | GJB 4.5.1.2 |
M | 1070 | goto detected. | GJB 4.5.1.2 |
M | 1082 | goto detected. | GJB 4.5.1.2 |
M | 1020 | Procedure contains UR data flow anomalies. : prst_rule | GJB 4.13.1.4 |
M | 1031 | Procedure contains UR data flow anomalies. : rule |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_server_rules (1141 to 1192 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1164 | Pointer not checked for null before use. : tmp | GJB 5.1.15 |
M | 1174 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1141 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1145 | Procedure contains UR data flow anomalies. : rule |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sticking_rule_find_target (1194 to 1245 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1206 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1232 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1240 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 1194 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1195 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1210 | Name reused in inner scope. : node | GJB 4.15.1.2,4.15.1.5 |
M | 1216 | goto detected. | GJB 4.5.1.2 |
M | 1224 | goto detected. | GJB 4.5.1.2 |
M | 1226 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1239 | Identifier reuse: label vs variable (MR). : found |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_sticking_rules (1251 to 1321 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1251 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1261 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1272 | Value is not of appropriate type. : (unsigned int and int): rule -> table.t == s -> store [ i | GJB 4.6.1.8 |
M | 1297 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1297 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1304 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1305 | Name reused in inner scope. : ts | GJB 4.15.1.2,4.15.1.5 |
M | 1309 | Value is not of appropriate type. : (unsigned int and int): s -> store [ s -> store_count | GJB 4.6.1.8 |
M | 1310 | Value is not of appropriate type. : (unsigned int and int): s -> store [ s -> store_count ++ | GJB 4.6.1.8 |
M | 1255 | Procedure contains UR data flow anomalies. : rule |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_store_rules (1327 to 1437 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1410 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1424 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1421 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 1327 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1332 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1353 | Value is not of appropriate type. : (unsigned int and int): rule -> table.t == s -> store [ i | GJB 4.6.1.8 |
M | 1375 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1380 | Value is not of appropriate type. : (unsigned int and int): s -> store [ s -> store_count | GJB 4.6.1.8 |
M | 1381 | Value is not of appropriate type. : (unsigned int and int): s -> store [ s -> store_count ++ | GJB 4.6.1.8 |
M | 1391 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1393 | Value is not of appropriate type. : (unsigned int and int): s -> store [ i | GJB 4.6.1.8 |
M | 1395 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1395 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1396 | Value is not of appropriate type. : (unsigned int and int): stksess_free ( s -> store [ i | GJB 4.6.1.8 |
M | 1396 | Value is not of appropriate type. : (unsigned int and int): stksess_free ( s -> store [ i ].table , s -> store [ i | GJB 4.6.1.8 |
M | 1397 | Value is not of appropriate type. : (unsigned int and int): s -> store [ i | GJB 4.6.1.8 |
M | 1401 | Value is not of appropriate type. : (unsigned int and int): ts = stktable_set_entry ( t , s -> store [ i | GJB 4.6.1.8 |
M | 1402 | Value is not of appropriate type. : (unsigned int and int): ts != s -> store [ i | GJB 4.6.1.8 |
M | 1404 | Value is not of appropriate type. : (unsigned int and int): stksess_free ( t , s -> store [ i | GJB 4.6.1.8 |
M | 1406 | Value is not of appropriate type. : (unsigned int and int): s -> store [ i | GJB 4.6.1.8 |
M | 1331 | Procedure contains UR data flow anomalies. : rule |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_stream (1494 to 2439 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1711 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 2030 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2200 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1532 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 1531 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 1494 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 1522 | Signed/unsigned conversion without cast. : (unsigned int and int): rate | GJB 4.6.1.9 |
M | 1522 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1543 | Signed/unsigned conversion without cast. : (int and unsigned short): s -> pending_events |= ( state & TASK_WOKEN_ANY | GJB 4.6.1.9 |
M | 1595 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1599 | goto detected. | GJB 4.5.1.2 |
M | 1613 | goto detected. | GJB 4.5.1.2 |
M | 1632 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1655 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1675 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1682 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1726 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1727 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1727 | Signed/unsigned conversion without cast. : (int and unsigned int): si_f -> state != rq_prod_last | GJB 4.6.1.9 |
M | 1728 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1728 | Signed/unsigned conversion without cast. : (int and unsigned int): si_b -> state != rq_cons_last | GJB 4.6.1.9 |
M | 1729 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1730 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 1781 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1782 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1782 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1782 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1784 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1785 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1786 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1787 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1788 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1789 | Number of parameters does not match. : process_switching_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1789 | Number of parameters does not match. : process_switching_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1789 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1790 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1791 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1792 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1793 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1794 | Number of parameters does not match. : process_server_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1794 | Number of parameters does not match. : process_server_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1794 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1795 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1796 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1797 | Number of parameters does not match. : process_sticking_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1797 | Number of parameters does not match. : process_sticking_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1797 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1798 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1799 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1800 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1801 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1802 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1813 | goto detected. | GJB 4.5.1.2 |
M | 1826 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1827 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1828 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1828 | Signed/unsigned conversion without cast. : (int and unsigned int): si_f -> state != rp_cons_last | GJB 4.6.1.9 |
M | 1829 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1829 | Signed/unsigned conversion without cast. : (int and unsigned int): si_b -> state != rp_prod_last | GJB 4.6.1.9 |
M | 1830 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1831 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 1858 | Assignment operation in expression. | GJB 4.6.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1859 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1859 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1859 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1861 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1862 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1863 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1864 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1865 | Number of parameters does not match. : process_store_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1865 | Number of parameters does not match. : process_store_rules; 4 actual, 3 formal | GJB 4.7.1.1 |
M | 1865 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1866 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1867 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1868 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1869 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1870 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1871 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1882 | goto detected. | GJB 4.5.1.2 |
M | 1887 | goto detected. | GJB 4.5.1.2 |
M | 1890 | goto detected. | GJB 4.5.1.2 |
M | 1910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1919 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1928 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1937 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1964 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1973 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1982 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1991 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1998 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2012 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2012 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2013 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2046 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2048 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2049 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2049 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2049 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2050 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2051 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2069 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2113 | goto detected. | GJB 4.5.1.2 |
M | 2123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2154 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2155 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2168 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2170 | goto detected. | GJB 4.5.1.2 |
M | 2173 | Signed/unsigned conversion without cast. : (unsigned int and int): ( req -> flags ^ rqf_last ) & ( | GJB 4.6.1.9 |
M | 2174 | goto detected. | GJB 4.5.1.2 |
M | 2183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2184 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2218 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2221 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2223 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2225 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2239 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2241 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2243 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2244 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2273 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2274 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2280 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2291 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2291 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2292 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2294 | goto detected. | GJB 4.5.1.2 |
M | 2297 | goto detected. | GJB 4.5.1.2 |
M | 2300 | goto detected. | GJB 4.5.1.2 |
M | 2303 | goto detected. | GJB 4.5.1.2 |
M | 2317 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2318 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2326 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2327 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2336 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2350 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2351 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2351 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2368 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2368 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2407 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 2410 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2410 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2414 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_ADD ( & sess -> fe -> fe_counters.p.http.rsp [ n | GJB 4.6.1.8 |
M | 2418 | Value is not of appropriate type. : (unsigned int and int): _HA_ATOMIC_ADD ( & s -> be -> be_counters.p.http.rsp [ n | GJB 4.6.1.8 |
M | 2424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2425 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1789 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1789 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1794 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1794 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1797 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1797 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1865 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 | GJB 4.7.1.9 |
M | 1865 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_update_time_stats (2442 to 2494 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2442 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2461 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2461 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sess_change_server (2503 to 2531 stream.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
default_srv_error (2538 to 2580 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2538 | Name found with length less than 2. : s | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_shutdown (2583 to 2594 stream.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_dump (2600 to 2663 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2629 | Pointer not checked for null before use. : csf | GJB 5.1.15 |
M | 2637 | Pointer not checked for null before use. : csb | GJB 5.1.15 |
M | 2660 | Pointer not checked for null before use. : cob | GJB 5.1.15 |
M | 2657 | Pointer not checked for null before use. : acb | GJB 5.1.15 |
M | 2656 | Pointer not checked for null before use. : acf | GJB 5.1.15 |
M | 2652 | Pointer not checked for null before use. : src | GJB 5.1.15 |
M | 2652 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 2600 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2600 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2600 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2608 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2631 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2634 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2643 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2608 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_dump_and_crash (2668 to 2709 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2704 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 2671 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2674 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_generate_unique_id (2719 to 2735 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2725 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2725 | Name reused in inner scope. : unique_id | GJB 4.15.1.2,4.15.1.5 |
M | 2727 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2727 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_parse_use_service (2742 to 2772 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2764 | Pointer not checked for null before use. : cur_arg | GJB 5.1.15 |
M | 2742 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2744 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2749 | Expression needs brackets. | GJB 5.1.2 |
M | 2749 | Value is not of appropriate type. : (char and signed char): * ( args [ * cur_arg ] ) == 0 | GJB 4.6.1.8 |
M | 2764 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2764 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2742 | Static procedure is not explicitly called in code analysed. : stream_parse_use_service | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
service_find (2779 to 2782 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2779 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
list_services (2785 to 2802 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2789 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2793 | Value is not of appropriate type. : (unsigned int and int): kw_list -> kw [ i | GJB 4.6.1.8 |
M | 2797 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , "\t%s\n" , kw_list -> kw [ i | GJB 4.6.1.8 |
M | 2787 | Procedure contains UR data flow anomalies. : kw_list |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_dump_full_strm_to_buffer (2809 to 3145 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2821 | Pointer not checked for null before use. : appctx | GJB 5.1.15 |
M | 2896 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 2988 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 3024 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 3088 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 3126 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 2813 | extern not in nominated include file. | GJB 4.7.1.5 |
M | 2813 | Extern used in function body. | GJB 5.1.21 |
M | 2813 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2814 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2821 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2821 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2825 | goto detected. | GJB 4.5.1.2 |
M | 2826 | goto detected. | GJB 4.5.1.2 |
M | 2835 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2848 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2872 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2874 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2900 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2921 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2923 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2985 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2985 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3008 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3008 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3013 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3019 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3021 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3021 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3044 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3044 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3049 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3055 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3134 | goto detected. | GJB 4.5.1.2 |
M | 3137 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2829 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2814 | Procedure contains UR data flow anomalies. : pn | GJB 4.13.1.4 |
M | 3143 | Identifier reuse: label vs variable (MR). : full |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_sess (3148 to 3172 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3148 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3148 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3148 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3148 | Static procedure is not explicitly called in code analysed. : cli_parse_show_sess | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_io_handler_dump_sess (3179 to 3396 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3328 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 3338 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 3249 | Pointer not checked for null before use. : curr_strm | GJB 5.1.15 |
M | 3233 | Pointer not checked for null before use. : curr_strm | GJB 5.1.15 |
M | 3196 | goto detected. | GJB 4.5.1.2 |
M | 3215 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3224 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3230 | Value is not of appropriate type. : (bool and unsigned char): appctx -> ctx.sess.target != ( void * ) | GJB 4.6.1.8 |
M | 3230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3230 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3231 | goto detected. | GJB 4.5.1.2 |
M | 3236 | goto detected. | GJB 4.5.1.2 |
M | 3241 | Value is not of appropriate type. : (bool and unsigned char): appctx -> ctx.sess.target != ( void * ) | GJB 4.6.1.8 |
M | 3246 | goto detected. | GJB 4.5.1.2 |
M | 3255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3257 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3255 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3362 | goto detected. | GJB 4.5.1.2 |
M | 3369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3369 | Value is not of appropriate type. : (bool and unsigned char): appctx -> ctx.sess.target != ( void * ) | GJB 4.6.1.8 |
M | 3377 | goto detected. | GJB 4.5.1.2 |
M | 3381 | goto detected. | GJB 4.5.1.2 |
M | 3385 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3387 | goto detected. | GJB 4.5.1.2 |
M | 3388 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3179 | Static procedure is not explicitly called in code analysed. : cli_io_handler_dump_sess | GJB 4.7.1.3 |
M | 3224 | Procedure contains UR data flow anomalies. : pn |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_release_show_sess (3398 to 3406 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3398 | Static procedure is not explicitly called in code analysed. : cli_release_show_sess | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_shutdown_session (3409 to 3433 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3409 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3409 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3409 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3419 | Value is not of appropriate type. : (stream* and void*): ptr = ( void * | GJB 4.6.1.8 |
M | 3409 | Static procedure is not explicitly called in code analysed. : cli_parse_shutdown_session | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_shutdown_sessions_server (3436 to 3452 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3436 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3436 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3436 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3436 | Static procedure is not explicitly called in code analysed. : cli_parse_shutdown_sessions_server | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cur_server_timeout (3479 to 3488 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3479 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3479 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3479 | Static procedure is not explicitly called in code analysed. : smp_fetch_cur_server_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_cur_tunnel_timeout (3490 to 3499 stream.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3490 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3490 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 3490 | Static procedure is not explicitly called in code analysed. : smp_fetch_cur_tunnel_timeout | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_check_timeouts (108 to 115 stream_interface.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_report_error (118 to 125 stream_interface.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_retnclose (136 to 155 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 146 | Pointer not checked for null before use. : oc |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_shutr (164 to 189 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 169 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 183 | Void procedure with return statement. : stream_int_shutr | GJB 4.9.1.2 |
M | 183 | Void procedure used in expression. : stream_int_shutw | GJB 4.7.1.7 |
M | 184 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 164 | Static procedure is not explicitly called in code analysed. : stream_int_shutr | GJB 4.7.1.3 |
M | 164 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_shutw (198 to 247 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 203 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 211 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 217 | Null case in switch statement. | GJB 4.3.1.8 |
M | 229 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 230 | Null case in switch statement. | GJB 4.3.1.8 |
M | 236 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 242 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_chk_rcv (250 to 268 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 254 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 250 | Static procedure is not explicitly called in code analysed. : stream_int_chk_rcv | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_chk_snd (271 to 295 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 277 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 279 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Static procedure is not explicitly called in code analysed. : stream_int_chk_snd | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_register_handler (303 to 316 stream_interface.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conn_si_send_proxy (327 to 415 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 361 | Pointer not checked for null before use. : remote_cs | GJB 5.1.15 |
M | 363 | Pointer not checked for null before use. : strm | GJB 5.1.15 |
M | 330 | goto detected. | GJB 4.5.1.2 |
M | 355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 369 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | goto detected. | GJB 4.5.1.2 |
M | 378 | goto detected. | GJB 4.5.1.2 |
M | 389 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 389 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 392 | goto detected. | GJB 4.5.1.2 |
M | 396 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_notify (428 to 555 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 466 | Pointer not checked for null before use. : sio | GJB 5.1.15 |
M | 538 | Pointer not checked for null before use. : task | GJB 5.1.15 |
M | 440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 453 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 455 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 483 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 483 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 483 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 483 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 518 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 524 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 524 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 532 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 533 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 533 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_cs_process (564 to 627 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 617 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 572 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 587 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 588 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 602 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 603 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_cs_send (635 to 777 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 725 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 661 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 643 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 643 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 668 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 668 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 679 | goto detected. | GJB 4.5.1.2 |
M | 703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 706 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 725 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 768 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_cs_io_cb (784 to 802 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 784 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 793 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_update_rx (813 to 846 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 817 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 842 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 843 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_update_tx (857 to 894 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 862 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 884 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 884 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_sync_send (900 to 921 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 905 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 917 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_update_both (930 to 960 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 935 | Pointer not checked for null before use. : req | GJB 5.1.15 |
M | 936 | Pointer not checked for null before use. : res | GJB 5.1.15 |
M | 951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 952 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 952 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 953 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 953 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 956 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 957 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 957 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 958 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_shutr_conn (972 to 998 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 978 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 987 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 996 | Void procedure with return statement. : stream_int_shutr_conn | GJB 4.9.1.2 |
M | 996 | Void procedure used in expression. : stream_int_shutw_conn | GJB 4.7.1.7 |
M | 997 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 972 | Static procedure is not explicitly called in code analysed. : stream_int_shutr_conn | GJB 4.7.1.3 |
M | 972 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_shutw_conn (1008 to 1083 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1014 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1036 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 1022 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1028 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1063 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1071 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1072 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1076 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1082 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_chk_rcv_conn (1091 to 1096 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1091 | Static procedure is not explicitly called in code analysed. : stream_int_chk_rcv_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_chk_snd_conn (1104 to 1191 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1110 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1121 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 1167 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1120 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1127 | goto detected. | GJB 4.5.1.2 |
M | 1141 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1143 | goto detected. | GJB 4.5.1.2 |
M | 1163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1164 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1185 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1186 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1104 | Static procedure is not explicitly called in code analysed. : stream_int_chk_snd_conn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_cs_recv (1198 to 1502 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1218 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1227 | goto detected. | GJB 4.5.1.2 |
M | 1238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1239 | goto detected. | GJB 4.5.1.2 |
M | 1245 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1245 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1247 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1247 | Value is not of appropriate type. : (unsigned short and int): ) ( now_ms - ic -> last_read | GJB 4.6.1.8 |
M | 1260 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1261 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1262 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1270 | goto detected. | GJB 4.5.1.2 |
M | 1274 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1274 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1274 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1276 | goto detected. | GJB 4.5.1.2 |
M | 1284 | goto detected. | GJB 4.5.1.2 |
M | 1295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1295 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1296 | goto detected. | GJB 4.5.1.2 |
M | 1303 | goto detected. | GJB 4.5.1.2 |
M | 1310 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1319 | goto detected. | GJB 4.5.1.2 |
M | 1324 | goto detected. | GJB 4.5.1.2 |
M | 1362 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1380 | Signed/unsigned conversion without cast. : (unsigned long and int): ret | GJB 4.6.1.9 |
M | 1384 | Signed/unsigned conversion without cast. : (int and unsigned long): ic -> to_forward -= fwd | GJB 4.6.1.9 |
M | 1392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1392 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1392 | Expression needs brackets. | GJB 5.1.2 |
M | 1433 | Expression needs brackets. | GJB 5.1.2 |
M | 1449 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1452 | Expression needs brackets. | GJB 5.1.2 |
M | 1480 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1480 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_read0 (1509 to 1550 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1516 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1530 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 1524 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1525 | goto detected. | GJB 4.5.1.2 |
M | 1531 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
si_applet_wake_cb (1557 to 1585 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1564 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1583 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_shutr_applet (1595 to 1619 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1600 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1617 | Void procedure with return statement. : stream_int_shutr_applet | GJB 4.9.1.2 |
M | 1617 | Void procedure used in expression. : stream_int_shutw_applet | GJB 4.7.1.7 |
M | 1618 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1595 | Static procedure is not explicitly called in code analysed. : stream_int_shutr_applet | GJB 4.7.1.3 |
M | 1595 | Function does not return a value on all paths. | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_shutw_applet (1628 to 1677 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1633 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1641 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1650 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1662 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1663 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1670 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1676 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_chk_rcv_applet (1680 to 1692 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1684 | Pointer not checked for null before use. : ic | GJB 5.1.15 |
M | 1680 | Static procedure is not explicitly called in code analysed. : stream_int_chk_rcv_applet | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stream_int_chk_snd_applet (1695 to 1718 stream_interface.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1701 | Pointer not checked for null before use. : oc | GJB 5.1.15 |
M | 1703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1695 | Static procedure is not explicitly called in code analysed. : stream_int_chk_snd_applet | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
task_kill (68 to 109 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 95 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 98 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 99 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 102 | Value is not of appropriate type. : (int and unsigned long): sleeping_thread_mask & ( 1UL | GJB 4.6.1.8 |
M | 102 | Value is not of appropriate type. : (int and unsigned long): sleeping_thread_mask & ( 1UL << | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__task_wakeup (119 to 174 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 119 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 157 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 157 | Use of sizeof on a type. | GJB 5.1.8 |
M | 158 | Value is not of appropriate type. : (unsigned int and int): [ nb | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__task_queue (191 to 211 task.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wake_expired_tasks (217 to 350 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 257 | Pointer not checked for null before use. : task | GJB 5.1.15 |
M | 219 | Pointer not checked for null before use. : sched | GJB 5.1.15 |
M | 217 | Empty parameter list to procedure/function. : wake_expired_tasks | GJB 4.1.1.10 |
M | 225 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 225 | Expression needs brackets. | GJB 5.1.2 |
M | 223 | Procedure contains UR data flow anomalies. : key | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
next_timer_expiry (356 to 390 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 364 | Pointer not checked for null before use. : sched | GJB 5.1.15 |
M | 356 | Empty parameter list to procedure/function. : next_timer_expiry | GJB 4.1.1.10 |
M | 361 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
run_tasks_from_lists (397 to 537 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 452 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 400 | Pointer not checked for null before use. : sched | GJB 5.1.15 |
M | 468 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 497 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 499 | Pointer not checked for null before use. : ctx | GJB 5.1.15 |
M | 399 | Procedure pointer declared. | GJB 4.4.1.3 |
M | 399 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 401 | Name reused in inner scope. : t | GJB 4.15.1.2,4.15.1.5 |
M | 402 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 402 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 405 | Name reused in inner scope. : state | GJB 4.15.1.2,4.15.1.5 |
M | 406 | Name reused in inner scope. : ctx | GJB 4.15.1.2,4.15.1.5 |
M | 406 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 408 | Signed/unsigned conversion without cast. : (unsigned int and int): queue | GJB 4.6.1.9 |
M | 409 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 409 | Signed/unsigned conversion without cast. : (int and unsigned int): sched -> current_queue = queue | GJB 4.6.1.9 |
M | 413 | Expression needs brackets. | GJB 5.1.2 |
M | 413 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 417 | Signed/unsigned conversion without cast. : (unsigned int and int): queue = ( sched -> tl_class_mask & 1 | GJB 4.6.1.9 |
M | 422 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 423 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 424 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 429 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 430 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 432 | Volatile variable in complex expression. : global_tasks_mask | GJB 4.15.1.6 |
M | 439 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 464 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 475 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 486 | Signed/unsigned conversion without cast. : (int and unsigned long): t -> lat_time += now_ns | GJB 4.6.1.9 |
M | 486 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 487 | Signed/unsigned conversion without cast. : (int and unsigned long): t -> call_date = now_ns | GJB 4.6.1.9 |
M | 496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 498 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
process_runnable_tasks (552 to 708 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 654 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 554 | Pointer not checked for null before use. : sched | GJB 5.1.15 |
M | 552 | Empty parameter list to procedure/function. : process_runnable_tasks | GJB 4.1.1.10 |
M | 586 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 586 | Signed/unsigned conversion without cast. : (unsigned int and int): max [ TL_URGENT ] = max [ TL_NORMAL ] = max [ TL_BULK ] | GJB 4.6.1.9 |
M | 589 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 590 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 594 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 595 | Volatile variable in complex expression. : global_tasks_mask | GJB 4.15.1.6 |
M | 599 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 610 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 614 | Signed/unsigned conversion without cast. : (unsigned int and int): queue | GJB 4.6.1.9 |
M | 615 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 615 | Value is not of appropriate type. : (unsigned int and int): ( unsigned ) | GJB 4.6.1.8 |
M | 615 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 615 | Expression needs brackets. | GJB 5.1.2 |
M | 617 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 622 | Signed/unsigned conversion without cast. : (int and unsigned int): budget = max | GJB 4.6.1.9 |
M | 622 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 624 | Volatile variable in complex expression. : global_tasks_mask | GJB 4.15.1.6 |
M | 624 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 636 | Empty then clause. | GJB 4.3.1.1 |
M | 643 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 648 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 651 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 672 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 683 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 694 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 696 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 700 | Signed/unsigned conversion without cast. : (int and unsigned int): run_tasks_from_lists | GJB 4.6.1.9 |
M | 703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 703 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 704 | goto detected. | GJB 4.5.1.2 |
M | 557 | Procedure contains UR data flow anomalies. : t |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
work_list_create (716 to 741 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 721 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 723 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 725 | goto detected. | GJB 4.5.1.2 |
M | 728 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_INIT ( & wl [ i | GJB 4.6.1.8 |
M | 729 | Value is not of appropriate type. : (unsigned int and int): wl [ i | GJB 4.6.1.8 |
M | 729 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 730 | Value is not of appropriate type. : (unsigned int and int): ! wl [ i | GJB 4.6.1.8 |
M | 731 | goto detected. | GJB 4.5.1.2 |
M | 732 | Value is not of appropriate type. : (unsigned int and int): wl [ i | GJB 4.6.1.8 |
M | 733 | Value is not of appropriate type. : (unsigned int and int): wl [ i | GJB 4.6.1.8 |
M | 733 | Value is not of appropriate type. : (unsigned int and int): wl [ i ].task -> context = &wl [ i | GJB 4.6.1.8 |
M | 734 | Value is not of appropriate type. : (unsigned int and int): wl [ i | GJB 4.6.1.8 |
M | 736 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
Code | Violation | Parameter |
---|---|---|
M | Procedure pointer is an unused parameter | fct |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
work_list_destroy (744 to 753 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 746 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 751 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): task_destroy ( work [ t | GJB 4.6.1.8 |
M | 751 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mworker_cleantasks (758 to 797 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 787 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 794 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 758 | Empty parameter list to procedure/function. : mworker_cleantasks | GJB 4.1.1.10 |
M | 761 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 783 | Value is not of appropriate type. : (unsigned int and int): tmp_rq = eb32sc_first ( & task_per_thread [ i | GJB 4.6.1.8 |
M | 790 | Value is not of appropriate type. : (unsigned int and int): tmp_wq = eb32_first ( & task_per_thread [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_task (800 to 815 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 800 | Empty parameter list to procedure/function. : init_task | GJB 4.1.1.10 |
M | 802 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 808 | Use of sizeof on a type. | GJB 5.1.8 |
M | 810 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & task_per_thread [ i | GJB 4.6.1.8 |
M | 811 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & task_per_thread [ i | GJB 4.6.1.8 |
M | 812 | Value is not of appropriate type. : (unsigned int and int): LIST_INIT ( & task_per_thread [ i | GJB 4.6.1.8 |
M | 813 | Value is not of appropriate type. : (unsigned int and int): MT_LIST_INIT ( & task_per_thread [ i | GJB 4.6.1.8 |
M | 800 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cfg_parse_tune_sched_low_latency (818 to 834 task.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 818 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 819 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 820 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 826 | Bit operator with boolean operand. : |= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 826 | Bit operator with boolean operand. : |= used with bool: GTUNE_SCHED_LOW_LATENCY | GJB 4.6.1.17,4.6.1.18 |
M | 828 | Bit operator with boolean operand. : &= used with bool: global.tune.options | GJB 4.6.1.17,4.6.1.18 |
M | 828 | Bit operator with boolean operand. : ~ used with bool: GTUNE_SCHED_LOW_LATENCY | GJB 4.6.1.17,4.6.1.18 |
M | 818 | Static procedure is not explicitly called in code analysed. : cfg_parse_tune_sched_low_latency | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_action_req_set_src (47 to 72 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 52 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 52 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 52 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 65 | Use of sizeof on a type. | GJB 5.1.8 |
M | 67 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 47 | Static procedure is not explicitly called in code analysed. : tcp_action_req_set_src | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_action_req_set_dst (79 to 103 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 80 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 84 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 84 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 84 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 96 | Use of sizeof on a type. | GJB 5.1.8 |
M | 98 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 79 | Static procedure is not explicitly called in code analysed. : tcp_action_req_set_dst | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_action_req_set_src_port (111 to 133 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 112 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 116 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 116 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 111 | Static procedure is not explicitly called in code analysed. : tcp_action_req_set_src_port | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_action_req_set_dst_port (141 to 163 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 146 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 146 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 146 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 141 | Static procedure is not explicitly called in code analysed. : tcp_action_req_set_dst_port | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_exec_action_silent_drop (166 to 231 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 172 | goto detected. | GJB 4.5.1.2 |
M | 175 | goto detected. | GJB 4.5.1.2 |
M | 166 | Static procedure is not explicitly called in code analysed. : tcp_exec_action_silent_drop | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_parse_set_src_dst (234 to 277 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 234 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 235 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 242 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 242 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 246 | Signed/unsigned conversion without cast. : (unsigned int and int): where | GJB 4.6.1.9 |
M | 253 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "fetch method '%s' extracts information from '%s', none of which is available here" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 256 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 262 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 264 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 266 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 268 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 234 | Static procedure is not explicitly called in code analysed. : tcp_parse_set_src_dst | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_parse_silent_drop (283 to 289 tcp_act.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 283 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 284 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 283 | Static procedure is not explicitly called in code analysed. : tcp_parse_silent_drop | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_req_conn_action (69 to 72 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_req_sess_action (74 to 77 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 74 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_req_cont_action (79 to 82 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_res_cont_action (84 to 87 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 84 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_inspect_request (96 to 244 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 137 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 96 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 115 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 115 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 116 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 130 | goto detected. | GJB 4.5.1.2 |
M | 132 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 140 | goto detected. | GJB 4.5.1.2 |
M | 160 | Null case in switch statement. | GJB 4.3.1.8 |
M | 161 | goto detected. | GJB 4.5.1.2 |
M | 161 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 168 | goto detected. | GJB 4.5.1.2 |
M | 170 | goto detected. | GJB 4.5.1.2 |
M | 170 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 172 | goto detected. | GJB 4.5.1.2 |
M | 172 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 174 | goto detected. | GJB 4.5.1.2 |
M | 174 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 176 | goto detected. | GJB 4.5.1.2 |
M | 176 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 178 | goto detected. | GJB 4.5.1.2 |
M | 179 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 156 | No default case in switch statement. | GJB 4.3.1.4 |
M | 185 | goto detected. | GJB 4.5.1.2 |
M | 188 | goto detected. | GJB 4.5.1.2 |
M | 189 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 198 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 215 | goto detected. | GJB 4.5.1.2 |
M | 219 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 223 | goto detected. | GJB 4.5.1.2 |
M | 227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_inspect_response (252 to 412 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 307 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 293 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 252 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 285 | goto detected. | GJB 4.5.1.2 |
M | 287 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 296 | goto detected. | GJB 4.5.1.2 |
M | 315 | Null case in switch statement. | GJB 4.3.1.8 |
M | 316 | goto detected. | GJB 4.5.1.2 |
M | 316 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 323 | goto detected. | GJB 4.5.1.2 |
M | 326 | goto detected. | GJB 4.5.1.2 |
M | 326 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 328 | goto detected. | GJB 4.5.1.2 |
M | 328 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 330 | goto detected. | GJB 4.5.1.2 |
M | 330 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 332 | goto detected. | GJB 4.5.1.2 |
M | 332 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 334 | goto detected. | GJB 4.5.1.2 |
M | 335 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 311 | No default case in switch statement. | GJB 4.3.1.4 |
M | 341 | goto detected. | GJB 4.5.1.2 |
M | 344 | goto detected. | GJB 4.5.1.2 |
M | 351 | goto detected. | GJB 4.5.1.2 |
M | 352 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 361 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 367 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 367 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 380 | goto detected. | GJB 4.5.1.2 |
M | 391 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_exec_l4_rules (420 to 500 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 451 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 452 | Null case in switch statement. | GJB 4.3.1.8 |
M | 453 | goto detected. | GJB 4.5.1.2 |
M | 453 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 457 | Null case in switch statement. | GJB 4.3.1.8 |
M | 461 | goto detected. | GJB 4.5.1.2 |
M | 462 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 443 | No default case in switch statement. | GJB 4.3.1.4 |
M | 468 | goto detected. | GJB 4.5.1.2 |
M | 472 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 476 | goto detected. | GJB 4.5.1.2 |
M | 482 | goto detected. | GJB 4.5.1.2 |
M | 491 | goto detected. | GJB 4.5.1.2 |
M | 495 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_exec_l5_rules (509 to 567 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 536 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 537 | Null case in switch statement. | GJB 4.3.1.8 |
M | 538 | goto detected. | GJB 4.5.1.2 |
M | 538 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 542 | Null case in switch statement. | GJB 4.3.1.8 |
M | 546 | goto detected. | GJB 4.5.1.2 |
M | 547 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 528 | No default case in switch statement. | GJB 4.3.1.4 |
M | 553 | goto detected. | GJB 4.5.1.2 |
M | 557 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 561 | goto detected. | GJB 4.5.1.2 |
M | 562 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_parse_response_rule (570 to 630 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 570 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 572 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 574 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 576 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 582 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 587 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 592 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 599 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 603 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 603 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 610 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg | GJB 4.6.1.8 |
M | 615 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 615 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 616 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 616 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 616 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 616 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 619 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg | GJB 4.6.1.8 |
M | 623 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 626 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg | GJB 4.6.1.8 |
M | 628 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_action_track_sc (637 to 678 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 655 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 671 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 638 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 652 | Value is not of appropriate type. : (unsigned int and int): stkctr_entry ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 653 | goto detected. | GJB 4.5.1.2 |
M | 660 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 660 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 661 | Value is not of appropriate type. : (unsigned int and int): stream_track_stkctr ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 662 | Value is not of appropriate type. : (unsigned int and int): stkctr_set_flags ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 664 | Value is not of appropriate type. : (unsigned int and int): stkctr_set_flags ( & s -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 668 | Value is not of appropriate type. : (unsigned int and int): stkctr_entry ( & sess -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 669 | goto detected. | GJB 4.5.1.2 |
M | 672 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 672 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 673 | Value is not of appropriate type. : (unsigned int and int): stream_track_stkctr ( & sess -> stkctr [ rule -> action | GJB 4.6.1.8 |
M | 637 | Static procedure is not explicitly called in code analysed. : tcp_action_track_sc | GJB 4.7.1.3 |
M | 640 | Procedure contains UR data flow anomalies. : ts |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_action_capture (685 to 719 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 686 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 690 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 699 | goto detected. | GJB 4.5.1.2 |
M | 704 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 705 | Modification of string literal. : cap | GJB 5.1.19 |
M | 705 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 706 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 707 | goto detected. | GJB 4.5.1.2 |
M | 714 | Value is not of appropriate type. : (unsigned int and int): memcpy ( cap [ h -> index | GJB 4.6.1.8 |
M | 715 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index | GJB 4.6.1.8 |
M | 715 | Value is not of appropriate type. : (unsigned int and int): cap [ h -> index ] [ len | GJB 4.6.1.8 |
M | 685 | Static procedure is not explicitly called in code analysed. : tcp_action_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_tcp_capture (721 to 724 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 721 | Static procedure is not explicitly called in code analysed. : release_tcp_capture | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_tcp_track_sc (727 to 730 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 727 | Static procedure is not explicitly called in code analysed. : release_tcp_track_sc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_parse_request_rule (733 to 983 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 823 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 937 | Pointer not checked for null before use. : kw | GJB 5.1.15 |
M | 941 | Pointer not checked for null before use. : kw | GJB 5.1.15 |
M | 945 | Pointer not checked for null before use. : kw | GJB 5.1.15 |
M | 733 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 735 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 736 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 744 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 749 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 754 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 761 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : proxy '%s' has no frontend capability" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 768 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' is not allowed in '%s %s' rules in %s '%s'" , args [ arg | GJB 4.6.1.8 |
M | 768 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' is not allowed in '%s %s' rules in %s '%s'" , args [ arg ] , args [ arg + 1 | GJB 4.6.1.8 |
M | 779 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : %s" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 786 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : fetch method '%s' extracts information from '%s', none of which is available here" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 788 | Value is not of appropriate type. : (unsigned int and int): args [ arg - 1 | GJB 4.6.1.8 |
M | 793 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 795 | Value is not of appropriate type. : (unsigned int and int): ! args [ arg | GJB 4.6.1.8 |
M | 796 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : missing length value" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 803 | Value is not of appropriate type. : (unsigned int and int): len = atoi ( args [ arg | GJB 4.6.1.8 |
M | 805 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : length must be > 0" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 815 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : a positive 'len' argument is mandatory" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 818 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 822 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 828 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 843 | Value is not of appropriate type. : (unsigned int and int): strncmp ( args [ arg | GJB 4.6.1.8 |
M | 847 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 851 | Array bound exceeded. : args[][*]; accessed=8 | GJB 4.6.1.2 |
M | 851 | Value is not of appropriate type. : (unsigned int and int): tsc_num_str = &args [ kw | GJB 4.6.1.8 |
M | 853 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : %s" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 860 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : %s" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 867 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : fetch method '%s' extracts information from '%s', none of which is available here" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 869 | Value is not of appropriate type. : (unsigned int and int): , args [ arg - 1 | GJB 4.6.1.8 |
M | 877 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 879 | Value is not of appropriate type. : (unsigned int and int): ! args [ arg | GJB 4.6.1.8 |
M | 880 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' : missing table name" , args [ 0 ] , args [ 1 ] , args [ kw | GJB 4.6.1.8 |
M | 887 | Value is not of appropriate type. : (unsigned int and int): rule -> arg.trk_ctr.table.n = strdup ( args [ arg | GJB 4.6.1.8 |
M | 890 | Signed/unsigned conversion without cast. : (int and unsigned int): rule -> action = tsc_num | GJB 4.6.1.9 |
M | 896 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 897 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg + 1 | GJB 4.6.1.8 |
M | 898 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' only supports 'layer4' in %s '%s' (got '%s')" , args [ 0 ] , args [ 1 ] , args [ arg | GJB 4.6.1.8 |
M | 900 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg + 1 | GJB 4.6.1.8 |
M | 905 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' is not allowed in '%s %s' rules in %s '%s'" , args [ arg | GJB 4.6.1.8 |
M | 905 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' is not allowed in '%s %s' rules in %s '%s'" , args [ arg ] , args [ arg + 1 | GJB 4.6.1.8 |
M | 914 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 915 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg + 1 | GJB 4.6.1.8 |
M | 916 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s %s' only supports 'layer4' in %s '%s' (got '%s')" , args [ 0 ] , args [ 1 ] , args [ arg | GJB 4.6.1.8 |
M | 918 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg + 1 | GJB 4.6.1.8 |
M | 923 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' is not allowed in '%s %s' rules in %s '%s'" , args [ arg | GJB 4.6.1.8 |
M | 923 | Value is not of appropriate type. : (unsigned int and int): memprintf ( err , "'%s %s' is not allowed in '%s %s' rules in %s '%s'" , args [ arg ] , args [ arg + 1 | GJB 4.6.1.8 |
M | 936 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 940 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 944 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 949 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 949 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 962 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg | GJB 4.6.1.8 |
M | 968 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 968 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 968 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 968 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ arg | GJB 4.6.1.8 |
M | 969 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 969 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 969 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 969 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 972 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg | GJB 4.6.1.8 |
M | 976 | Value is not of appropriate type. : (unsigned int and int): * args [ arg | GJB 4.6.1.8 |
M | 979 | Value is not of appropriate type. : (unsigned int and int): proxy_type_str ( curpx ) , curpx -> id , args [ arg | GJB 4.6.1.8 |
M | 981 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 842 | Memory not freed after last reference. : hdr | GJB 5.1.17 |
M | 846 | Procedure contains UR data flow anomalies. : tsc_num |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_parse_tcp_rep (988 to 1093 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1038 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 988 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 989 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 990 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 992 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 999 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1008 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1014 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1014 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1024 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1037 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1040 | Signed/unsigned conversion without cast. : (unsigned int and int): where | GJB 4.6.1.9 |
M | 1051 | goto detected. | GJB 4.5.1.2 |
M | 1055 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1068 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1069 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1078 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1086 | goto detected. | GJB 4.5.1.2 |
M | 1090 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 988 | Static procedure is not explicitly called in code analysed. : tcp_parse_tcp_rep | GJB 4.7.1.3 |
M | 999 | Procedure contains UR data flow anomalies. : kw | GJB 4.13.1.4 |
M | 993 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_parse_tcp_req (1099 to 1303 tcp_rules.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1152 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1099 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1100 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1103 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1110 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1128 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1128 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 1128 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1138 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1151 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 1154 | Signed/unsigned conversion without cast. : (unsigned int and int): where | GJB 4.6.1.9 |
M | 1165 | goto detected. | GJB 4.5.1.2 |
M | 1169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1182 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1183 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1192 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1204 | goto detected. | GJB 4.5.1.2 |
M | 1210 | goto detected. | GJB 4.5.1.2 |
M | 1214 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1228 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1237 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1249 | goto detected. | GJB 4.5.1.2 |
M | 1255 | goto detected. | GJB 4.5.1.2 |
M | 1259 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1272 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1281 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1296 | goto detected. | GJB 4.5.1.2 |
M | 1300 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1099 | Static procedure is not explicitly called in code analysed. : tcp_parse_tcp_req | GJB 4.7.1.3 |
M | 1110 | Procedure contains UR data flow anomalies. : kw | GJB 4.13.1.4 |
M | 1104 | Procedure contains UR data flow anomalies. : val |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_src (47 to 73 tcp_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 48 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 69 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 47 | Static procedure is not explicitly called in code analysed. : smp_fetch_src | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_sport (76 to 93 tcp_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 77 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 77 | Name found with length less than 2. : k | GJB 4.8.1.1 |
M | 77 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 88 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 76 | Static procedure is not explicitly called in code analysed. : smp_fetch_sport | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_dst (96 to 122 tcp_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 97 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 97 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 118 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 96 | Static procedure is not explicitly called in code analysed. : smp_fetch_dst | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_dst_is_local (127 to 142 tcp_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 127 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 127 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_src_is_local (147 to 162 tcp_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 147 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 147 | Use of C++ keyword. : private | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_dport (165 to 182 tcp_sample.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 166 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 177 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 165 | Static procedure is not explicitly called in code analysed. : smp_fetch_dport | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_tcpcheck_fmt (74 to 84 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Pointer not checked for null before use. : (lf)->arg | GJB 5.1.15 |
M | 81 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 82 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_tcpcheck_http_hdr (87 to 95 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 94 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_tcpcheck (114 to 208 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 205 | Pointer not checked for null before use. : (rule)->comment | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : (rule)->send.http.meth.str.area | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : (rule)->expect.codes.codes | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : (rule)->connect.sni | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : (rule)->connect.alpn | GJB 5.1.15 |
M | 205 | Pointer not checked for null before use. : (rule)->action_kw.rule | GJB 5.1.15 |
M | 117 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 124 | Null case in switch statement. | GJB 4.3.1.8 |
M | 128 | Null case in switch statement. | GJB 4.3.1.8 |
M | 131 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 122 | No default case in switch statement. | GJB 4.3.1.4 |
M | 153 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 157 | Null case in switch statement. | GJB 4.3.1.8 |
M | 162 | Null case in switch statement. | GJB 4.3.1.8 |
M | 168 | Null case in switch statement. | GJB 4.3.1.8 |
M | 185 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 188 | Null case in switch statement. | GJB 4.3.1.8 |
M | 152 | No default case in switch statement. | GJB 4.3.1.4 |
M | 192 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 194 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 199 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 120 | No default case in switch statement. | GJB 4.3.1.4 |
M | 206 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 195 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 134 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 136 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 149 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 125 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
M | 205 | Attempt to read from freed memory. : rule | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
create_tcpcheck_var (213 to 229 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 217 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 223 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 228 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_tcpcheck_var (232 to 243 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 238 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 238 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 240 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 240 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 240 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 241 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 241 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dup_tcpcheck_vars (257 to 287 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 259 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 262 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 263 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 264 | goto detected. | GJB 4.5.1.2 |
M | 264 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 266 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 267 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 268 | goto detected. | GJB 4.5.1.2 |
M | 269 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 270 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 272 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 272 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 274 | goto detected. | GJB 4.5.1.2 |
M | 274 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 275 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 276 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 278 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 280 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 284 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 286 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 287 | Memory not freed after last reference. : new |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
find_tcpcheck_ruleset (290 to 301 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 290 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 292 | Procedure contains UR data flow anomalies. : rs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
create_tcpcheck_ruleset (306 to 323 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 306 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 310 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 316 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 322 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_tcpcheck_ruleset (326 to 340 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 334 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 339 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_get_step_id (347 to 363 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 357 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_first_tcpcheck_rule (368 to 377 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 373 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 373 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 370 | Procedure contains UR data flow anomalies. : r |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_last_tcpcheck_rule (382 to 391 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 387 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 387 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 384 | Procedure contains UR data flow anomalies. : r |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_next_tcpcheck_rule (397 to 410 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 406 | Pointer not checked for null before use. : r | GJB 5.1.15 |
M | 406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 399 | Procedure contains UR data flow anomalies. : r |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_expect_onerror_message (414 to 499 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 428 | goto detected. | GJB 4.5.1.2 |
M | 432 | goto detected. | GJB 4.5.1.2 |
M | 433 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 435 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 437 | goto detected. | GJB 4.5.1.2 |
M | 445 | Null case in switch statement. | GJB 4.3.1.8 |
M | 453 | Null case in switch statement. | GJB 4.3.1.8 |
M | 461 | Null case in switch statement. | GJB 4.3.1.8 |
M | 471 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 475 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 440 | No default case in switch statement. | GJB 4.3.1.4 |
M | 493 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 494 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 498 | Type conversion without cast. : (int and char): b_tail ( msg ) ) = '\0' | GJB 4.6.1.9 |
M | 477 | Identifier reuse: label vs variable (MR). : comment |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_expect_onsuccess_message (502 to 536 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 519 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 523 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 530 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 531 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 535 | Type conversion without cast. : (int and char): b_tail ( msg ) ) = '\0' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_mysql_expect_packet (542 to 612 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 553 | Signed/unsigned conversion without cast. : (int and unsigned int): b_data ( & check -> bi ) < offset | GJB 4.6.1.9 |
M | 553 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 553 | Expression needs brackets. | GJB 5.1.2 |
M | 555 | goto detected. | GJB 4.5.1.2 |
M | 559 | goto detected. | GJB 4.5.1.2 |
M | 562 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 563 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 563 | Shifting value too far. | GJB 4.6.1.4 |
M | 564 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 564 | Shifting value too far. | GJB 4.6.1.4 |
M | 566 | Signed/unsigned conversion without cast. : (int and unsigned int): b_data ( & check -> bi ) < offset | GJB 4.6.1.9 |
M | 566 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 566 | Expression needs brackets. | GJB 5.1.2 |
M | 568 | goto detected. | GJB 4.5.1.2 |
M | 572 | goto detected. | GJB 4.5.1.2 |
M | 575 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 575 | Type conversion without cast. : (int and char): * b_peek ( & check -> bi , offset + 4 ) == '\xff' | GJB 4.6.1.9 |
M | 578 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 579 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 579 | Shifting value too far. | GJB 4.6.1.4 |
M | 580 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 580 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 581 | goto detected. | GJB 4.5.1.2 |
M | 586 | goto detected. | GJB 4.5.1.2 |
M | 602 | Signed/unsigned conversion without cast. : (int and unsigned int): check -> code = err | GJB 4.6.1.9 |
M | 607 | goto detected. | GJB 4.5.1.2 |
M | 611 | goto detected. | GJB 4.5.1.2 |
M | 542 | Function has no return statement. : tcpcheck_mysql_expect_packet | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_mysql_expect_ok (629 to 638 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 633 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 634 | Shifting value too far. | GJB 4.6.1.4 |
M | 634 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 635 | Shifting value too far. | GJB 4.6.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_ldap_expect_bindrsp (645 to 706 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 654 | Nested comment found. | GJB 4.10.1.1 |
M | 655 | Nested comment found. | GJB 4.10.1.1 |
M | 658 | Signed/unsigned conversion without cast. : (unsigned short and int): msglen = ( * ( b_head ( & check -> bi ) + 1 ) & 0x80 | GJB 4.6.1.9 |
M | 660 | Nested comment found. | GJB 4.10.1.1 |
M | 664 | Signed/unsigned conversion without cast. : (unsigned short and int): msglen | GJB 4.6.1.9 |
M | 667 | goto detected. | GJB 4.5.1.2 |
M | 671 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 671 | Signed/unsigned conversion without cast. : (unsigned short and int): msglen += ( * ( b_head ( & check -> bi ) + msglen + 6 ) & 0x80 | GJB 4.6.1.9 |
M | 673 | Nested comment found. | GJB 4.10.1.1 |
M | 676 | Signed/unsigned conversion without cast. : (unsigned short and int): msglen | GJB 4.6.1.9 |
M | 679 | goto detected. | GJB 4.5.1.2 |
M | 682 | Nested comment found. | GJB 4.10.1.1 |
M | 689 | goto detected. | GJB 4.5.1.2 |
M | 705 | goto detected. | GJB 4.5.1.2 |
M | 645 | Function has no return statement. : tcpcheck_ldap_expect_bindrsp | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_spop_expect_agenthello (712 to 752 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 724 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 725 | goto detected. | GJB 4.5.1.2 |
M | 730 | Value is not of appropriate type. : (int and char): b_orig ( & trash ) | GJB 4.6.1.8 |
M | 731 | goto detected. | GJB 4.5.1.2 |
M | 747 | goto detected. | GJB 4.5.1.2 |
M | 751 | goto detected. | GJB 4.5.1.2 |
M | 712 | Function has no return statement. : tcpcheck_spop_expect_agenthello | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_agent_expect_reply (758 to 967 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 916 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 939 | Pointer not checked for null before use. : t | GJB 5.1.15 |
M | 939 | Pointer not checked for null before use. : wrn | GJB 5.1.15 |
M | 939 | Pointer not checked for null before use. : msg | GJB 5.1.15 |
M | 762 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 763 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 764 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 765 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 766 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 767 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 768 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 768 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 776 | goto detected. | GJB 4.5.1.2 |
M | 795 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 795 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 796 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 800 | goto detected. | GJB 4.5.1.2 |
M | 804 | goto detected. | GJB 4.5.1.2 |
M | 812 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 812 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 812 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 822 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 822 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 823 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 831 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 832 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 834 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 838 | Expression needs brackets. | GJB 5.1.2 |
M | 868 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 868 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 868 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 886 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 886 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 887 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 904 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 907 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 908 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 912 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 917 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 918 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 928 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 931 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 931 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 932 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 935 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 944 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 951 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 966 | goto detected. | GJB 4.5.1.2 |
M | 758 | Function has no return statement. : tcpcheck_agent_expect_reply | GJB 4.9.1.1 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_eval_connect (973 to 1214 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1026 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 1074 | Pointer not checked for null before use. : proto | GJB 5.1.15 |
M | 1074 | Pointer not checked for null before use. : xprt | GJB 5.1.15 |
M | 993 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1001 | goto detected. | GJB 4.5.1.2 |
M | 1019 | goto detected. | GJB 4.5.1.2 |
M | 1034 | goto detected. | GJB 4.5.1.2 |
M | 1058 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1062 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1081 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1084 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1090 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1093 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1097 | Name reused in inner scope. : flags | GJB 4.15.1.2,4.15.1.5 |
M | 1101 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1107 | goto detected. | GJB 4.5.1.2 |
M | 1124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1129 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1139 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1153 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1155 | goto detected. | GJB 4.5.1.2 |
M | 1185 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1189 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1191 | goto detected. | GJB 4.5.1.2 |
M | 1192 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1171 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1197 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1203 | goto detected. | GJB 4.5.1.2 |
M | 1207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1210 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1210 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_eval_send (1220 to 1414 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1309 | Pointer not checked for null before use. : htx | GJB 5.1.15 |
M | 1377 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 1232 | goto detected. | GJB 4.5.1.2 |
M | 1238 | goto detected. | GJB 4.5.1.2 |
M | 1243 | goto detected. | GJB 4.5.1.2 |
M | 1250 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1257 | goto detected. | GJB 4.5.1.2 |
M | 1264 | goto detected. | GJB 4.5.1.2 |
M | 1271 | goto detected. | GJB 4.5.1.2 |
M | 1274 | goto detected. | GJB 4.5.1.2 |
M | 1275 | Value is not of appropriate type. : (unsigned int and int): tmp -> area [ tmp -> data | GJB 4.6.1.8 |
M | 1277 | goto detected. | GJB 4.5.1.2 |
M | 1288 | goto detected. | GJB 4.5.1.2 |
M | 1301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1301 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1301 | Type conversion without cast. : (unsigned char and char): * ( vsn.ptr + 5 ) == '2' | GJB 4.6.1.9 |
M | 1302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1302 | Type conversion without cast. : (unsigned char and char): * ( vsn.ptr + 5 ) > '1' | GJB 4.6.1.9 |
M | 1302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1302 | Type conversion without cast. : (unsigned char and char): * ( vsn.ptr + 5 ) == '1' | GJB 4.6.1.9 |
M | 1302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1302 | Type conversion without cast. : (unsigned char and char): * ( vsn.ptr + 7 ) >= '1' | GJB 4.6.1.9 |
M | 1311 | goto detected. | GJB 4.5.1.2 |
M | 1314 | goto detected. | GJB 4.5.1.2 |
M | 1327 | goto detected. | GJB 4.5.1.2 |
M | 1328 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1330 | goto detected. | GJB 4.5.1.2 |
M | 1341 | goto detected. | GJB 4.5.1.2 |
M | 1354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1354 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1355 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1356 | goto detected. | GJB 4.5.1.2 |
M | 1359 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1361 | goto detected. | GJB 4.5.1.2 |
M | 1365 | goto detected. | GJB 4.5.1.2 |
M | 1373 | goto detected. | GJB 4.5.1.2 |
M | 1374 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1248 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1381 | goto detected. | GJB 4.5.1.2 |
M | 1384 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1384 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1384 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1387 | goto detected. | GJB 4.5.1.2 |
M | 1392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1392 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1405 | goto detected. | GJB 4.5.1.2 |
M | 1412 | goto detected. | GJB 4.5.1.2 |
M | 1220 | Function has no return statement. : tcpcheck_eval_send | GJB 4.9.1.1 |
M | 1317 | Procedure contains UR data flow anomalies. : hdr |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_eval_recv (1421 to 1502 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1450 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 1431 | goto detected. | GJB 4.5.1.2 |
M | 1434 | goto detected. | GJB 4.5.1.2 |
M | 1437 | goto detected. | GJB 4.5.1.2 |
M | 1441 | goto detected. | GJB 4.5.1.2 |
M | 1453 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1456 | Expression needs brackets. | GJB 5.1.2 |
M | 1457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1469 | goto detected. | GJB 4.5.1.2 |
M | 1474 | goto detected. | GJB 4.5.1.2 |
M | 1486 | goto detected. | GJB 4.5.1.2 |
M | 1491 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1491 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1497 | goto detected. | GJB 4.5.1.2 |
M | 1501 | goto detected. | GJB 4.5.1.2 |
M | 1421 | Function has no return statement. : tcpcheck_eval_recv | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_eval_expect_http (1509 to 1804 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1537 | Pointer not checked for null before use. : sl | GJB 5.1.15 |
M | 1519 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 1521 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1525 | goto detected. | GJB 4.5.1.2 |
M | 1531 | goto detected. | GJB 4.5.1.2 |
M | 1533 | goto detected. | GJB 4.5.1.2 |
M | 1544 | goto detected. | GJB 4.5.1.2 |
M | 1556 | Value is not of appropriate type. : (unsigned int and int): sl -> info.res.status >= expect -> codes.codes [ i | GJB 4.6.1.8 |
M | 1556 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1557 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1557 | Value is not of appropriate type. : (unsigned int and int): sl -> info.res.status <= expect -> codes.codes [ i | GJB 4.6.1.8 |
M | 1587 | goto detected. | GJB 4.5.1.2 |
M | 1593 | goto detected. | GJB 4.5.1.2 |
M | 1598 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1605 | goto detected. | GJB 4.5.1.2 |
M | 1611 | goto detected. | GJB 4.5.1.2 |
M | 1616 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1624 | goto detected. | GJB 4.5.1.2 |
M | 1628 | goto detected. | GJB 4.5.1.2 |
M | 1632 | goto detected. | GJB 4.5.1.2 |
M | 1636 | goto detected. | GJB 4.5.1.2 |
M | 1640 | goto detected. | GJB 4.5.1.2 |
M | 1644 | goto detected. | GJB 4.5.1.2 |
M | 1645 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1654 | goto detected. | GJB 4.5.1.2 |
M | 1662 | goto detected. | GJB 4.5.1.2 |
M | 1671 | goto detected. | GJB 4.5.1.2 |
M | 1677 | Expression needs brackets. | GJB 5.1.2 |
M | 1680 | goto detected. | GJB 4.5.1.2 |
M | 1686 | goto detected. | GJB 4.5.1.2 |
M | 1692 | goto detected. | GJB 4.5.1.2 |
M | 1658 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1706 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1713 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1713 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1713 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1723 | goto detected. | GJB 4.5.1.2 |
M | 1727 | goto detected. | GJB 4.5.1.2 |
M | 1735 | goto detected. | GJB 4.5.1.2 |
M | 1741 | goto detected. | GJB 4.5.1.2 |
M | 1746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1746 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1747 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1750 | goto detected. | GJB 4.5.1.2 |
M | 1763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1765 | goto detected. | GJB 4.5.1.2 |
M | 1780 | goto detected. | GJB 4.5.1.2 |
M | 1781 | Switch case not terminated with break. | GJB 4.3.1.7 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1784 | goto detected. | GJB 4.5.1.2 |
M | 1799 | goto detected. | GJB 4.5.1.2 |
M | 1803 | goto detected. | GJB 4.5.1.2 |
M | 1509 | Function has no return statement. : tcpcheck_eval_expect_http | GJB 4.9.1.1 |
M | 1579 | Procedure contains UR data flow anomalies. : npat | GJB 4.13.1.4 |
M | 1579 | Procedure contains UR data flow anomalies. : vpat |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_eval_expect (1810 to 1925 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1825 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1825 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1828 | goto detected. | GJB 4.5.1.2 |
M | 1830 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1832 | goto detected. | GJB 4.5.1.2 |
M | 1843 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1857 | Null case in switch statement. | GJB 4.3.1.8 |
M | 1863 | goto detected. | GJB 4.5.1.2 |
M | 1869 | goto detected. | GJB 4.5.1.2 |
M | 1876 | goto detected. | GJB 4.5.1.2 |
M | 1883 | goto detected. | GJB 4.5.1.2 |
M | 1893 | goto detected. | GJB 4.5.1.2 |
M | 1893 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1897 | goto detected. | GJB 4.5.1.2 |
M | 1898 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1904 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1906 | goto detected. | GJB 4.5.1.2 |
M | 1911 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_eval_action_kw (1931 to 1947 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1938 | Pointer not checked for null before use. : act_rule |
GJB 5.1.15 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_main (1957 to 2139 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2038 | Pointer not checked for null before use. : cs | GJB 5.1.15 |
M | 2095 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 2014 | Pointer not checked for null before use. : rule | GJB 5.1.15 |
M | 1968 | goto detected. | GJB 4.5.1.2 |
M | 1976 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1976 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1977 | goto detected. | GJB 4.5.1.2 |
M | 1994 | goto detected. | GJB 4.5.1.2 |
M | 2017 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2040 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2052 | goto detected. | GJB 4.5.1.2 |
M | 2054 | goto detected. | GJB 4.5.1.2 |
M | 2054 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2061 | Expression with more than one function. | GJB 4.7.1.6 |
M | 2085 | goto detected. | GJB 4.5.1.2 |
M | 2085 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2087 | goto detected. | GJB 4.5.1.2 |
M | 2088 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2081 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2104 | goto detected. | GJB 4.5.1.2 |
M | 2115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2130 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2130 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2131 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 2139 | Memory not freed after last reference. : rule | GJB 5.1.17 |
M | 1987 | Procedure contains UR data flow anomalies. : var |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tcpcheck_action (2152 to 2185 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2152 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2154 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2159 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2162 | goto detected. | GJB 4.5.1.2 |
M | 2168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2168 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2170 | goto detected. | GJB 4.5.1.2 |
M | 2173 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2176 | goto detected. | GJB 4.5.1.2 |
M | 2180 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2182 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tcpcheck_connect (2190 to 2386 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2249 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 2190 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2207 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2213 | goto detected. | GJB 4.5.1.2 |
M | 2217 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2218 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2220 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2223 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2224 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <ipv4|ipv6> as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2225 | goto detected. | GJB 4.5.1.2 |
M | 2228 | Value is not of appropriate type. : (unsigned int and int): sk = str2sa_range ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2231 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : %s." , args [ cur_arg | GJB 4.6.1.8 |
M | 2232 | goto detected. | GJB 4.5.1.2 |
M | 2237 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2238 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2238 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2240 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2241 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a port number or a sample expression as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2242 | goto detected. | GJB 4.5.1.2 |
M | 2248 | Value is not of appropriate type. : (unsigned int and int): p = args [ cur_arg | GJB 4.6.1.8 |
M | 2254 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2254 | Value is not of appropriate type. : (unsigned int and int): ( char * [] ) { args [ cur_arg | GJB 4.6.1.8 |
M | 2259 | goto detected. | GJB 4.5.1.2 |
M | 2264 | Value is not of appropriate type. : (unsigned int and int): e here.\n" , args [ cur_arg | GJB 4.6.1.8 |
M | 2266 | goto detected. | GJB 4.5.1.2 |
M | 2270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2271 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "expects a valid TCP port (from range 1 to 65535) or a sample expression, got %s." , args [ cur_arg | GJB 4.6.1.8 |
M | 2273 | goto detected. | GJB 4.5.1.2 |
M | 2274 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2276 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2277 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2278 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a MUX protocol as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2279 | goto detected. | GJB 4.5.1.2 |
M | 2281 | Value is not of appropriate type. : (unsigned int and int): ist2 ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2281 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2283 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : unknown MUX protocol '%s'." , args [ cur_arg | GJB 4.6.1.8 |
M | 2283 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : unknown MUX protocol '%s'." , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2284 | goto detected. | GJB 4.5.1.2 |
M | 2287 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2287 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2288 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : invalid MUX protocol '%s' for tcp-check" , args [ cur_arg | GJB 4.6.1.8 |
M | 2288 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : invalid MUX protocol '%s' for tcp-check" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2289 | goto detected. | GJB 4.5.1.2 |
M | 2291 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2291 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2292 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : invalid MUX protocol '%s' for http-check" , args [ cur_arg | GJB 4.6.1.8 |
M | 2292 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : invalid MUX protocol '%s' for http-check" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2293 | goto detected. | GJB 4.5.1.2 |
M | 2294 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2298 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2299 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2300 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2301 | goto detected. | GJB 4.5.1.2 |
M | 2304 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2304 | free used on string. | GJB 5.1.19 |
M | 2305 | Value is not of appropriate type. : (unsigned int and int): comment = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 2308 | goto detected. | GJB 4.5.1.2 |
M | 2311 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2313 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2315 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2355 | Value is not of appropriate type. : (unsigned int and int): but got '%s' as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2357 | goto detected. | GJB 4.5.1.2 |
M | 2362 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2365 | goto detected. | GJB 4.5.1.2 |
M | 2378 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2380 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2381 | free used on string. | GJB 5.1.19 |
M | 2382 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2382 | free used on string. | GJB 5.1.19 |
M | 2383 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2383 | free used on string. | GJB 5.1.19 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tcpcheck_send (2389 to 2482 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2389 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2390 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2393 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2396 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2398 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2400 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2402 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2403 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2405 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2407 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2408 | goto detected. | GJB 4.5.1.2 |
M | 2411 | Value is not of appropriate type. : (unsigned int and int): data = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2414 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2415 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2416 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2417 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2418 | goto detected. | GJB 4.5.1.2 |
M | 2421 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2421 | free used on string. | GJB 5.1.19 |
M | 2422 | Value is not of appropriate type. : (unsigned int and int): comment = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 2425 | goto detected. | GJB 4.5.1.2 |
M | 2429 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "expects 'comment' but got '%s' as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2431 | goto detected. | GJB 4.5.1.2 |
M | 2436 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2439 | goto detected. | GJB 4.5.1.2 |
M | 2443 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 2450 | goto detected. | GJB 4.5.1.2 |
M | 2457 | goto detected. | GJB 4.5.1.2 |
M | 2463 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2468 | goto detected. | GJB 4.5.1.2 |
M | 2472 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2473 | goto detected. | GJB 4.5.1.2 |
M | 2474 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2445 | No default case in switch statement. | GJB 4.3.1.4 |
M | 2476 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2478 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2480 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2482 | Memory not freed after last reference. : comment |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tcpcheck_send_http (2485 to 2672 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2668 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 2485 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2491 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2492 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2494 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2497 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2498 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2499 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2500 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2501 | goto detected. | GJB 4.5.1.2 |
M | 2504 | Value is not of appropriate type. : (unsigned int and int): meth = args [ cur_arg | GJB 4.6.1.8 |
M | 2506 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2506 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2507 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2508 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2509 | goto detected. | GJB 4.5.1.2 |
M | 2512 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2515 | Value is not of appropriate type. : (unsigned int and int): uri = args [ cur_arg | GJB 4.6.1.8 |
M | 2517 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2518 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2519 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2520 | goto detected. | GJB 4.5.1.2 |
M | 2523 | Value is not of appropriate type. : (unsigned int and int): vsn = args [ cur_arg | GJB 4.6.1.8 |
M | 2525 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2526 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2526 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2526 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2526 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 2527 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects <name> and <value> as arguments" , args [ cur_arg | GJB 4.6.1.8 |
M | 2528 | goto detected. | GJB 4.5.1.2 |
M | 2531 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2533 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' header already defined (previous value is '%s')" , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2534 | Array bound exceeded. : hdrs[*]; accessed=-1 | GJB 4.6.1.2 |
M | 2534 | Value is not of appropriate type. : (unsigned int and int): istptr ( hdrs [ host_hdr | GJB 4.6.1.8 |
M | 2535 | goto detected. | GJB 4.5.1.2 |
M | 2539 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2539 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2540 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2541 | goto detected. | GJB 4.5.1.2 |
M | 2541 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2543 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i | GJB 4.6.1.8 |
M | 2543 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i ].n = ist2 ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2543 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2544 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i | GJB 4.6.1.8 |
M | 2544 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i ].v = ist2 ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 2544 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 2 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2549 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2549 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2549 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2549 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2550 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2551 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2552 | goto detected. | GJB 4.5.1.2 |
M | 2555 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2558 | Value is not of appropriate type. : (unsigned int and int): body = args [ cur_arg | GJB 4.6.1.8 |
M | 2560 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2561 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2562 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument." , args [ cur_arg | GJB 4.6.1.8 |
M | 2563 | goto detected. | GJB 4.5.1.2 |
M | 2566 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2566 | free used on string. | GJB 5.1.19 |
M | 2567 | Value is not of appropriate type. : (unsigned int and int): comment = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 2570 | goto detected. | GJB 4.5.1.2 |
M | 2575 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2576 | goto detected. | GJB 4.5.1.2 |
M | 2581 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i | GJB 4.6.1.8 |
M | 2581 | Value is not of appropriate type. : (unsigned int and int): hdrs [ i ].n = hdrs [ i | GJB 4.6.1.8 |
M | 2581 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2583 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2586 | goto detected. | GJB 4.5.1.2 |
M | 2600 | goto detected. | GJB 4.5.1.2 |
M | 2609 | goto detected. | GJB 4.5.1.2 |
M | 2616 | goto detected. | GJB 4.5.1.2 |
M | 2624 | goto detected. | GJB 4.5.1.2 |
M | 2627 | Value is not of appropriate type. : (unsigned int and int): istlen ( hdrs [ i | GJB 4.6.1.8 |
M | 2628 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2631 | goto detected. | GJB 4.5.1.2 |
M | 2634 | Value is not of appropriate type. : (unsigned int and int): hdr -> name = istdup ( hdrs [ i | GJB 4.6.1.8 |
M | 2637 | goto detected. | GJB 4.5.1.2 |
M | 2640 | Value is not of appropriate type. : (unsigned int and int): ist0 ( hdrs [ i | GJB 4.6.1.8 |
M | 2641 | Value is not of appropriate type. : (unsigned int and int): istptr ( hdrs [ i | GJB 4.6.1.8 |
M | 2642 | goto detected. | GJB 4.5.1.2 |
M | 2653 | goto detected. | GJB 4.5.1.2 |
M | 2660 | goto detected. | GJB 4.5.1.2 |
M | 2665 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2670 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2672 | Memory not freed after last reference. : hdr |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tcpcheck_comment (2675 to 2704 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2675 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2676 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2676 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2679 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2681 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2683 | goto detected. | GJB 4.5.1.2 |
M | 2686 | Value is not of appropriate type. : (unsigned int and int): comment = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 2689 | goto detected. | GJB 4.5.1.2 |
M | 2692 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2695 | goto detected. | GJB 4.5.1.2 |
M | 2699 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2701 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2702 | free used on string. | GJB 5.1.19 |
M | 2704 | Memory not freed after last reference. : comment |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_tcpcheck_expect (2710 to 3303 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3153 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3301 | Pointer not checked for null before use. : status_expr | GJB 5.1.15 |
M | 3118 | Pointer not checked for null before use. : comment | GJB 5.1.15 |
M | 3212 | Pointer not checked for null before use. : pattern | GJB 5.1.15 |
M | 3150 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 2710 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2712 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2712 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2716 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2725 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2726 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2728 | goto detected. | GJB 4.5.1.2 |
M | 2732 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2736 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2738 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 2739 | goto detected. | GJB 4.5.1.2 |
M | 2741 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2742 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a integer as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2743 | goto detected. | GJB 4.5.1.2 |
M | 2747 | Use of banned function or variable. : atol | GJB 4.7.1.4 |
M | 2747 | Value is not of appropriate type. : (unsigned int and int): min_recv = atol ( args [ cur_arg | GJB 4.6.1.8 |
M | 2748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2748 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2749 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects -1 or an integer from 0 to INT_MAX" , args [ cur_arg - 1 | GJB 4.6.1.8 |
M | 2750 | goto detected. | GJB 4.5.1.2 |
M | 2753 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2753 | Expression needs brackets. | GJB 5.1.2 |
M | 2755 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2755 | Expression needs brackets. | GJB 5.1.2 |
M | 2757 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2759 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2761 | goto detected. | GJB 4.5.1.2 |
M | 2763 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2763 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2763 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2766 | goto detected. | GJB 4.5.1.2 |
M | 2769 | Value is not of appropriate type. : (unsigned int and int): ( * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2771 | Value is not of appropriate type. : (unsigned int and int): ( * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2773 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2774 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a <pattern> as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2775 | goto detected. | GJB 4.5.1.2 |
M | 2778 | Value is not of appropriate type. : (unsigned int and int): pattern = args [ cur_arg | GJB 4.6.1.8 |
M | 2780 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2780 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2780 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2780 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2782 | goto detected. | GJB 4.5.1.2 |
M | 2785 | goto detected. | GJB 4.5.1.2 |
M | 2787 | Value is not of appropriate type. : (unsigned int and int): ( * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2789 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2790 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a <pattern> as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2791 | goto detected. | GJB 4.5.1.2 |
M | 2794 | Value is not of appropriate type. : (unsigned int and int): pattern = args [ cur_arg | GJB 4.6.1.8 |
M | 2796 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2796 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2799 | goto detected. | GJB 4.5.1.2 |
M | 2802 | Value is not of appropriate type. : (unsigned int and int): ( * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2804 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2804 | Expression needs brackets. | GJB 5.1.2 |
M | 2805 | goto detected. | GJB 4.5.1.2 |
M | 2809 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2810 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a <pattern> as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2811 | goto detected. | GJB 4.5.1.2 |
M | 2814 | Value is not of appropriate type. : (unsigned int and int): pattern = args [ cur_arg | GJB 4.6.1.8 |
M | 2816 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2816 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2816 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2816 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2818 | goto detected. | GJB 4.5.1.2 |
M | 2821 | goto detected. | GJB 4.5.1.2 |
M | 2823 | Value is not of appropriate type. : (unsigned int and int): ( * ( args [ cur_arg | GJB 4.6.1.8 |
M | 2825 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2826 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a <pattern> as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2827 | goto detected. | GJB 4.5.1.2 |
M | 2830 | Value is not of appropriate type. : (unsigned int and int): pattern = args [ cur_arg | GJB 4.6.1.8 |
M | 2832 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2834 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 2835 | goto detected. | GJB 4.5.1.2 |
M | 2839 | goto detected. | GJB 4.5.1.2 |
M | 2843 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2843 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2843 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2843 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2847 | goto detected. | GJB 4.5.1.2 |
M | 2850 | goto detected. | GJB 4.5.1.2 |
M | 2854 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2858 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2858 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2858 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 2859 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2859 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2859 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2859 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2860 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects at the name keyword as first argument followed by a pattern" , args [ orig_arg | GJB 4.6.1.8 |
M | 2862 | goto detected. | GJB 4.5.1.2 |
M | 2865 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2869 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2870 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2871 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : '%s' expects at a matching pattern ('str', 'beg', 'end', 'sub' or 'reg')" , args [ orig_arg | GJB 4.6.1.8 |
M | 2872 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 2873 | goto detected. | GJB 4.5.1.2 |
M | 2875 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2877 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2879 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2881 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2883 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2885 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s': log-format string is not supported with a regex matching method" , args [ orig_arg | GJB 4.6.1.8 |
M | 2887 | goto detected. | GJB 4.5.1.2 |
M | 2892 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : '%s' only supports 'str', 'beg', 'end', 'sub' or 'reg' (got '%s')" , args [ orig_arg | GJB 4.6.1.8 |
M | 2893 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2893 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2894 | goto detected. | GJB 4.5.1.2 |
M | 2900 | Value is not of appropriate type. : (unsigned int and int): npat = args [ cur_arg | GJB 4.6.1.8 |
M | 2902 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2903 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2903 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2903 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2903 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2905 | goto detected. | GJB 4.5.1.2 |
M | 2907 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2911 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 2913 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2914 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : '%s' expects at a matching pattern ('str', 'beg', 'end', 'sub' or 'reg')" , args [ orig_arg | GJB 4.6.1.8 |
M | 2915 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 2916 | goto detected. | GJB 4.5.1.2 |
M | 2918 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2920 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2922 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2924 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2926 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2928 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s': log-format string is not supported with a regex matching method" , args [ orig_arg | GJB 4.6.1.8 |
M | 2930 | goto detected. | GJB 4.5.1.2 |
M | 2935 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' : '%s' only supports 'str', 'beg', 'end', 'sub' or 'reg' (got '%s')" , args [ orig_arg | GJB 4.6.1.8 |
M | 2936 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 2936 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2937 | goto detected. | GJB 4.5.1.2 |
M | 2943 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 2944 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expect a pattern with the value keyword" , args [ orig_arg | GJB 4.6.1.8 |
M | 2945 | goto detected. | GJB 4.5.1.2 |
M | 2947 | Value is not of appropriate type. : (unsigned int and int): vpat = args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 2950 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2952 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 2953 | goto detected. | GJB 4.5.1.2 |
M | 2955 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2956 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2957 | goto detected. | GJB 4.5.1.2 |
M | 2960 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2960 | free used on string. | GJB 5.1.19 |
M | 2961 | Value is not of appropriate type. : (unsigned int and int): comment = strdup ( args [ cur_arg | GJB 4.6.1.8 |
M | 2964 | goto detected. | GJB 4.5.1.2 |
M | 2967 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2969 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2970 | goto detected. | GJB 4.5.1.2 |
M | 2972 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2973 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2974 | goto detected. | GJB 4.5.1.2 |
M | 2977 | Value is not of appropriate type. : (unsigned int and int): on_success_msg = args [ cur_arg | GJB 4.6.1.8 |
M | 2979 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2981 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 2982 | goto detected. | GJB 4.5.1.2 |
M | 2984 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2985 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2986 | goto detected. | GJB 4.5.1.2 |
M | 2989 | Value is not of appropriate type. : (unsigned int and int): on_error_msg = args [ cur_arg | GJB 4.6.1.8 |
M | 2991 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 2993 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 2994 | goto detected. | GJB 4.5.1.2 |
M | 2996 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 2997 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 2998 | goto detected. | GJB 4.5.1.2 |
M | 3000 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3002 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3004 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3006 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3010 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 3010 | Value is not of appropriate type. : (unsigned int and int): cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3011 | goto detected. | GJB 4.5.1.2 |
M | 3015 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3017 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 3018 | goto detected. | GJB 4.5.1.2 |
M | 3020 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3021 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 3022 | goto detected. | GJB 4.5.1.2 |
M | 3024 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3026 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3028 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3030 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3032 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3036 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 3036 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3037 | goto detected. | GJB 4.5.1.2 |
M | 3041 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3045 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 3046 | goto detected. | GJB 4.5.1.2 |
M | 3048 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3049 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects an expression as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 3050 | goto detected. | GJB 4.5.1.2 |
M | 3056 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3056 | Value is not of appropriate type. : (unsigned int and int): ( char * [] ) { args [ cur_arg | GJB 4.6.1.8 |
M | 3060 | goto detected. | GJB 4.5.1.2 |
M | 3065 | Value is not of appropriate type. : (unsigned int and int): | GJB 4.6.1.8 |
M | 3067 | goto detected. | GJB 4.5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3071 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3073 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "[!] not supported with '%s'" , args [ cur_arg | GJB 4.6.1.8 |
M | 3074 | goto detected. | GJB 4.5.1.2 |
M | 3076 | Value is not of appropriate type. : (unsigned int and int): ! * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3077 | Value is not of appropriate type. : (unsigned int and int): memprintf ( errmsg , "'%s' expects a string as argument" , args [ cur_arg | GJB 4.6.1.8 |
M | 3078 | goto detected. | GJB 4.5.1.2 |
M | 3080 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3082 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3084 | Value is not of appropriate type. : (unsigned int and int): strcasecmp ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3088 | Value is not of appropriate type. : (unsigned int and int): cur_arg | GJB 4.6.1.8 |
M | 3088 | Value is not of appropriate type. : (unsigned int and int): cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3089 | goto detected. | GJB 4.5.1.2 |
M | 3097 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 3102 | Value is not of appropriate type. : (unsigned int and int): args [ cur_arg | GJB 4.6.1.8 |
M | 3104 | goto detected. | GJB 4.5.1.2 |
M | 3110 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3113 | goto detected. | GJB 4.5.1.2 |
M | 3119 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 3131 | goto detected. | GJB 4.5.1.2 |
M | 3138 | goto detected. | GJB 4.5.1.2 |
M | 3144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3144 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3150 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3157 | goto detected. | GJB 4.5.1.2 |
M | 3165 | goto detected. | GJB 4.5.1.2 |
M | 3167 | Array bound exceeded. : expect.codes.codes[][*]; accessed=0 | GJB 4.6.1.2 |
M | 3167 | Signed/unsigned conversion without cast. : (int and unsigned int): chk -> expect.codes.codes [ chk -> expect.codes.num - 1 ] [ 0 ] = c1 | GJB 4.6.1.9 |
M | 3168 | Array bound exceeded. : expect.codes.codes[][*]; accessed=1 | GJB 4.6.1.2 |
M | 3168 | Signed/unsigned conversion without cast. : (int and unsigned int): chk -> expect.codes.codes [ chk -> expect.codes.num - 1 ] [ 1 ] = c2 | GJB 4.6.1.9 |
M | 3174 | goto detected. | GJB 4.5.1.2 |
M | 3181 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3185 | goto detected. | GJB 4.5.1.2 |
M | 3193 | goto detected. | GJB 4.5.1.2 |
M | 3199 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3204 | goto detected. | GJB 4.5.1.2 |
M | 3208 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3214 | goto detected. | GJB 4.5.1.2 |
M | 3221 | goto detected. | GJB 4.5.1.2 |
M | 3226 | goto detected. | GJB 4.5.1.2 |
M | 3233 | goto detected. | GJB 4.5.1.2 |
M | 3240 | goto detected. | GJB 4.5.1.2 |
M | 3251 | goto detected. | GJB 4.5.1.2 |
M | 3256 | goto detected. | GJB 4.5.1.2 |
M | 3263 | goto detected. | GJB 4.5.1.2 |
M | 3270 | goto detected. | GJB 4.5.1.2 |
M | 3280 | goto detected. | GJB 4.5.1.2 |
M | 3281 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3142 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3293 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 3296 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3300 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 2725 | Procedure contains UR data flow anomalies. : vpat | GJB 4.13.1.4 |
M | 3106 | Identifier reuse: label vs variable (MR). : next |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_overwrite_send_http_rule (3310 to 3379 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3310 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3316 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3317 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3318 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3319 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3320 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3321 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3324 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3324 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3324 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3330 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3331 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3333 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3333 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3333 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3340 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3344 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3346 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3348 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3349 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3353 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3358 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3358 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3364 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3365 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3367 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3367 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3367 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3374 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 3378 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3318 | Attempt to read from freed memory. : old | GJB 5.1.16 |
M | 3313 | Procedure contains UR data flow anomalies. : hdr | GJB 4.13.1.4 |
M | 3312 | Procedure contains UR data flow anomalies. : lf |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcpcheck_add_http_rule (3387 to 3467 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3464 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3387 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3399 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3414 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3416 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3437 | Empty then clause. | GJB 4.3.1.1 |
M | 3438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3438 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3443 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3443 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3443 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3448 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3448 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3452 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
check_proxy_tcpcheck (3470 to 3587 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3473 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3477 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3479 | goto detected. | GJB 4.5.1.2 |
M | 3482 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3483 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3484 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3489 | goto detected. | GJB 4.5.1.2 |
M | 3501 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3503 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3515 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3516 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3522 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3522 | free used on string. | GJB 5.1.19 |
M | 3524 | goto detected. | GJB 4.5.1.2 |
M | 3537 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3538 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 3543 | goto detected. | GJB 4.5.1.2 |
M | 3554 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3554 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3555 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3555 | free used on string. | GJB 5.1.19 |
M | 3561 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3562 | free used on string. | GJB 5.1.19 |
M | 3565 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3568 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3571 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3571 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3576 | Null case in switch statement. | GJB 4.3.1.8 |
M | 3577 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3560 | No default case in switch statement. | GJB 4.3.1.4 |
M | 3582 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3582 | free used on string. | GJB 5.1.19 |
M | 3516 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 3470 | Static procedure is not explicitly called in code analysed. : check_proxy_tcpcheck | GJB 4.7.1.3 |
M | 3587 | Memory not freed after last reference. : comment | GJB 5.1.17 |
M | 3587 | Memory not freed after last reference. : errmsg | GJB 5.1.17 |
M | 3587 | Memory not freed after last reference. : chk |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
deinit_tcpchecks (3596 to 3615 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3607 | Pointer not checked for null before use. : (node)->key | GJB 5.1.15 |
M | 3612 | Pointer not checked for null before use. : rs | GJB 5.1.15 |
M | 3607 | Pointer not checked for null before use. : rs | GJB 5.1.15 |
M | 3609 | Pointer not checked for null before use. : r | GJB 5.1.15 |
M | 3596 | Empty parameter list to procedure/function. : deinit_tcpchecks | GJB 4.1.1.10 |
M | 3606 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3612 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3596 | Static procedure is not explicitly called in code analysed. : deinit_tcpchecks | GJB 4.7.1.3 |
M | 3607 | Attempt to read from freed memory. : rs | GJB 5.1.16 |
M | 3610 | Attempt to read from freed memory. : r | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_tcpcheck_expect_str (3617 to 3655 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3625 | Pointer not checked for null before use. : tcpcheck | GJB 5.1.15 |
M | 3628 | Pointer not checked for null before use. : expect | GJB 5.1.15 |
M | 3617 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3622 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3622 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3650 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3619 | Procedure contains UR data flow anomalies. : prev_check |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_tcpcheck_send_strs (3657 to 3689 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3668 | Pointer not checked for null before use. : tcpcheck | GJB 5.1.15 |
M | 3671 | Pointer not checked for null before use. : send | GJB 5.1.15 |
M | 3685 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 3657 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3661 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3662 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3663 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3665 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3665 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3673 | Value is not of appropriate type. : (unsigned int and int): strs [ i | GJB 4.6.1.8 |
M | 3674 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3674 | Value is not of appropriate type. : (unsigned int and int): send -> data.len += strlen ( strs [ i | GJB 4.6.1.8 |
M | 3676 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 3683 | Value is not of appropriate type. : (unsigned int and int): strs [ i | GJB 4.6.1.8 |
M | 3684 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3684 | Value is not of appropriate type. : (unsigned int and int): in = strs [ i | GJB 4.6.1.8 |
M | 3684 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3684 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_tcpcheck (3692 to 3773 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3720 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3753 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3692 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3693 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3694 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3713 | goto detected. | GJB 4.5.1.2 |
M | 3724 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3726 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3726 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3726 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3726 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3726 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3727 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3727 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3727 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3727 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3727 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3729 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3731 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3734 | Value is not of appropriate type. : (unsigned int and int): action_kw_tcp_check_lookup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3741 | goto detected. | GJB 4.5.1.2 |
M | 3748 | goto detected. | GJB 4.5.1.2 |
M | 3756 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3757 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3708 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 3710 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 3692 | Static procedure is not explicitly called in code analysed. : proxy_parse_tcpcheck | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_httpcheck (3776 to 3877 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3820 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3874 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3852 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 3776 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3777 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3778 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3788 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3792 | goto detected. | GJB 4.5.1.2 |
M | 3793 | goto detected. | GJB 4.5.1.2 |
M | 3795 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3799 | goto detected. | GJB 4.5.1.2 |
M | 3800 | goto detected. | GJB 4.5.1.2 |
M | 3801 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 3813 | goto detected. | GJB 4.5.1.2 |
M | 3820 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3824 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3826 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3828 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3831 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 3834 | Value is not of appropriate type. : (unsigned int and int): action_kw_tcp_check_lookup ( args [ cur_arg | GJB 4.6.1.8 |
M | 3841 | goto detected. | GJB 4.5.1.2 |
M | 3848 | goto detected. | GJB 4.5.1.2 |
M | 3853 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3854 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3861 | goto detected. | GJB 4.5.1.2 |
M | 3808 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 3810 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 3776 | Static procedure is not explicitly called in code analysed. : proxy_parse_httpcheck | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_redis_check_opt (3880 to 3950 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3880 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3881 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3889 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3892 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3896 | goto detected. | GJB 4.5.1.2 |
M | 3907 | goto detected. | GJB 4.5.1.2 |
M | 3912 | goto detected. | GJB 4.5.1.2 |
M | 3915 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3919 | goto detected. | GJB 4.5.1.2 |
M | 3924 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3932 | goto detected. | GJB 4.5.1.2 |
M | 3942 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3943 | free used on string. | GJB 5.1.19 |
M | 3949 | goto detected. | GJB 4.5.1.2 |
M | 3880 | Function has no return statement. : proxy_parse_redis_check_opt | GJB 4.9.1.1 |
M | 3915 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 3924 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_ssl_hello_chk_opt (3954 to 4050 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3954 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3955 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3962 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3963 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 3990 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3993 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 3997 | goto detected. | GJB 4.5.1.2 |
M | 4008 | goto detected. | GJB 4.5.1.2 |
M | 4013 | goto detected. | GJB 4.5.1.2 |
M | 4016 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4020 | goto detected. | GJB 4.5.1.2 |
M | 4025 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4032 | goto detected. | GJB 4.5.1.2 |
M | 4042 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4043 | free used on string. | GJB 5.1.19 |
M | 4049 | goto detected. | GJB 4.5.1.2 |
M | 3954 | Function has no return statement. : proxy_parse_ssl_hello_chk_opt | GJB 4.9.1.1 |
M | 4016 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4025 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_smtpchk_opt (4053 to 4191 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4186 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 4053 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4054 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4062 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4065 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4069 | goto detected. | GJB 4.5.1.2 |
M | 4079 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 4079 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4079 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4079 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4080 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 4080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4080 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 4082 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4082 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg | GJB 4.6.1.8 |
M | 4082 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4082 | Value is not of appropriate type. : (unsigned int and int): strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4082 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4084 | Value is not of appropriate type. : (unsigned int and int): sprintf ( cmd , "%s %s" , args [ cur_arg | GJB 4.6.1.8 |
M | 4084 | Value is not of appropriate type. : (unsigned int and int): sprintf ( cmd , "%s %s" , args [ cur_arg ] , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4093 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4093 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4095 | goto detected. | GJB 4.5.1.2 |
M | 4107 | goto detected. | GJB 4.5.1.2 |
M | 4112 | goto detected. | GJB 4.5.1.2 |
M | 4115 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4119 | goto detected. | GJB 4.5.1.2 |
M | 4124 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4132 | goto detected. | GJB 4.5.1.2 |
M | 4137 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4146 | goto detected. | GJB 4.5.1.2 |
M | 4151 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4155 | goto detected. | GJB 4.5.1.2 |
M | 4160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4170 | goto detected. | GJB 4.5.1.2 |
M | 4180 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4181 | free used on string. | GJB 5.1.19 |
M | 4184 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4186 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4190 | goto detected. | GJB 4.5.1.2 |
M | 4053 | Function has no return statement. : proxy_parse_smtpchk_opt | GJB 4.9.1.1 |
M | 4115 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4124 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4137 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4151 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4160 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4191 | Memory not freed after last reference. : var | GJB 5.1.17 |
M | 4191 | Memory not freed after last reference. : cmd |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_pgsql_check_opt (4194 to 4337 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4332 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 4194 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4195 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4197 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4198 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4213 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4217 | goto detected. | GJB 4.5.1.2 |
M | 4227 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg | GJB 4.6.1.8 |
M | 4227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4227 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4230 | goto detected. | GJB 4.5.1.2 |
M | 4232 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 4233 | Value is not of appropriate type. : (unsigned int and int): packetlen = 15 + strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4234 | Value is not of appropriate type. : (unsigned int and int): user = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4239 | goto detected. | GJB 4.5.1.2 |
M | 4252 | goto detected. | GJB 4.5.1.2 |
M | 4263 | goto detected. | GJB 4.5.1.2 |
M | 4268 | goto detected. | GJB 4.5.1.2 |
M | 4273 | goto detected. | GJB 4.5.1.2 |
M | 4276 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4280 | goto detected. | GJB 4.5.1.2 |
M | 4285 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4289 | goto detected. | GJB 4.5.1.2 |
M | 4294 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4302 | goto detected. | GJB 4.5.1.2 |
M | 4307 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4316 | goto detected. | GJB 4.5.1.2 |
M | 4326 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4327 | free used on string. | GJB 5.1.19 |
M | 4330 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4331 | free used on string. | GJB 5.1.19 |
M | 4332 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4336 | goto detected. | GJB 4.5.1.2 |
M | 4194 | Function has no return statement. : proxy_parse_pgsql_check_opt | GJB 4.9.1.1 |
M | 4276 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4285 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4294 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4307 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4337 | Memory not freed after last reference. : var | GJB 5.1.17 |
M | 4337 | Memory not freed after last reference. : user |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_mysql_check_opt (4341 to 4562 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4557 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 4472 | Pointer not checked for null before use. : hdr | GJB 5.1.15 |
M | 4341 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4342 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4346 | Nested comment found. | GJB 4.10.1.1 |
M | 4347 | Nested comment found. | GJB 4.10.1.1 |
M | 4348 | Nested comment found. | GJB 4.10.1.1 |
M | 4349 | Nested comment found. | GJB 4.10.1.1 |
M | 4350 | Nested comment found. | GJB 4.10.1.1 |
M | 4351 | Nested comment found. | GJB 4.10.1.1 |
M | 4352 | Nested comment found. | GJB 4.10.1.1 |
M | 4353 | Nested comment found. | GJB 4.10.1.1 |
M | 4354 | Nested comment found. | GJB 4.10.1.1 |
M | 4355 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 4357 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4358 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4359 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4371 | Nested comment found. | GJB 4.10.1.1 |
M | 4372 | Nested comment found. | GJB 4.10.1.1 |
M | 4373 | Nested comment found. | GJB 4.10.1.1 |
M | 4374 | Nested comment found. | GJB 4.10.1.1 |
M | 4375 | Nested comment found. | GJB 4.10.1.1 |
M | 4376 | Nested comment found. | GJB 4.10.1.1 |
M | 4377 | Nested comment found. | GJB 4.10.1.1 |
M | 4378 | Nested comment found. | GJB 4.10.1.1 |
M | 4379 | Nested comment found. | GJB 4.10.1.1 |
M | 4380 | Nested comment found. | GJB 4.10.1.1 |
M | 4381 | Nested comment found. | GJB 4.10.1.1 |
M | 4382 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 4384 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4385 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4386 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4404 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4407 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4411 | goto detected. | GJB 4.5.1.2 |
M | 4421 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 4424 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg | GJB 4.6.1.8 |
M | 4425 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : '%s %s' only supports optional values: 'user' (got '%s').\n" , file , line , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 4427 | goto detected. | GJB 4.5.1.2 |
M | 4430 | Value is not of appropriate type. : (unsigned int and int): * ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4430 | Expression needs brackets. | GJB 5.1.2 |
M | 4430 | Value is not of appropriate type. : (char and signed char): * ( args [ cur_arg + 1 ] ) == 0 | GJB 4.6.1.8 |
M | 4431 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : '%s %s %s' expects <username> as argument.\n" , file , line , args [ 0 ] , args [ 1 ] , args [ cur_arg | GJB 4.6.1.8 |
M | 4433 | goto detected. | GJB 4.5.1.2 |
M | 4436 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4437 | Value is not of appropriate type. : (unsigned int and int): user = strdup ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4438 | Signed/unsigned conversion without cast. : (int and unsigned int): userlen = strlen | GJB 4.6.1.9 |
M | 4438 | Value is not of appropriate type. : (unsigned int and int): userlen = strlen ( args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4440 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4442 | goto detected. | GJB 4.5.1.2 |
M | 4445 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 2 | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 4445 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4445 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4445 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4450 | Value is not of appropriate type. : (unsigned int and int): strcmp ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4456 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : keyword '%s' only supports 'post-41' and 'pre-41' (got '%s').\n" , file , line , args [ cur_arg | GJB 4.6.1.8 |
M | 4456 | Value is not of appropriate type. : (unsigned int and int): ha_alert ( "parsing [%s:%d] : keyword '%s' only supports 'post-41' and 'pre-41' (got '%s').\n" , file , line , args [ cur_arg ] , args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4458 | goto detected. | GJB 4.5.1.2 |
M | 4461 | Value is not of appropriate type. : (char and unsigned char): hdr [ 0 ] = ( unsigned char | GJB 4.6.1.8 |
M | 4462 | Value is not of appropriate type. : (char and unsigned char): hdr [ 1 ] = ( unsigned char | GJB 4.6.1.8 |
M | 4462 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 4463 | Value is not of appropriate type. : (char and unsigned char): hdr [ 2 ] = ( unsigned char | GJB 4.6.1.8 |
M | 4463 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 4464 | Value is not of appropriate type. : (char and signed char): hdr [ 3 ] = 1 | GJB 4.6.1.8 |
M | 4469 | goto detected. | GJB 4.5.1.2 |
M | 4482 | goto detected. | GJB 4.5.1.2 |
M | 4495 | goto detected. | GJB 4.5.1.2 |
M | 4500 | goto detected. | GJB 4.5.1.2 |
M | 4503 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4507 | goto detected. | GJB 4.5.1.2 |
M | 4509 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4513 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4517 | goto detected. | GJB 4.5.1.2 |
M | 4519 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4527 | goto detected. | GJB 4.5.1.2 |
M | 4530 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4534 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4538 | goto detected. | GJB 4.5.1.2 |
M | 4541 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4550 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4551 | free used on string. | GJB 5.1.19 |
M | 4554 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4556 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4556 | free used on string. | GJB 5.1.19 |
M | 4557 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4561 | goto detected. | GJB 4.5.1.2 |
M | 4341 | Function has no return statement. : proxy_parse_mysql_check_opt | GJB 4.9.1.1 |
M | 4503 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4513 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4523 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4534 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4562 | Memory not freed after last reference. : var | GJB 5.1.17 |
M | 4562 | Memory not freed after last reference. : hdr | GJB 5.1.17 |
M | 4562 | Memory not freed after last reference. : user |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_ldap_check_opt (4564 to 4642 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4564 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4565 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4572 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4575 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4579 | goto detected. | GJB 4.5.1.2 |
M | 4590 | goto detected. | GJB 4.5.1.2 |
M | 4595 | goto detected. | GJB 4.5.1.2 |
M | 4598 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4602 | goto detected. | GJB 4.5.1.2 |
M | 4607 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4614 | goto detected. | GJB 4.5.1.2 |
M | 4619 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4623 | goto detected. | GJB 4.5.1.2 |
M | 4634 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4635 | free used on string. | GJB 5.1.19 |
M | 4641 | goto detected. | GJB 4.5.1.2 |
M | 4564 | Function has no return statement. : proxy_parse_ldap_check_opt | GJB 4.9.1.1 |
M | 4598 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4607 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4619 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_spop_check_opt (4644 to 4719 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4644 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4645 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4650 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4651 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4654 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4658 | goto detected. | GJB 4.5.1.2 |
M | 4670 | goto detected. | GJB 4.5.1.2 |
M | 4675 | goto detected. | GJB 4.5.1.2 |
M | 4680 | goto detected. | GJB 4.5.1.2 |
M | 4686 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4690 | goto detected. | GJB 4.5.1.2 |
M | 4695 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4699 | goto detected. | GJB 4.5.1.2 |
M | 4710 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4711 | free used on string. | GJB 5.1.19 |
M | 4712 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4712 | free used on string. | GJB 5.1.19 |
M | 4718 | goto detected. | GJB 4.5.1.2 |
M | 4644 | Function has no return statement. : proxy_parse_spop_check_opt | GJB 4.9.1.1 |
M | 4686 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 4695 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_httpchk_req (4722 to 4846 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4722 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4722 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4726 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4729 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4729 | Value is not of appropriate type. : (unsigned int and int): strstr ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4730 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4730 | Value is not of appropriate type. : (unsigned int and int): strstr ( args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4746 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4749 | goto detected. | GJB 4.5.1.2 |
M | 4758 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg | GJB 4.6.1.8 |
M | 4759 | Value is not of appropriate type. : (unsigned int and int): ! * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4760 | Value is not of appropriate type. : (unsigned int and int): uri = args [ cur_arg | GJB 4.6.1.8 |
M | 4762 | Value is not of appropriate type. : (unsigned int and int): meth = args [ cur_arg | GJB 4.6.1.8 |
M | 4764 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4765 | Value is not of appropriate type. : (unsigned int and int): uri = args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4766 | Value is not of appropriate type. : (unsigned int and int): * args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4767 | Value is not of appropriate type. : (unsigned int and int): vsn = args [ cur_arg + 2 | GJB 4.6.1.8 |
M | 4775 | goto detected. | GJB 4.5.1.2 |
M | 4782 | goto detected. | GJB 4.5.1.2 |
M | 4789 | goto detected. | GJB 4.5.1.2 |
M | 4797 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4803 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4808 | goto detected. | GJB 4.5.1.2 |
M | 4811 | Value is not of appropriate type. : (unsigned int and int): istlen ( tmp_hdrs [ i | GJB 4.6.1.8 |
M | 4812 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4815 | goto detected. | GJB 4.5.1.2 |
M | 4818 | Value is not of appropriate type. : (unsigned int and int): hdr -> name = istdup ( tmp_hdrs [ i | GJB 4.6.1.8 |
M | 4821 | goto detected. | GJB 4.5.1.2 |
M | 4824 | Value is not of appropriate type. : (unsigned int and int): ist0 ( tmp_hdrs [ i | GJB 4.6.1.8 |
M | 4825 | Value is not of appropriate type. : (unsigned int and int): istptr ( tmp_hdrs [ i | GJB 4.6.1.8 |
M | 4826 | goto detected. | GJB 4.5.1.2 |
M | 4836 | goto detected. | GJB 4.5.1.2 |
M | 4840 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4846 | Memory not freed after last reference. : hdr | GJB 5.1.17 |
M | 4732 | Procedure contains UR data flow anomalies. : hdrs |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_httpchk_opt (4849 to 4916 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4913 | Pointer not checked for null before use. : chk | GJB 5.1.15 |
M | 4901 | Pointer not checked for null before use. : errmsg | GJB 5.1.15 |
M | 4849 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4855 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4858 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4862 | goto detected. | GJB 4.5.1.2 |
M | 4867 | goto detected. | GJB 4.5.1.2 |
M | 4872 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4872 | free used on string. | GJB 5.1.19 |
M | 4894 | goto detected. | GJB 4.5.1.2 |
M | 4904 | goto detected. | GJB 4.5.1.2 |
M | 4907 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4908 | free used on string. | GJB 5.1.19 |
M | 4915 | goto detected. | GJB 4.5.1.2 |
M | 4849 | Function has no return statement. : proxy_parse_httpchk_opt | GJB 4.9.1.1 |
M | 4889 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 4891 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 4913 | Attempt to read from freed memory. : chk | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
proxy_parse_tcp_check_opt (4919 to 4980 tcpcheck.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4919 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4920 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4926 | Value is not of appropriate type. : (unsigned int and int): warnifnotcap ( curpx , PR_CAP_BE , file , line , args [ cur_arg + 1 | GJB 4.6.1.8 |
M | 4930 | goto detected. | GJB 4.5.1.2 |
M | 4938 | goto detected. | GJB 4.5.1.2 |
M | 4944 | goto detected. | GJB 4.5.1.2 |
M | 4950 | goto detected. | GJB 4.5.1.2 |
M | 4964 | goto detected. | GJB 4.5.1.2 |
M | 4979 | goto detected. | GJB 4.5.1.2 |
M | 4919 | Function has no return statement. : proxy_parse_tcp_check_opt | GJB 4.9.1.1 |
M | 4948 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 4959 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 4961 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
die (82 to 92 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 82 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 87 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 89 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
usage (95 to 151 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 95 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dolog (153 to 197 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 153 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 153 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 166 | Expression needs brackets. | GJB 5.1.2 |
M | 194 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 196 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
unescape (200 to 217 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 202 | Name redeclared in another C name space (MR). : len | GJB 4.1.1.16 |
M | 204 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 204 | Pointer not checked for null before use. : in | GJB 5.1.15 |
M | 200 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 200 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 207 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 208 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 209 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 210 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_err_msg (219 to 229 tcploop.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : alloc_err_msg | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 223 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 223 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 228 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 219 | Procedure is not called or referenced in code analysed. : alloc_err_msg | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sig_handler (231 to 237 tcploop.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : sig_handler | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 235 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 231 | Procedure is not called or referenced in code analysed. : sig_handler | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
addr_to_ss (242 to 298 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 269 | Pointer not checked for null before use. : ss | GJB 5.1.15 |
M | 259 | Pointer not checked for null before use. : ss | GJB 5.1.15 |
M | 242 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 244 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 252 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 252 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 253 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 260 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 261 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 265 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 270 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 270 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 272 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 279 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 279 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 282 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 286 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 293 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wait_on_fd (303 to 315 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 312 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 312 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 312 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_set_nodelay (317 to 320 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 317 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_set_nolinger (322 to 325 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 322 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 324 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 324 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_set_noquickack (327 to 335 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 327 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_listen (338 to 385 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 338 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 344 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 348 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 355 | Use of banned function or variable. : perror | GJB 4.7.1.4 |
M | 360 | Use of banned function or variable. : perror | GJB 4.7.1.4 |
M | 361 | goto detected. | GJB 4.5.1.2 |
M | 370 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 371 | Use of sizeof on a type. | GJB 5.1.8 |
M | 371 | Use of sizeof on a type. | GJB 5.1.8 |
M | 372 | Use of banned function or variable. : perror | GJB 4.7.1.4 |
M | 373 | goto detected. | GJB 4.5.1.2 |
M | 377 | Use of banned function or variable. : perror | GJB 4.7.1.4 |
M | 378 | goto detected. | GJB 4.5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_accept (388 to 419 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 388 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 394 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 406 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 406 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 406 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 406 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 407 | Use of banned function or variable. : perror | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_connect (422 to 445 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 431 | goto detected. | GJB 4.5.1.2 |
M | 434 | goto detected. | GJB 4.5.1.2 |
M | 436 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 436 | Use of sizeof on a type. | GJB 5.1.8 |
M | 437 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 438 | goto detected. | GJB 4.5.1.2 |
M | 436 | Procedure contains UR data flow anomalies. : struct | GJB 4.13.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_disconnect (448 to 453 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 450 | Struct field initialisation incorrect. | GJB 4.13.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_recv (460 to 503 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 460 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 467 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 476 | Signed/unsigned conversion without cast. : (int and unsigned int): max > sizeof | GJB 4.6.1.9 |
M | 480 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 482 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 486 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 496 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_send (513 to 553 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 513 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 521 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 526 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 530 | Signed/unsigned conversion without cast. : (int and unsigned int): ( count < sizeof | GJB 4.6.1.9 |
M | 531 | Signed/unsigned conversion without cast. : (int and unsigned int): ( count > sizeof | GJB 4.6.1.9 |
M | 533 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 535 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 539 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 546 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 519 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_echo (558 to 619 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 558 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 565 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 576 | Signed/unsigned conversion without cast. : (int and unsigned int): ( count < sizeof | GJB 4.6.1.9 |
M | 578 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 580 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 584 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 595 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 597 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 601 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 612 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_wait (624 to 649 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 624 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 631 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 643 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 643 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 643 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_wait_in (652 to 667 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 652 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 661 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 661 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 661 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 663 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 663 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_wait_out (670 to 690 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 670 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 679 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 679 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 681 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_pause (693 to 707 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 693 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 698 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tcp_fork (714 to 734 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 714 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 720 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 728 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (736 to 952 tcploop.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 751 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 841 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 852 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 939 | Pointer not checked for null before use. : argv | GJB 5.1.15 |
M | 736 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 740 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 749 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 749 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 769 | Use of banned function or variable. : signal | GJB 4.7.1.4 |
M | 779 | Array bound exceeded. : argv[][*]; accessed=0 | GJB 4.6.1.2 |
M | 779 | Value is not of appropriate type. : (unsigned int and int): argv [ arg | GJB 4.6.1.8 |
M | 783 | Value is not of appropriate type. : (unsigned int and int): & ss , argv [ arg | GJB 4.6.1.8 |
M | 791 | Value is not of appropriate type. : (unsigned int and int): & ss , argv [ arg | GJB 4.6.1.8 |
M | 799 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 799 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 807 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 817 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 824 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 831 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 838 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 849 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 860 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 865 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 872 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 880 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 888 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 894 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 894 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 908 | Value is not of appropriate type. : (unsigned int and int): sock , argv [ arg | GJB 4.6.1.8 |
M | 923 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 926 | Expression needs brackets. | GJB 5.1.2 |
M | 927 | Value is not of appropriate type. : (unsigned int and int): 1 , "Fatal: missing argument after %s\n" , argv [ arg | GJB 4.6.1.8 |
M | 932 | Array bound exceeded. : argv[][*]; accessed=1 | GJB 4.6.1.2 |
M | 932 | Value is not of appropriate type. : (unsigned int and int): ! argv [ arg | GJB 4.6.1.8 |
M | 932 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 932 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 932 | Value is not of appropriate type. : (unsigned int and int): strchr ( argv [ arg | GJB 4.6.1.8 |
M | 934 | Array bound exceeded. : argv[][*]; accessed=1 | GJB 4.6.1.2 |
M | 934 | Value is not of appropriate type. : (unsigned int and int): ! argv [ arg | GJB 4.6.1.8 |
M | 934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 934 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 934 | Value is not of appropriate type. : (unsigned int and int): strchr ( argv [ arg | GJB 4.6.1.8 |
M | 936 | Array bound exceeded. : argv[][*]; accessed=1 | GJB 4.6.1.2 |
M | 936 | Value is not of appropriate type. : (unsigned int and int): ! argv [ arg | GJB 4.6.1.8 |
M | 936 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 936 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 936 | Value is not of appropriate type. : (unsigned int and int): strchr ( argv [ arg | GJB 4.6.1.8 |
M | 940 | Name found with length less than 2. : e | GJB 4.8.1.1 |
M | 940 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 944 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 949 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 739 | Procedure contains UR data flow anomalies. : err.size |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (6 to 44 test-arg.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 6 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 10 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 11 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 22 | Use of banned function or variable. : atoll | GJB 4.7.1.4 |
M | 22 | Type conversion without cast. : (int and long long): mask = atoll | GJB 4.6.1.9 |
M | 30 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 30 | free used on string. | GJB 5.1.19 |
M | 37 | Name reused in inner scope. : arg | GJB 4.15.1.2,4.15.1.5 |
M | 40 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 40 | Value is not of appropriate type. : (unsigned int and int): printf ( "arg %d: type=%d, int=0x%08x\n" , arg , argp [ arg | GJB 4.6.1.8 |
M | 40 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 40 | Value is not of appropriate type. : (unsigned int and int): printf ( "arg %d: type=%d, int=0x%08x\n" , arg , argp [ arg ].type , * ( int * ) & argp [ arg | GJB 4.6.1.8 |
M | 44 | Memory not freed after last reference. : err_msg | GJB 5.1.17 |
M | 8 | Procedure contains UR data flow anomalies. : err_arg |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
thread (22 to 67 test-list.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
M | Procedure is not explicitly called in code analysed. : thread | GJB 4.7.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 35 | Pointer not checked for null before use. : lol | GJB 5.1.15 |
M | 40 | Pointer not checked for null before use. : lol | GJB 5.1.15 |
M | 27 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 29 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 30 | Name reused in inner scope. : lol | GJB 4.15.1.2,4.15.1.5 |
M | 31 | Name reused in inner scope. : elt1 | GJB 4.15.1.2,4.15.1.5 |
M | 31 | Name reused in inner scope. : elt2 | GJB 4.15.1.2,4.15.1.5 |
M | 34 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 39 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 46 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 56 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 22 | Function has no return statement. : thread | GJB 4.9.1.1 |
M | 66 | Memory not freed after last reference. : lol | GJB 5.1.17 |
M | 31 | Procedure contains UR data flow anomalies. : elt1 | GJB 4.13.1.4 |
M | 22 | Procedure is not called or referenced in code analysed. : thread | GJB 4.7.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (69 to 98 test-list.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 69 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 79 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 86 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 91 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): pthread_create ( & pth [ i | GJB 4.6.1.8 |
M | 92 | Value is not of appropriate type. : (unsigned int and int): thread , ( void * ) ( uintptr_t ) | GJB 4.6.1.8 |
M | 95 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 96 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 96 | Value is not of appropriate type. : (unsigned int and int): pthread_join ( pth [ i | GJB 4.6.1.8 |
M | 98 | Memory not freed after last reference. : pth |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (1 to 12 test.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
timeval_current (17 to 22 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 19 | Procedure contains UR data flow anomalies. : tv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
timeval_elapsed (24 to 29 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 27 | Value is not of appropriate type. : (int and double): ( tv2.tv_sec - tv -> tv_sec ) + ( tv2.tv_usec - tv -> tv_usec ) | GJB 4.6.1.8 |
M | 27 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
haproxy_uri_hash (33 to 46 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 33 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 36 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 38 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 39 | Type conversion without cast. : (int and char): c = *uri | GJB 4.6.1.9 |
M | 39 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 40 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 42 | Signed/unsigned conversion without cast. : (unsigned long and int): hash = c | GJB 4.6.1.9 |
M | 42 | Signed/unsigned conversion without cast. : (int and unsigned long): hash = c + ( | GJB 4.6.1.9 |
M | 42 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 42 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sax_hash (51 to 61 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 53 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 54 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 55 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 58 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 58 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 58 | Value is not of appropriate type. : (unsigned int and int): h ^= ( h << 5 ) + ( h >> 2 ) + p [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
haproxy_server_hash (65 to 74 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 65 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 66 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 66 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 67 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 67 | Signed/unsigned conversion without cast. : (unsigned int and int): l = h | GJB 4.6.1.9 |
M | 69 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 69 | Use of sizeof on a type. | GJB 5.1.8 |
M | 69 | Signed/unsigned conversion without cast. : (unsigned int and int): ( l + sizeof ( int ) ) <= len | GJB 4.6.1.9 |
M | 70 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 71 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 71 | Use of sizeof on a type. | GJB 5.1.8 |
M | 73 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hashpjw (77 to 104 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 79 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 87 | Signed/unsigned conversion without cast. : (unsigned int and int): val | GJB 4.6.1.9 |
M | 90 | Type conversion without cast. : (void and char): * ptr != '\0' | GJB 4.6.1.9 |
M | 94 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 96 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 96 | Signed/unsigned conversion without cast. : (int and unsigned int): ( tmp = ( val & 0xf0000000 | GJB 4.6.1.9 |
M | 97 | Signed/unsigned conversion without cast. : (unsigned int and int): val = val ^ ( | GJB 4.6.1.9 |
M | 97 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 103 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_djbx33 (106 to 135 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 116 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 117 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 118 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 119 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 120 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 121 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 122 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 126 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 127 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 128 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 129 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 130 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 131 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 115 | Pointer not checked for null before use. : key | GJB 5.1.15 |
M | 114 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 114 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 115 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 115 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 115 | Expression needs brackets. | GJB 5.1.2 |
M | 116 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 116 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 116 | Expression needs brackets. | GJB 5.1.2 |
M | 117 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 117 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 117 | Expression needs brackets. | GJB 5.1.2 |
M | 118 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 118 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 118 | Expression needs brackets. | GJB 5.1.2 |
M | 119 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 119 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 119 | Expression needs brackets. | GJB 5.1.2 |
M | 120 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 120 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 120 | Expression needs brackets. | GJB 5.1.2 |
M | 121 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 121 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 121 | Expression needs brackets. | GJB 5.1.2 |
M | 122 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 122 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 122 | Expression needs brackets. | GJB 5.1.2 |
M | 125 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 125 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 125 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 125 | Expression needs brackets. | GJB 5.1.2 |
M | 126 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 126 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 126 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 126 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 126 | Expression needs brackets. | GJB 5.1.2 |
M | 127 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 127 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 127 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 127 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 127 | Expression needs brackets. | GJB 5.1.2 |
M | 128 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 128 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 128 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 128 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 128 | Expression needs brackets. | GJB 5.1.2 |
M | 129 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 129 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 129 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 129 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 129 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 130 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 130 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 130 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 130 | Expression needs brackets. | GJB 5.1.2 |
M | 131 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 131 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 131 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 131 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 131 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
bernstein (140 to 145 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 142 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 143 | Signed/unsigned conversion without cast. : (unsigned long and int): i | GJB 4.6.1.9 |
M | 143 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 143 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 143 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
SuperFastHash (161 to 204 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 172 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 161 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 162 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 162 | Value is not of appropriate type. : (unsigned int and int): len | GJB 4.6.1.8 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 165 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 168 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 172 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 172 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 172 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 172 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 173 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 1 ] | GJB 4.6.1.8 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 0 ] | GJB 4.6.1.8 |
M | 176 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 181 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 181 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 183 | Operation not appropriate to plain char. : ^= used with char | GJB 4.1.1.15 |
M | 183 | Type conversion without cast. : (unsigned int and char): hash ^= data | GJB 4.6.1.9 |
M | 183 | Operation not appropriate to plain char. : << used with char: data | GJB 4.1.1.15 |
M | 183 | Shifting value too far. | GJB 4.6.1.4 |
M | 184 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 186 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 186 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 188 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 190 | Type conversion without cast. : (unsigned int and char): hash += *data | GJB 4.6.1.9 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 193 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 180 | No default case in switch statement. | GJB 4.3.1.4 |
M | 197 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 199 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 201 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
SuperFastHash2 (209 to 254 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 221 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 209 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 210 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 210 | Value is not of appropriate type. : (unsigned int and int): len | GJB 4.6.1.8 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 213 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 216 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 221 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 1 ] | GJB 4.6.1.8 |
M | 221 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 221 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 0 ] | GJB 4.6.1.8 |
M | 222 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 222 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 222 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 222 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 231 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 233 | Operation not appropriate to plain char. : ^= used with char | GJB 4.1.1.15 |
M | 233 | Type conversion without cast. : (unsigned int and char): hash ^= data | GJB 4.6.1.9 |
M | 233 | Operation not appropriate to plain char. : << used with char: data | GJB 4.1.1.15 |
M | 233 | Shifting value too far. | GJB 4.6.1.4 |
M | 234 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 236 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 236 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 238 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 240 | Type conversion without cast. : (unsigned int and char): hash += *data | GJB 4.6.1.9 |
M | 242 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 243 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 230 | No default case in switch statement. | GJB 4.3.1.4 |
M | 247 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 249 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 251 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fnv_32a_str (274 to 302 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 275 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 277 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 277 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 285 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 285 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 296 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hashword (413 to 446 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 426 | Pointer not checked for null before use. : k | GJB 5.1.15 |
M | 414 | Name found with length less than 2. : k | GJB 4.8.1.1 |
M | 418 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 418 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 418 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 421 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 421 | Signed/unsigned conversion without cast. : (unsigned int and int): a = b = c | GJB 4.6.1.9 |
M | 421 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 424 | Signed/unsigned conversion without cast. : (unsigned int and int): length | GJB 4.6.1.9 |
M | 426 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 427 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 428 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 429 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 430 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 437 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 437 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 437 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 438 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 438 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 438 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 439 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 439 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 440 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 441 | Signed/unsigned conversion without cast. : (unsigned int and int): case | GJB 4.6.1.9 |
M | 435 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
kr_hash (451 to 459 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 451 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 451 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 454 | Signed/unsigned conversion without cast. : (unsigned int and int): hashval | GJB 4.6.1.9 |
M | 455 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 455 | Type conversion without cast. : (unsigned int and char): hashval = *s | GJB 4.6.1.9 |
M | 455 | Value is not of appropriate type. : (char and signed char): hashval = *s | GJB 4.6.1.8 |
M | 455 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
fnv_hash (461 to 471 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 463 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 464 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 465 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 468 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 468 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 468 | Value is not of appropriate type. : (unsigned int and int): h = ( h * 16777619 ) ^ p [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
oat_hash (473 to 490 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 476 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 477 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 480 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 480 | Value is not of appropriate type. : (unsigned int and int): h += p [ i | GJB 4.6.1.8 |
M | 481 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 485 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 487 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
wt_hash (492 to 507 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 499 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 494 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 495 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 499 | Value is not of appropriate type. : (void and signed char): h ^= *p | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (529 to 559 test_hashes.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 551 | Pointer not checked for null before use. : urls | GJB 5.1.15 |
M | 549 | Pointer not checked for null before use. : urls | GJB 5.1.15 |
M | 529 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 531 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 534 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 534 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 540 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 542 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 542 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 542 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 542 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 543 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 543 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 543 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 543 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 544 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 544 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 544 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 544 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 545 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 545 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 545 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 545 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 546 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 546 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 546 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 546 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 547 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 547 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 547 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 547 | Signed/unsigned conversion without cast. : (unsigned long and int): hashpjw | GJB 4.6.1.9 |
M | 547 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 548 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 548 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 548 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 548 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 548 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 549 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 549 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 549 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 549 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 549 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 550 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 550 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 550 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 550 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 551 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 551 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 551 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 551 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 551 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 552 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 552 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 552 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 552 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 553 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 553 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 553 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 553 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 554 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 554 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 554 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 554 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 555 | Signed/unsigned conversion without cast. : (unsigned long and int): count | GJB 4.6.1.9 |
M | 555 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 555 | Signed/unsigned conversion without cast. : (unsigned long and int): loop | GJB 4.6.1.9 |
M | 555 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 549 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 3 | GJB 4.7.1.9 |
M | 550 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
timeval_current (17 to 22 test_pools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 19 | Procedure contains UR data flow anomalies. : tv |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
timeval_elapsed (24 to 29 test_pools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 27 | Value is not of appropriate type. : (int and double): ( tv2.tv_sec - tv -> tv_sec ) + ( tv2.tv_usec - tv -> tv_usec ) | GJB 4.6.1.8 |
M | 27 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
pool_destroy (113 to 122 test_pools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 119 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 120 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
test_speed1 (129 to 199 test_pools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 158 | Pointer not checked for null before use. : pool_talloc | GJB 5.1.15 |
M | 145 | Pointer not checked for null before use. : __p | GJB 5.1.15 |
M | 146 | Pointer not checked for null before use. : __p | GJB 5.1.15 |
M | 148 | Pointer not checked for null before use. : __p | GJB 5.1.15 |
M | 132 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 132 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 132 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 132 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 132 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 135 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 141 | Signed/unsigned conversion without cast. : (unsigned int and int): count | GJB 4.6.1.9 |
M | 145 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 145 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 145 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 145 | Numeric overflow. | GJB 4.6.1.14 |
M | 145 | Expression needs brackets. | GJB 5.1.2 |
M | 145 | Use of sizeof on a type. | GJB 5.1.8 |
M | 145 | Signed/unsigned conversion without cast. : (int and unsigned int): ( 10 + loop % 100 ) >= sizeof | GJB 4.6.1.9 |
M | 145 | Numeric overflow. | GJB 4.6.1.14 |
M | 145 | Expression needs brackets. | GJB 5.1.2 |
M | 145 | Use of sizeof on a type. | GJB 5.1.8 |
M | 145 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 145 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 146 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 146 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 146 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 146 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 146 | Use of sizeof on a type. | GJB 5.1.8 |
M | 146 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 146 | Use of sizeof on a type. | GJB 5.1.8 |
M | 146 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 146 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 148 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 148 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 148 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 148 | Use of sizeof on a type. | GJB 5.1.8 |
M | 148 | Use of sizeof on a type. | GJB 5.1.8 |
M | 148 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 148 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 149 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 149 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 149 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 150 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 150 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 150 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 151 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 151 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 151 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 153 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 156 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 161 | Signed/unsigned conversion without cast. : (unsigned int and int): count | GJB 4.6.1.9 |
M | 165 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 165 | Numeric overflow. | GJB 4.6.1.14 |
M | 165 | Expression needs brackets. | GJB 5.1.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 166 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 168 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 169 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 170 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 171 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 173 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 175 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 132 | Memory not freed after last reference. : __p | GJB 5.1.17 |
M | 145 | Memory not freed after last reference. : __p | GJB 5.1.17 |
M | 146 | Memory not freed after last reference. : __p | GJB 5.1.17 |
M | 148 | Memory not freed after last reference. : __p |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (201 to 207 test_pools.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (23 to 27 testinet.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 23 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 24 | Use of sizeof on a type. | GJB 5.1.8 |
M | 25 | Use of sizeof on a type. | GJB 5.1.8 |
M | 26 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_nbthread (249 to 274 thread.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 249 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 249 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 252 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 255 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 273 | Function return type inconsistent. : (int and long) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_tv_ms_add (39 to 48 time.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_tv_ms_remain (84 to 87 time.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 86 | Function return type inconsistent. : (unsigned long and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_tv_ms_remain2 (94 to 100 time.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 97 | Function return type inconsistent. : (unsigned long and int) | GJB 4.9.1.4 |
M | 99 | Function return type inconsistent. : (unsigned long and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_tv_ms_elapsed (106 to 109 time.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 108 | Function return type inconsistent. : (unsigned long and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tv_update_date (176 to 264 time.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 188 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 188 | Signed/unsigned conversion without cast. : (unsigned int and int): samp_time = idle_time | GJB 4.6.1.9 |
M | 192 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 195 | goto detected. | GJB 4.5.1.2 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 231 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 250 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 261 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 262 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 262 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
timeofday_as_iso_us (274 to 302 time.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 286 | Pointer not checked for null before use. : offset | GJB 5.1.15 |
M | 274 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 278 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 279 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 279 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 281 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 291 | Signed/unsigned conversion without cast. : (unsigned int and int): iso_time_sec = new_date.tv_sec | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ulltoa (86 to 181 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 86 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 86 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 86 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 88 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 89 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 92 | Signed/unsigned conversion without cast. : (uns long long and long): case 1ULL ... | GJB 4.6.1.9 |
M | 96 | Signed/unsigned conversion without cast. : (uns long long and long): case 10ULL ... | GJB 4.6.1.9 |
M | 100 | Signed/unsigned conversion without cast. : (uns long long and long): case 100ULL ... | GJB 4.6.1.9 |
M | 104 | Signed/unsigned conversion without cast. : (uns long long and long): case 1000ULL ... | GJB 4.6.1.9 |
M | 108 | Signed/unsigned conversion without cast. : (uns long long and long): case 10000ULL ... | GJB 4.6.1.9 |
M | 112 | Signed/unsigned conversion without cast. : (uns long long and long): case 100000ULL ... | GJB 4.6.1.9 |
M | 116 | Signed/unsigned conversion without cast. : (uns long long and long): case 1000000ULL ... | GJB 4.6.1.9 |
M | 120 | Signed/unsigned conversion without cast. : (uns long long and long): case 10000000ULL ... | GJB 4.6.1.9 |
M | 124 | Signed/unsigned conversion without cast. : (uns long long and long): case 100000000ULL ... | GJB 4.6.1.9 |
M | 128 | Signed/unsigned conversion without cast. : (uns long long and long): case 1000000000ULL ... | GJB 4.6.1.9 |
M | 132 | Signed/unsigned conversion without cast. : (uns long long and long): case 10000000000ULL ... | GJB 4.6.1.9 |
M | 136 | Signed/unsigned conversion without cast. : (uns long long and long): case 100000000000ULL ... | GJB 4.6.1.9 |
M | 140 | Signed/unsigned conversion without cast. : (uns long long and long): case 1000000000000ULL ... | GJB 4.6.1.9 |
M | 144 | Signed/unsigned conversion without cast. : (uns long long and long): case 10000000000000ULL ... | GJB 4.6.1.9 |
M | 148 | Signed/unsigned conversion without cast. : (uns long long and long): case 100000000000000ULL ... | GJB 4.6.1.9 |
M | 152 | Signed/unsigned conversion without cast. : (uns long long and long): case 1000000000000000ULL ... | GJB 4.6.1.9 |
M | 156 | Signed/unsigned conversion without cast. : (uns long long and long): case 10000000000000000ULL ... | GJB 4.6.1.9 |
M | 160 | Signed/unsigned conversion without cast. : (uns long long and long): case 100000000000000000ULL ... | GJB 4.6.1.9 |
M | 91 | No default case in switch statement. | GJB 4.3.1.4 |
M | 172 | Signed/unsigned conversion without cast. : (int and unsigned int): i + 2 | GJB 4.6.1.9 |
M | 172 | Expression needs brackets. | GJB 5.1.2 |
M | 177 | Value is not of appropriate type. : (unsigned int and int): dst [ i | GJB 4.6.1.8 |
M | 177 | Type conversion without cast. : (char and uns long long): dst [ i ] = n | GJB 4.6.1.9 |
M | 177 | Expression needs brackets. | GJB 5.1.2 |
M | 178 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 180 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ultoa_o (189 to 293 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 189 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 189 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 189 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 191 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 192 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 194 | No default case in switch statement. | GJB 4.3.1.4 |
M | 284 | Signed/unsigned conversion without cast. : (int and unsigned int): i + 2 | GJB 4.6.1.9 |
M | 284 | Expression needs brackets. | GJB 5.1.2 |
M | 289 | Value is not of appropriate type. : (unsigned int and int): dst [ i | GJB 4.6.1.8 |
M | 289 | Type conversion without cast. : (char and unsigned long): dst [ i ] = n | GJB 4.6.1.9 |
M | 289 | Expression needs brackets. | GJB 5.1.2 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 292 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ltoa_o (301 to 315 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 310 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 301 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 301 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 301 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 303 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 306 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 310 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 310 | Actual and formal parameters inconsistent (MR). : (long and unsigned long): param 1 | GJB 4.7.1.9 |
M | 312 | Actual and formal parameters inconsistent (MR). : (long and unsigned long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lltoa (323 to 337 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 332 | Pointer not checked for null before use. : pos | GJB 5.1.15 |
M | 323 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 323 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 323 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 325 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 328 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 332 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 332 | Actual and formal parameters inconsistent (MR). : (long long and uns long long): param 1 | GJB 4.7.1.9 |
M | 334 | Actual and formal parameters inconsistent (MR). : (long long and uns long long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
utoa_pad (344 to 402 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 344 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 344 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 344 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 346 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 347 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 349 | No default case in switch statement. | GJB 4.3.1.4 |
M | 390 | Signed/unsigned conversion without cast. : (int and unsigned int): i + 2 | GJB 4.6.1.9 |
M | 390 | Expression needs brackets. | GJB 5.1.2 |
M | 392 | Signed/unsigned conversion without cast. : (int and unsigned int): i | GJB 4.6.1.9 |
M | 392 | Signed/unsigned conversion without cast. : (int and unsigned int): i < size | GJB 4.6.1.9 |
M | 393 | Signed/unsigned conversion without cast. : (int and unsigned int): i = size | GJB 4.6.1.9 |
M | 393 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 398 | Value is not of appropriate type. : (unsigned int and int): dst [ i | GJB 4.6.1.8 |
M | 398 | Type conversion without cast. : (char and unsigned int): dst [ i ] = n | GJB 4.6.1.9 |
M | 398 | Expression needs brackets. | GJB 5.1.2 |
M | 399 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 401 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strlcpy2 (411 to 421 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 411 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 411 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 413 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 415 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 415 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 415 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ultoa_r (427 to 439 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 427 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 427 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 427 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 429 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 431 | Expression needs brackets. | GJB 5.1.2 |
M | 432 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 435 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 435 | Expression needs brackets. | GJB 5.1.2 |
M | 436 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 437 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
lltoa_r (445 to 468 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 445 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 445 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 447 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 449 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 451 | Expression needs brackets. | GJB 5.1.2 |
M | 452 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 459 | Signed/unsigned conversion without cast. : (uns long long and long long): n = in | GJB 4.6.1.9 |
M | 462 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 462 | Expression needs brackets. | GJB 5.1.2 |
M | 463 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 464 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 466 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sltoa_r (474 to 484 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 474 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 474 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 474 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 476 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 483 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 479 | Actual and formal parameters inconsistent (MR). : (long and unsigned long): param 1 | GJB 4.7.1.9 |
M | 481 | Actual and formal parameters inconsistent (MR). : (long and unsigned long): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ulltoh_r (492 to 516 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 498 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 502 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 492 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 492 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 492 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 494 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 498 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 501 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 501 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 501 | Expression needs brackets. | GJB 5.1.2 |
M | 502 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 504 | Expression needs brackets. | GJB 5.1.2 |
M | 505 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 505 | Expression needs brackets. | GJB 5.1.2 |
M | 506 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 509 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 509 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 509 | Expression needs brackets. | GJB 5.1.2 |
M | 510 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 512 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 512 | Expression needs brackets. | GJB 5.1.2 |
M | 514 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 515 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
limit_r (526 to 529 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 526 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 526 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 526 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 526 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
qstr (537 to 562 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 548 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 537 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 537 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 539 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 539 | Value is not of appropriate type. : (unsigned int and int): quoted_str [ quoted_idx | GJB 4.6.1.8 |
M | 540 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 540 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 542 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 542 | Expression needs brackets. | GJB 5.1.2 |
M | 548 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 551 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 551 | Expression needs brackets. | GJB 5.1.2 |
M | 553 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 554 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 557 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 560 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 561 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ishex (571 to 583 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 571 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 571 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 574 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 574 | Signed/unsigned conversion without cast. : (unsigned char and int): ( unsigned char ) s | GJB 4.6.1.9 |
M | 577 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 577 | Signed/unsigned conversion without cast. : (unsigned char and int): ( unsigned char ) s | GJB 4.6.1.9 |
M | 579 | Operation not appropriate to plain char. : - used with char: 'a' | GJB 4.1.1.15 |
M | 580 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) | GJB 4.6.1.8 |
M | 580 | Signed/unsigned conversion without cast. : (unsigned char and int): ( unsigned char ) s | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
round_2dig (586 to 595 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 586 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 590 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 591 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 592 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 594 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
invalid_char (602 to 614 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 602 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 608 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
M | 608 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 608 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 609 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__invalid_char (622 to 636 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 622 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 622 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 628 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 628 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 628 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 628 | Type conversion without cast. : (int and char): * name != '.' | GJB 4.6.1.9 |
M | 629 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 629 | Type conversion without cast. : (int and char): * name != '_' | GJB 4.6.1.9 |
M | 629 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 629 | Type conversion without cast. : (int and char): * name != '-' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
invalid_domainchar (643 to 645 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 643 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 643 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 644 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
invalid_prefix_char (652 to 654 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 652 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 652 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 653 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2ip2 (671 to 807 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 671 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 675 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 682 | Signed/unsigned conversion without cast. : (unsigned int and int): iplength | GJB 4.6.1.9 |
M | 684 | goto detected. | GJB 4.5.1.2 |
M | 686 | Use of sizeof on an array parameter. | GJB 5.1.9 |
M | 688 | goto detected. | GJB 4.5.1.2 |
M | 691 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 693 | goto detected. | GJB 4.5.1.2 |
M | 696 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 697 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 698 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 704 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 705 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 708 | goto detected. | GJB 4.5.1.2 |
M | 708 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 714 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 715 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 715 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 722 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 723 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 723 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 730 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 731 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 731 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 787 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 787 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 790 | goto detected. | GJB 4.5.1.2 |
M | 790 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 794 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 796 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 798 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 801 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 792 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2sa_range (874 to 1215 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 920 | Pointer not checked for null before use. : str2 | GJB 5.1.15 |
M | 984 | Pointer not checked for null before use. : str2 | GJB 5.1.15 |
M | 1093 | Pointer not checked for null before use. : port1 | GJB 5.1.15 |
M | 1105 | Pointer not checked for null before use. : port2 | GJB 5.1.15 |
M | 874 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 875 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 876 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 876 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 881 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 882 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 888 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 892 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 895 | goto detected. | GJB 4.5.1.2 |
M | 900 | goto detected. | GJB 4.5.1.2 |
M | 907 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 909 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 913 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 917 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 918 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 941 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 946 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 951 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 982 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 985 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 985 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 985 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 987 | goto detected. | GJB 4.5.1.2 |
M | 992 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 993 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 993 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 994 | goto detected. | GJB 4.5.1.2 |
M | 997 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 998 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1001 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1004 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1004 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1004 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1006 | goto detected. | GJB 4.5.1.2 |
M | 1014 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1015 | Use of banned function or variable. : strerror | GJB 4.7.1.4 |
M | 1015 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 1016 | goto detected. | GJB 4.5.1.2 |
M | 1020 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1021 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1023 | goto detected. | GJB 4.5.1.2 |
M | 1026 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1028 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1029 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1032 | goto detected. | GJB 4.5.1.2 |
M | 1036 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1044 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1045 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1045 | Signed/unsigned conversion without cast. : (int and unsigned int): max_path_len = ( sizeof ( un -> sun_path ) - 1 | GJB 4.6.1.9 |
M | 1048 | Signed/unsigned conversion without cast. : (int and unsigned int): adr_len = strlen | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1051 | goto detected. | GJB 4.5.1.2 |
M | 1058 | Expression needs brackets. | GJB 5.1.2 |
M | 1061 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1062 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1066 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1066 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1076 | goto detected. | GJB 4.5.1.2 |
M | 1078 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1079 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1088 | goto detected. | GJB 4.5.1.2 |
M | 1093 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1098 | goto detected. | GJB 4.5.1.2 |
M | 1100 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1104 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1105 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1107 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1109 | goto detected. | GJB 4.5.1.2 |
M | 1112 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1114 | goto detected. | GJB 4.5.1.2 |
M | 1119 | goto detected. | GJB 4.5.1.2 |
M | 1127 | goto detected. | GJB 4.5.1.2 |
M | 1129 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1135 | goto detected. | GJB 4.5.1.2 |
M | 1137 | Use of banned function or variable. : atoi | GJB 4.7.1.4 |
M | 1142 | goto detected. | GJB 4.5.1.2 |
M | 1146 | goto detected. | GJB 4.5.1.2 |
M | 1147 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1155 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1158 | goto detected. | GJB 4.5.1.2 |
M | 1163 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1164 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 1171 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1173 | goto detected. | GJB 4.5.1.2 |
M | 1175 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1177 | goto detected. | GJB 4.5.1.2 |
M | 1178 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 1190 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1190 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1192 | goto detected. | GJB 4.5.1.2 |
M | 1195 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1197 | goto detected. | GJB 4.5.1.2 |
M | 1212 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1213 | free used on string. | GJB 5.1.19 |
M | 1214 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 892 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 980 | Procedure contains UR data flow anomalies. : ss2 | GJB 4.13.1.4 |
M | 1011 | Procedure contains UR data flow anomalies. : type | GJB 4.13.1.4 |
M | 1202 | Identifier reuse: label vs variable (MR). : out |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sa2str (1227 to 1259 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1254 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1227 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1229 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1230 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1232 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1236 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1239 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1242 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1244 | Use of sizeof on a type. | GJB 5.1.8 |
M | 1244 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1249 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1250 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1250 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1253 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1259 | Memory not freed after last reference. : out | GJB 5.1.17 |
M | 1229 | Procedure contains UR data flow anomalies. : buffer |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2mask (1266 to 1282 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1266 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1273 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1274 | Signed/unsigned conversion without cast. : (unsigned long and long): strtol | GJB 4.6.1.9 |
M | 1276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1276 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1276 | Signed/unsigned conversion without cast. : (unsigned int and int): ) len | GJB 4.6.1.9 |
M | 1279 | Actual and formal parameters inconsistent (MR). : (unsigned long and int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2mask6 (1288 to 1304 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1288 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1295 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1296 | Signed/unsigned conversion without cast. : (unsigned long and long): strtol | GJB 4.6.1.9 |
M | 1298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1298 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1298 | Signed/unsigned conversion without cast. : (unsigned int and int): ) len | GJB 4.6.1.9 |
M | 1301 | Actual and formal parameters inconsistent (MR). : (unsigned long and int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cidr2dotted (1309 to 1316 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1311 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
len2mask4 (1321 to 1333 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1331 | Use of shift operator on signed type. | GJB 4.6.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2net (1355 to 1397 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1391 | Name redeclared in another C name space (MR). : out_free | GJB 4.1.1.16 |
M | 1394 | Name redeclared in another C name space (MR). : out_err | GJB 4.1.1.16 |
M | 1371 | Pointer not checked for null before use. : c | GJB 5.1.15 |
M | 1377 | Pointer not checked for null before use. : addr | GJB 5.1.15 |
M | 1371 | Pointer not checked for null before use. : mask | GJB 5.1.15 |
M | 1375 | Pointer not checked for null before use. : mask | GJB 5.1.15 |
M | 1355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1358 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1358 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1358 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1368 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1368 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1369 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1372 | goto detected. | GJB 4.5.1.2 |
M | 1381 | goto detected. | GJB 4.5.1.2 |
M | 1383 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1383 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1384 | goto detected. | GJB 4.5.1.2 |
M | 1391 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1392 | free used on string. | GJB 5.1.19 |
M | 1396 | goto detected. | GJB 4.5.1.2 |
M | 1355 | Function has no return statement. : str2net | GJB 4.9.1.1 |
M | 1397 | Memory not freed after last reference. : s | GJB 5.1.17 |
M | 1391 | Identifier reuse: label vs variable (MR). : out_free | GJB 4.1.1.2 |
M | 1394 | Identifier reuse: label vs variable (MR). : out_err |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str62net (1406 to 1438 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1431 | Pointer not checked for null before use. : addr | GJB 5.1.15 |
M | 1406 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1408 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1408 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 1408 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1410 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1420 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1420 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 1421 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1423 | goto detected. | GJB 4.5.1.2 |
M | 1426 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1426 | Signed/unsigned conversion without cast. : (unsigned int and int): ) len | GJB 4.6.1.9 |
M | 1427 | goto detected. | GJB 4.5.1.2 |
M | 1432 | goto detected. | GJB 4.5.1.2 |
M | 1435 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 1436 | free used on string. | GJB 5.1.19 |
M | 1438 | Memory not freed after last reference. : s |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
url2ipv4 (1444 to 1482 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1444 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1448 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1452 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1455 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1455 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1456 | Signed/unsigned conversion without cast. : (unsigned char and int): digit | GJB 4.6.1.9 |
M | 1456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1456 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1456 | Type conversion without cast. : (int and char): ch != '.' | GJB 4.6.1.9 |
M | 1458 | Signed/unsigned conversion without cast. : (unsigned char and int): digit | GJB 4.6.1.9 |
M | 1459 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1459 | Expression needs brackets. | GJB 5.1.2 |
M | 1460 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1462 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 1464 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1464 | Expression needs brackets. | GJB 5.1.2 |
M | 1468 | Type conversion without cast. : (int and char): ch == '.' | GJB 4.6.1.9 |
M | 1468 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1471 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
url2sa (1495 to 1650 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1571 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 1596 | Pointer not checked for null before use. : curr | GJB 5.1.15 |
M | 1630 | Pointer not checked for null before use. : end | GJB 5.1.15 |
M | 1587 | Pointer not checked for null before use. : curr | GJB 5.1.15 |
M | 1552 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 1495 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1497 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1498 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1503 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1503 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 1505 | Nested comment found. | GJB 4.10.1.1 |
M | 1506 | Expression needs brackets. | GJB 5.1.2 |
M | 1506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1506 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1507 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 1508 | Value is not of appropriate type. : (int and unsigned char): url_code += ( unsigned char | GJB 4.6.1.8 |
M | 1508 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 1508 | Value is not of appropriate type. : (unsigned char and char): url_code += ( unsigned char ) * | GJB 4.6.1.8 |
M | 1508 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1511 | Nested comment found. | GJB 4.10.1.1 |
M | 1521 | Expression needs brackets. | GJB 5.1.2 |
M | 1522 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1522 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 1522 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1522 | Expression needs brackets. | GJB 5.1.2 |
M | 1523 | Signed/unsigned conversion without cast. : (uns long long and int): http_code | GJB 4.6.1.9 |
M | 1526 | Signed/unsigned conversion without cast. : (uns long long and long): http_code | GJB 4.6.1.9 |
M | 1531 | Signed/unsigned conversion without cast. : (uns long long and long): http_code | GJB 4.6.1.9 |
M | 1550 | Expression needs brackets. | GJB 5.1.2 |
M | 1550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1552 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1564 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1571 | Signed/unsigned conversion without cast. : (int and unsigned int): read_uint | GJB 4.6.1.9 |
M | 1573 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1574 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1583 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1596 | Signed/unsigned conversion without cast. : (int and unsigned int): read_uint | GJB 4.6.1.9 |
M | 1598 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1601 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1611 | Expression needs brackets. | GJB 5.1.2 |
M | 1611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1611 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1612 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 1614 | Type conversion without cast. : (int and char): trash.area [ end - curr ] = '\0' | GJB 4.6.1.9 |
M | 1630 | Signed/unsigned conversion without cast. : (int and unsigned int): read_uint | GJB 4.6.1.9 |
M | 1636 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1637 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1638 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1639 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1642 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1643 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1644 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1646 | Switch case not terminated with break. | GJB 4.3.1.7 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1634 | No default case in switch statement. | GJB 4.3.1.4 |
M | 1647 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
addr_to_str (1658 to 1686 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1681 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1658 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1669 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1672 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1676 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1679 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
port_to_str (1694 to 1720 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1694 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1706 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1709 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1713 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1716 | Switch case not terminated with break. | GJB 4.3.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
addr_is_local (1730 to 1761 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1748 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1749 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 1755 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
encode_string (1774 to 1795 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1781 | Pointer not checked for null before use. : string | GJB 5.1.15 |
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1774 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1775 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1776 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1780 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1780 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1781 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * string | GJB 4.6.1.8 |
M | 1782 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1784 | Expression needs brackets. | GJB 5.1.2 |
M | 1786 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1787 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1787 | Operation not appropriate to plain char. : >> used with char: string | GJB 4.1.1.15 |
M | 1787 | Operation not appropriate to plain char. : & used with char | GJB 4.1.1.15 |
M | 1787 | Value is not of appropriate type. : (char and signed char): ( * string >> 4 ) | GJB 4.6.1.8 |
M | 1787 | Value is not of appropriate type. : (unsigned int and signed char): ( * string >> 4 ) & 15 | GJB 4.6.1.8 |
M | 1788 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1788 | Value is not of appropriate type. : (char and signed char): start ++ = hextab [ * string | GJB 4.6.1.8 |
M | 1788 | Value is not of appropriate type. : (unsigned int and signed char): start ++ = hextab [ * string & 15 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
encode_chunk (1801 to 1825 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1811 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1801 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1801 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1801 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1802 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1805 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1806 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1810 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1810 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1811 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * str | GJB 4.6.1.8 |
M | 1812 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1814 | Expression needs brackets. | GJB 5.1.2 |
M | 1816 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1817 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1817 | Operation not appropriate to plain char. : >> used with char: str | GJB 4.1.1.15 |
M | 1817 | Operation not appropriate to plain char. : & used with char | GJB 4.1.1.15 |
M | 1817 | Value is not of appropriate type. : (char and signed char): ( * str >> 4 ) | GJB 4.6.1.8 |
M | 1817 | Value is not of appropriate type. : (unsigned int and signed char): ( * str >> 4 ) & 15 | GJB 4.6.1.8 |
M | 1818 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1818 | Value is not of appropriate type. : (char and signed char): start ++ = hextab [ * str | GJB 4.6.1.8 |
M | 1818 | Value is not of appropriate type. : (unsigned int and signed char): start ++ = hextab [ * str & 15 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
escape_string (1835 to 1855 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1842 | Pointer not checked for null before use. : string | GJB 5.1.15 |
M | 1835 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1835 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1835 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1836 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1837 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1841 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1841 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1842 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * string | GJB 4.6.1.8 |
M | 1843 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1845 | Expression needs brackets. | GJB 5.1.2 |
M | 1847 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1848 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
escape_chunk (1864 to 1887 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1874 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 1864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1864 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1865 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1868 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1869 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1873 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1874 | Value is not of appropriate type. : (unsigned char and char): ( unsigned char ) ( * str | GJB 4.6.1.8 |
M | 1875 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1877 | Expression needs brackets. | GJB 5.1.2 |
M | 1879 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1880 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
csv_enc_append (1918 to 1953 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1950 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1934 | Pointer not checked for null before use. : ptr | GJB 5.1.15 |
M | 1918 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1918 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1920 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1921 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1922 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1931 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1933 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1933 | Expression needs brackets. | GJB 5.1.2 |
M | 1937 | Expression needs brackets. | GJB 5.1.2 |
M | 1948 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1950 | Modification of string literal. : ptr | GJB 5.1.19 |
M | 1952 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
url_decode (1964 to 1995 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1989 | Pointer not checked for null before use. : in | GJB 5.1.15 |
M | 1991 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 1974 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 1964 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1966 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1974 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1977 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1977 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 1977 | Expression with more than one function. | GJB 4.7.1.6 |
M | 1978 | goto detected. | GJB 4.5.1.2 |
M | 1979 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1979 | Operation not appropriate to plain char. : << used with char | GJB 4.1.1.15 |
M | 1979 | Expression needs brackets. | GJB 5.1.2 |
M | 1979 | Operation not appropriate to plain char. : + used with char: hex2i | GJB 4.1.1.15 |
M | 1985 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 1986 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 1992 | Identifier reuse: label vs variable (MR). : end |
GJB 4.1.1.2 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2ui (1997 to 2000 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1997 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 1997 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 1999 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
str2uic (2002 to 2005 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2002 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2002 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2004 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2ui (2007 to 2010 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2007 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2007 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2009 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2uic (2012 to 2015 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2012 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2012 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2014 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_uint (2017 to 2020 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2017 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2017 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2019 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_uint64 (2027 to 2063 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2027 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2027 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2027 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2029 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2030 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2031 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2036 | Type conversion without cast. : (unsigned int and char): j = *ptr | GJB 4.6.1.9 |
M | 2037 | Signed/unsigned conversion without cast. : (unsigned int and int): j | GJB 4.6.1.9 |
M | 2038 | goto detected. | GJB 4.5.1.2 |
M | 2041 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2042 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2042 | Type conversion without cast. : (int and uns long long): 10 | GJB 4.6.1.9 |
M | 2042 | Expression needs brackets. | GJB 5.1.2 |
M | 2044 | goto detected. | GJB 4.5.1.2 |
M | 2046 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2046 | Expression needs brackets. | GJB 5.1.2 |
M | 2048 | goto detected. | GJB 4.5.1.2 |
M | 2050 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2056 | Value is not of appropriate type. : (unsigned int and char): ( unsigned int ) ( * ptr - '0' | GJB 4.6.1.8 |
M | 2061 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
read_int64 (2071 to 2095 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2085 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2071 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2071 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2071 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2073 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2084 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2090 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 2090 | Function return type inconsistent. : (long long and uns long long) | GJB 4.9.1.4 |
M | 2094 | Function return type inconsistent. : (long long and uns long long) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2ic (2101 to 2129 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2120 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2101 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2101 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2103 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2104 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2104 | Name found with length less than 2. : k | GJB 4.8.1.1 |
M | 2109 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2109 | Expression needs brackets. | GJB 5.1.2 |
M | 2110 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2110 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 2119 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2119 | Expression needs brackets. | GJB 5.1.2 |
M | 2120 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2120 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2irc (2140 to 2172 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2162 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2140 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2142 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2143 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2150 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2150 | Expression needs brackets. | GJB 5.1.2 |
M | 2151 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2151 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 2153 | Expression needs brackets. | GJB 5.1.2 |
M | 2155 | Expression needs brackets. | GJB 5.1.2 |
M | 2161 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2161 | Expression needs brackets. | GJB 5.1.2 |
M | 2162 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2162 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 2164 | Expression needs brackets. | GJB 5.1.2 |
M | 2166 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2llrc (2184 to 2216 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2206 | Pointer not checked for null before use. : s | GJB 5.1.15 |
M | 2184 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2184 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2186 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2187 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2194 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2194 | Expression needs brackets. | GJB 5.1.2 |
M | 2195 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2195 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 2197 | Expression needs brackets. | GJB 5.1.2 |
M | 2197 | Value is not of appropriate type. : (long long and unsigned char) | GJB 4.6.1.8 |
M | 2199 | Expression needs brackets. | GJB 5.1.2 |
M | 2205 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2205 | Expression needs brackets. | GJB 5.1.2 |
M | 2206 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2206 | Type conversion without cast. : (int and char): j = ( * s ++ | GJB 4.6.1.9 |
M | 2208 | Expression needs brackets. | GJB 5.1.2 |
M | 2208 | Value is not of appropriate type. : (long long and unsigned char) | GJB 4.6.1.8 |
M | 2210 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strl2llrc_dotted (2228 to 2260 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2228 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2230 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2230 | Value is not of appropriate type. : (unsigned int and int): & text [ len | GJB 4.6.1.8 |
M | 2231 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2231 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2236 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2258 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 2240 | Actual and formal parameters inconsistent (MR). : (char and int): param 2 | GJB 4.7.1.9 |
M | 2250 | Actual and formal parameters inconsistent (MR). : (char and int): param 2 | GJB 4.7.1.9 |
M | 2232 | Procedure contains UR data flow anomalies. : major |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_time_err (2272 to 2356 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2299 | Pointer not checked for null before use. : text | GJB 5.1.15 |
M | 2272 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2272 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2277 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2279 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2282 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2294 | Signed/unsigned conversion without cast. : (uns long long and int): value | GJB 4.6.1.9 |
M | 2297 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2299 | Type conversion without cast. : (unsigned int and char): j = *text | GJB 4.6.1.9 |
M | 2300 | Signed/unsigned conversion without cast. : (unsigned int and int): j | GJB 4.6.1.9 |
M | 2303 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2304 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2307 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2310 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2311 | goto detected. | GJB 4.5.1.2 |
M | 2311 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2319 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2337 | Expression needs brackets. | GJB 5.1.2 |
M | 2344 | Signed/unsigned conversion without cast. : (uns long long and int): omult % idiv | GJB 4.6.1.9 |
M | 2344 | Expression needs brackets. | GJB 5.1.2 |
M | 2344 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2345 | Signed/unsigned conversion without cast. : (uns long long and int): idiv % omult | GJB 4.6.1.9 |
M | 2345 | Expression needs brackets. | GJB 5.1.2 |
M | 2345 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2346 | Signed/unsigned conversion without cast. : (uns long long and int): imult % odiv | GJB 4.6.1.9 |
M | 2346 | Expression needs brackets. | GJB 5.1.2 |
M | 2346 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2347 | Signed/unsigned conversion without cast. : (uns long long and int): odiv % imult | GJB 4.6.1.9 |
M | 2347 | Expression needs brackets. | GJB 5.1.2 |
M | 2347 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2349 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2349 | Expression needs brackets. | GJB 5.1.2 |
M | 2349 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2350 | Signed/unsigned conversion without cast. : (uns long long and int): result | GJB 4.6.1.9 |
M | 2354 | Type conversion without cast. : (unsigned int and uns long long): ret = result | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_size_err (2362 to 2413 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2371 | Pointer not checked for null before use. : text | GJB 5.1.15 |
M | 2362 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2362 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2365 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2369 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2371 | Type conversion without cast. : (unsigned int and char): j = *text | GJB 4.6.1.9 |
M | 2372 | Signed/unsigned conversion without cast. : (unsigned int and int): j | GJB 4.6.1.9 |
M | 2374 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2374 | Expression needs brackets. | GJB 5.1.2 |
M | 2376 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2377 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2379 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2387 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2388 | Expression needs brackets. | GJB 5.1.2 |
M | 2393 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2394 | Expression needs brackets. | GJB 5.1.2 |
M | 2399 | Null case in switch statement. | GJB 4.3.1.8 |
M | 2400 | Expression needs brackets. | GJB 5.1.2 |
M | 2406 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 2408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2408 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2408 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2408 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_binary (2421 to 2471 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2421 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2421 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2421 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2424 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2424 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2425 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2425 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 2428 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 2434 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 2437 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 2454 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2456 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2456 | Value is not of appropriate type. : (unsigned int and int): p [ i ++ | GJB 4.6.1.8 |
M | 2457 | goto detected. | GJB 4.5.1.2 |
M | 2458 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2458 | Value is not of appropriate type. : (unsigned int and int): p [ i ++ | GJB 4.6.1.8 |
M | 2459 | goto detected. | GJB 4.5.1.2 |
M | 2460 | Value is not of appropriate type. : (unsigned int and int): ( * binstr ) [ j ++ | GJB 4.6.1.8 |
M | 2460 | Value is not of appropriate type. : (unsigned int and int): ( * binstr ) [ j ++ ] = ( hex2i ( p [ i - 2 | GJB 4.6.1.8 |
M | 2460 | Operation not appropriate to plain char. : << used with char | GJB 4.1.1.15 |
M | 2460 | Operation not appropriate to plain char. : + used with char: hex2i | GJB 4.1.1.15 |
M | 2460 | Value is not of appropriate type. : (unsigned int and int): ( * binstr ) [ j ++ ] = ( hex2i ( p [ i - 2 ] ) << 4 ) + hex2i ( p [ i - 1 | GJB 4.6.1.8 |
M | 2462 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 2465 | Value is not of appropriate type. : (unsigned int and int): err , "an hex digit is expected (found '%c')" , p [ i - 1 | GJB 4.6.1.8 |
M | 2467 | Use of banned function or variable. : free | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_strndup (2474 to 2488 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2486 | Pointer not checked for null before use. : ret | GJB 5.1.15 |
M | 2474 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2474 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2474 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 2477 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2479 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2479 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2479 | Value is not of appropriate type. : (unsigned int and int): src [ len | GJB 4.6.1.8 |
M | 2480 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2482 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 2484 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2486 | Value is not of appropriate type. : (unsigned int and int): ret [ len | GJB 4.6.1.8 |
M | 2487 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_memmem (2494 to 2513 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2504 | Pointer not checked for null before use. : c | GJB 5.1.15 |
M | 2496 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2497 | Procedure name reused. : f | GJB 4.1.1.1 |
M | 2497 | Name found with length less than 2. : f | GJB 4.8.1.1 |
M | 2502 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2502 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 2504 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2504 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 2504 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2505 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2505 | Signed/unsigned conversion without cast. : (int and unsigned int): ( haystacklen - ( c - haystack ) ) < needlelen | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_memspn (2516 to 2525 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2520 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 2520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2520 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2520 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_memcspn (2528 to 2539 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2533 | Pointer not checked for null before use. : str | GJB 5.1.15 |
M | 2533 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_next_id (2544 to 2555 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2550 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2550 | Signed/unsigned conversion without cast. : (int and unsigned int): used -> key | GJB 4.6.1.9 |
M | 2550 | Signed/unsigned conversion without cast. : (int and unsigned int): used -> key > key | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
eb32sc_to_file (2564 to 2624 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2564 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2571 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2581 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2593 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2597 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2602 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2607 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2613 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 2617 | Cast from pointer to integral type. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
word_match (2632 to 2654 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2638 | Pointer not checked for null before use. : sample | GJB 5.1.15 |
M | 2638 | Pointer not checked for null before use. : word | GJB 5.1.15 |
M | 2632 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2632 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2638 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2638 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2638 | Operation not appropriate to plain char. : ^ used with char: sample | GJB 4.1.1.15 |
M | 2639 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2639 | Operation not appropriate to plain char. : ^ used with char: 'A' | GJB 4.1.1.15 |
M | 2648 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2648 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
inetaddr_host (2661 to 2706 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2688 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 2693 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 2661 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2663 | Operation not appropriate to plain char. : << used with char: '0' | GJB 4.1.1.15 |
M | 2663 | Shifting value too far. | GJB 4.6.1.4 |
M | 2663 | Operation not appropriate to plain char. : | used with char: ascii_zero | GJB 4.1.1.15 |
M | 2663 | Operation not appropriate to plain char. : | used with char | GJB 4.1.1.15 |
M | 2665 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2666 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2666 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2666 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 2668 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2673 | Value is not of appropriate type. : (unsigned int and char): ( unsigned ) ( * p - '0' | GJB 4.6.1.8 |
M | 2680 | goto detected. | GJB 4.5.1.2 |
M | 2683 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2683 | Shifting value too far. | GJB 4.6.1.4 |
M | 2683 | Value is not of appropriate type. : (unsigned int and char): dig1 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2685 | goto detected. | GJB 4.5.1.2 |
M | 2688 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2688 | Shifting value too far. | GJB 4.6.1.4 |
M | 2688 | Value is not of appropriate type. : (unsigned int and char): dig10 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2690 | goto detected. | GJB 4.5.1.2 |
M | 2693 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2693 | Shifting value too far. | GJB 4.6.1.4 |
M | 2693 | Value is not of appropriate type. : (unsigned int and char): dig100 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2695 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2699 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2702 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2703 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2704 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2705 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2705 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
inetaddr_host_lim (2711 to 2756 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2738 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 2743 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 2711 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2711 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2713 | Operation not appropriate to plain char. : << used with char: '0' | GJB 4.1.1.15 |
M | 2713 | Shifting value too far. | GJB 4.6.1.4 |
M | 2713 | Operation not appropriate to plain char. : | used with char: ascii_zero | GJB 4.1.1.15 |
M | 2713 | Operation not appropriate to plain char. : | used with char | GJB 4.1.1.15 |
M | 2715 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2716 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2716 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2716 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 2718 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2723 | Value is not of appropriate type. : (unsigned int and char): ( unsigned ) ( * p - '0' | GJB 4.6.1.8 |
M | 2723 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2723 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2730 | goto detected. | GJB 4.5.1.2 |
M | 2733 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2733 | Shifting value too far. | GJB 4.6.1.4 |
M | 2733 | Value is not of appropriate type. : (unsigned int and char): dig1 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2735 | goto detected. | GJB 4.5.1.2 |
M | 2738 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2738 | Shifting value too far. | GJB 4.6.1.4 |
M | 2738 | Value is not of appropriate type. : (unsigned int and char): dig10 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2740 | goto detected. | GJB 4.5.1.2 |
M | 2743 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2743 | Shifting value too far. | GJB 4.6.1.4 |
M | 2743 | Value is not of appropriate type. : (unsigned int and char): dig100 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2745 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2749 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2752 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2753 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2754 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2755 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2755 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
inetaddr_host_lim_ret (2762 to 2808 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2789 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 2794 | Pointer not checked for null before use. : d | GJB 5.1.15 |
M | 2762 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2762 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2762 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2764 | Operation not appropriate to plain char. : << used with char: '0' | GJB 4.1.1.15 |
M | 2764 | Shifting value too far. | GJB 4.6.1.4 |
M | 2764 | Operation not appropriate to plain char. : | used with char: ascii_zero | GJB 4.1.1.15 |
M | 2764 | Operation not appropriate to plain char. : | used with char | GJB 4.1.1.15 |
M | 2766 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2767 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2767 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 2767 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 2769 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2774 | Value is not of appropriate type. : (unsigned int and char): ( unsigned ) ( * p - '0' | GJB 4.6.1.8 |
M | 2774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2774 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2781 | goto detected. | GJB 4.5.1.2 |
M | 2784 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2784 | Shifting value too far. | GJB 4.6.1.4 |
M | 2784 | Value is not of appropriate type. : (unsigned int and char): dig1 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2786 | goto detected. | GJB 4.5.1.2 |
M | 2789 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2789 | Shifting value too far. | GJB 4.6.1.4 |
M | 2789 | Value is not of appropriate type. : (unsigned int and char): dig10 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2791 | goto detected. | GJB 4.5.1.2 |
M | 2794 | Operation not appropriate to plain char. : << used with char: p | GJB 4.1.1.15 |
M | 2794 | Shifting value too far. | GJB 4.6.1.4 |
M | 2794 | Value is not of appropriate type. : (unsigned int and char): dig100 |= ( unsigned int ) ( * d << s | GJB 4.6.1.8 |
M | 2796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2796 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2800 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2803 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 2804 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2805 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2806 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2807 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2807 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
buf2ip (2816 to 2861 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2816 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2818 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2821 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2825 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2827 | Expression needs brackets. | GJB 5.1.2 |
M | 2828 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2828 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2830 | Signed/unsigned conversion without cast. : (unsigned char and int): digit | GJB 4.6.1.9 |
M | 2830 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2830 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2830 | Type conversion without cast. : (int and char): ch != '.' | GJB 4.6.1.9 |
M | 2833 | Signed/unsigned conversion without cast. : (unsigned char and int): digit | GJB 4.6.1.9 |
M | 2834 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2834 | Expression needs brackets. | GJB 5.1.2 |
M | 2836 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2839 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 2842 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2842 | Expression needs brackets. | GJB 5.1.2 |
M | 2846 | Type conversion without cast. : (int and char): ch == '.' | GJB 4.6.1.9 |
M | 2846 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2850 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
buf2ip6 (2868 to 2884 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2868 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2870 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
quote_arg (2890 to 2903 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2890 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2890 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2892 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2893 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 2895 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2898 | Signed/unsigned conversion without cast. : (int and unsigned int): i < sizeof | GJB 4.6.1.9 |
M | 2898 | Value is not of appropriate type. : (bool and unsigned char): i < sizeof ( val ) | GJB 4.6.1.8 |
M | 2898 | Expression needs brackets. | GJB 5.1.2 |
M | 2898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2898 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2899 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 2899 | Value is not of appropriate type. : (unsigned int and int): val [ i | GJB 4.6.1.8 |
M | 2899 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 2900 | Value is not of appropriate type. : (unsigned int and int): val [ i ++ | GJB 4.6.1.8 |
M | 2901 | Value is not of appropriate type. : (unsigned int and int): val [ i | GJB 4.6.1.8 |
M | 2902 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_std_op (2906 to 2926 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2906 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 2910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2910 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2912 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2912 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2916 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2920 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2921 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 2923 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 2923 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
full_hash (2929 to 2932 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2929 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 2931 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mask_find_rank_bit (2940 to 2973 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2940 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 2940 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 2942 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 2942 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2942 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2942 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 2943 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2944 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 2946 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2946 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2946 | Expression needs brackets. | GJB 5.1.2 |
M | 2947 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2947 | Expression needs brackets. | GJB 5.1.2 |
M | 2947 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2947 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2947 | Expression needs brackets. | GJB 5.1.2 |
M | 2948 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2948 | Expression needs brackets. | GJB 5.1.2 |
M | 2949 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2949 | Expression needs brackets. | GJB 5.1.2 |
M | 2953 | Signed/unsigned conversion without cast. : (unsigned int and int): t | GJB 4.6.1.9 |
M | 2955 | Signed/unsigned conversion without cast. : (unsigned int and int): s | GJB 4.6.1.9 |
M | 2957 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2958 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2958 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2958 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2958 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2961 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2962 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2962 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2962 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2962 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2963 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2964 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2964 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2964 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2964 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2965 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2966 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2966 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2966 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2966 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2967 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2968 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2968 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2968 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2968 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2969 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2970 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2970 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2972 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mask_find_rank_bit_fast (2979 to 3008 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2979 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 2979 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 2980 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 2980 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 2981 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 2981 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 2983 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 2984 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 2988 | Signed/unsigned conversion without cast. : (unsigned int and int): t | GJB 4.6.1.9 |
M | 2990 | Signed/unsigned conversion without cast. : (unsigned int and int): s | GJB 4.6.1.9 |
M | 2992 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2993 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2993 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2993 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2993 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2996 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2997 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2997 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2997 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2997 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2998 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2999 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2999 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2999 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 2999 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3000 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3001 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3001 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3001 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3001 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3002 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3003 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3003 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3003 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3003 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3004 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3005 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3005 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3007 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
mask_prep_rank_map (3013 to 3021 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3013 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 3014 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 3014 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3015 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 3015 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 3017 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3017 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3017 | Expression needs brackets. | GJB 5.1.2 |
M | 3018 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3018 | Expression needs brackets. | GJB 5.1.2 |
M | 3018 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3018 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3018 | Expression needs brackets. | GJB 5.1.2 |
M | 3019 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3019 | Expression needs brackets. | GJB 5.1.2 |
M | 3020 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3020 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
in_net_ipv4 (3027 to 3033 tools.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
in_net_ipv6 (3039 to 3050 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3041 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 3045 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3045 | Signed/unsigned conversion without cast. : (int and unsigned int): i < sizeof | GJB 4.6.1.9 |
M | 3045 | Expression needs brackets. | GJB 5.1.2 |
M | 3045 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3046 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3046 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3046 | Value is not of appropriate type. : (unsigned int and int): ( int * ) & addr_copy ) [ i | GJB 4.6.1.8 |
M | 3046 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3046 | Value is not of appropriate type. : (unsigned int and int): ( int * ) mask ) [ i | GJB 4.6.1.8 |
M | 3047 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3047 | Value is not of appropriate type. : (unsigned int and int): ( int * ) net ) [ i | GJB 4.6.1.8 |
M | 3047 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3047 | Value is not of appropriate type. : (unsigned int and int): ( int * ) mask ) [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
v6tov4 (3072 to 3081 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3075 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ipcmp (3088 to 3111 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3101 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3102 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3102 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3102 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3105 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3106 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3106 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3108 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3099 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ipcpy (3120 to 3141 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3126 | Pointer not checked for null before use. : dest | GJB 5.1.15 |
M | 3131 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3131 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3132 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3135 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3135 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3135 | Use of sizeof on a type. | GJB 5.1.8 |
M | 3136 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 3129 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
human_time (3143 to 3176 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3163 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3168 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3173 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3143 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3143 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3145 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3145 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3149 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3162 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3162 | Expression needs brackets. | GJB 5.1.2 |
M | 3163 | Expression needs brackets. | GJB 5.1.2 |
M | 3167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3167 | Expression needs brackets. | GJB 5.1.2 |
M | 3168 | Expression needs brackets. | GJB 5.1.2 |
M | 3172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3172 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3173 | Expression needs brackets. | GJB 5.1.2 |
M | 3175 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
date2str_log (3191 to 3232 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3203 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 3191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3191 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3194 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 3200 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3202 | Value is not of appropriate type. : (unsigned int and int): memcpy ( dst , monthname [ tm -> tm_mon | GJB 4.6.1.8 |
M | 3204 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3206 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3209 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3214 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3219 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3224 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_tm_diff (3240 to 3259 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3240 | Name found with length less than 2. : a | GJB 4.8.1.1 |
M | 3240 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 3246 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3246 | Expression needs brackets. | GJB 5.1.2 |
M | 3247 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3247 | Expression needs brackets. | GJB 5.1.2 |
M | 3248 | Expression needs brackets. | GJB 5.1.2 |
M | 3249 | Expression needs brackets. | GJB 5.1.2 |
M | 3250 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3251 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 3252 | Expression needs brackets. | GJB 5.1.2 |
M | 3254 | Expression needs brackets. | GJB 5.1.2 |
M | 3256 | Expression needs brackets. | GJB 5.1.2 |
M | 3256 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_gmt_offset (3266 to 3297 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3266 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3266 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3269 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3271 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3281 | Value is not of appropriate type. : (unsigned int and int): gmt_offset = gmt_offsets [ isdst & 0x01 | GJB 4.6.1.8 |
M | 3289 | Modification of string literal. : gmt_offset | GJB 5.1.19 |
M | 3291 | Value is not of appropriate type. : (int and unsigned int): diff %= 86400U | GJB 4.6.1.8 |
M | 3296 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
gmt2str_log (3304 to 3345 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3315 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 3304 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3304 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3306 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 3312 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3314 | Value is not of appropriate type. : (unsigned int and int): memcpy ( dst , monthname [ tm -> tm_mon | GJB 4.6.1.8 |
M | 3316 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3318 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3321 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3326 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3331 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3336 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3337 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3338 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3339 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3340 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3341 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
localdate2str_log (3353 to 3395 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3367 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 3391 | Pointer not checked for null before use. : dst | GJB 5.1.15 |
M | 3390 | Pointer not checked for null before use. : gmt_offset | GJB 5.1.15 |
M | 3353 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3353 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3353 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 3355 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3356 | Signed/unsigned conversion without cast. : (unsigned int and int): size | GJB 4.6.1.9 |
M | 3364 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3366 | Value is not of appropriate type. : (unsigned int and int): memcpy ( dst , monthname [ tm -> tm_mon | GJB 4.6.1.8 |
M | 3368 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3370 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3373 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3378 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3383 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3388 | Assignment operation in expression. | GJB 4.6.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_timegm (3401 to 3449 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3425 | Expression needs brackets. | GJB 5.1.2 |
M | 3425 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3426 | Expression needs brackets. | GJB 5.1.2 |
M | 3426 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3427 | Expression needs brackets. | GJB 5.1.2 |
M | 3427 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3428 | Expression needs brackets. | GJB 5.1.2 |
M | 3428 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3430 | Name found with length less than 2. : y | GJB 4.8.1.1 |
M | 3431 | Name found with length less than 2. : m | GJB 4.8.1.1 |
M | 3435 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3438 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3438 | Expression needs brackets. | GJB 5.1.2 |
M | 3438 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3444 | Signed/unsigned conversion without cast. : (unsigned int and int): m | GJB 4.6.1.9 |
M | 3444 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3447 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3448 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 3448 | Expression needs brackets. | GJB 5.1.2 |
M | 3448 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_expect_char (3455 to 3462 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3455 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 3457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3457 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_strcmp (3467 to 3474 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3467 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3467 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3467 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 3469 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3469 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3472 | Type conversion without cast. : (char and int): ( * date ) += l | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_dayname (3489 to 3506 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3489 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3493 | Value is not of appropriate type. : (char and int): ( * date ) [ 0 ] ) | GJB 4.6.1.8 |
M | 3493 | Expression needs brackets. | GJB 5.1.2 |
M | 3493 | Value is not of appropriate type. : (char and short): ( * date ) [ 1 ] ) | GJB 4.6.1.8 |
M | 3493 | Expression needs brackets. | GJB 5.1.2 |
M | 3502 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3504 | Value is not of appropriate type. : (char and signed char): date += 3 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_monthname (3523 to 3545 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3523 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3527 | Value is not of appropriate type. : (char and int): ( * date ) [ 0 ] ) | GJB 4.6.1.8 |
M | 3527 | Expression needs brackets. | GJB 5.1.2 |
M | 3527 | Value is not of appropriate type. : (char and short): ( * date ) [ 1 ] ) | GJB 4.6.1.8 |
M | 3527 | Expression needs brackets. | GJB 5.1.2 |
M | 3541 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3543 | Value is not of appropriate type. : (char and signed char): date += 3 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_ldayname (3557 to 3592 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3557 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3561 | Value is not of appropriate type. : (char and int): ( * date ) [ 0 ] ) | GJB 4.6.1.8 |
M | 3561 | Expression needs brackets. | GJB 5.1.2 |
M | 3561 | Value is not of appropriate type. : (char and short): ( * date ) [ 1 ] ) | GJB 4.6.1.8 |
M | 3561 | Expression needs brackets. | GJB 5.1.2 |
M | 3565 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3569 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3573 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3577 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3581 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3585 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3590 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 3561 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_digit (3595 to 3603 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3595 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3597 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3599 | Type conversion without cast. : (int and char): digit = ( ** date - '0' | GJB 4.6.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_2digit (3606 to 3616 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3612 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3606 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3608 | Procedure contains UR data flow anomalies. : value |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_4digit (3619 to 3636 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3626 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3629 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3632 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3630 | Pointer not checked for null before use. : digit | GJB 5.1.15 |
M | 3633 | Pointer not checked for null before use. : digit | GJB 5.1.15 |
M | 3619 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3621 | Procedure contains UR data flow anomalies. : value |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_time (3645 to 3653 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3648 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3649 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3650 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3651 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3649 | Pointer not checked for null before use. : len | GJB 5.1.15 |
M | 3651 | Pointer not checked for null before use. : len | GJB 5.1.15 |
M | 3645 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3647 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3649 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3651 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_imf_date (3680 to 3700 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3685 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 3686 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3687 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3688 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3689 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3690 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3691 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3692 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3694 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3695 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3696 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3697 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3688 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 3680 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3688 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3692 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_rfc850_date (3711 to 3757 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3718 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 3719 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3720 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3721 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3722 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3723 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3724 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3733 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3736 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3738 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3741 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3752 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3753 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3751 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3721 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 3711 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3739 | Expression needs brackets. | GJB 5.1.2 |
M | 3721 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3733 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3713 | Procedure contains UR data flow anomalies. : year |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_asctime_date (3770 to 3793 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3775 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 3776 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3777 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3778 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3781 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3782 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3784 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3787 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3788 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3789 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3786 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3777 | Pointer not checked for null before use. : tm | GJB 5.1.15 |
M | 3770 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3782 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3784 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 | GJB 4.7.1.9 |
M | 3789 | Actual and formal parameters inconsistent (MR). : (tm and int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_http_date (3806 to 3818 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3811 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3814 | Pointer not checked for null before use. : date | GJB 5.1.15 |
M | 3806 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
memvprintf (3850 to 3897 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3850 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3853 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3861 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3867 | Use of banned function or variable. : va_copy | GJB 4.7.1.4 |
M | 3869 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
M | 3887 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3887 | free used on string. | GJB 5.1.19 |
M | 3892 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3892 | free used on string. | GJB 5.1.19 |
M | 3893 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3896 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
memprintf (3899 to 3909 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3899 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3899 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3899 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3899 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
M | 3902 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3904 | Use of banned function or variable. : va_start | GJB 4.7.1.4 |
M | 3906 | Use of banned function or variable. : va_end | GJB 4.7.1.4 |
M | 3908 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
indent_msg (3920 to 3981 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3968 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3970 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3966 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 3920 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3920 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3922 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3922 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 3928 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3931 | Value is not of appropriate type. : (char and signed char): in = *out | GJB 4.6.1.8 |
M | 3932 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3932 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 3940 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 3942 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3942 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3942 | Expression needs brackets. | GJB 5.1.2 |
M | 3944 | Value is not of appropriate type. : (unsigned int and int): ( * out ) [ lastlf | GJB 4.6.1.8 |
M | 3956 | Expression needs brackets. | GJB 5.1.2 |
M | 3957 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3957 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 3962 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 3966 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3970 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 3971 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 3977 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 3977 | free used on string. | GJB 5.1.19 |
M | 3978 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 3980 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
append_prefixed_str (3991 to 4016 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 3991 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3991 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 3991 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
my_unsetenv (4026 to 4048 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4029 | Pointer not checked for null before use. : environ | GJB 5.1.15 |
M | 4026 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4028 | extern not in nominated include file. | GJB 4.7.1.5 |
M | 4028 | Extern used in function body. | GJB 5.1.21 |
M | 4028 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4029 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4029 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 4034 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 4035 | Value is not of appropriate type. : (unsigned int and int): p [ vars | GJB 4.6.1.8 |
M | 4036 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4039 | Value is not of appropriate type. : (unsigned int and int): strncmp ( p [ next | GJB 4.6.1.8 |
M | 4039 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4039 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4039 | Value is not of appropriate type. : (unsigned int and int): p [ next | GJB 4.6.1.8 |
M | 4039 | Value is not of appropriate type. : (unsigned int and int): p [ next ] [ len | GJB 4.6.1.8 |
M | 4043 | Expression needs brackets. | GJB 5.1.2 |
M | 4044 | Modification of string literal. : p | GJB 5.1.19 |
M | 4044 | Value is not of appropriate type. : (unsigned int and int): p [ next | GJB 4.6.1.8 |
M | 4044 | Value is not of appropriate type. : (unsigned int and int): p [ next ] = p [ vars - 1 | GJB 4.6.1.8 |
M | 4045 | Modification of string literal. : p | GJB 5.1.19 |
M | 4045 | Value is not of appropriate type. : (unsigned int and int): p [ -- vars | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
env_expand (4057 to 4125 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4106 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 4115 | Pointer not checked for null before use. : out | GJB 5.1.15 |
M | 4093 | Pointer not checked for null before use. : var_end | GJB 5.1.15 |
M | 4115 | Pointer not checked for null before use. : value | GJB 5.1.15 |
M | 4099 | Pointer not checked for null before use. : next | GJB 5.1.15 |
M | 4057 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4057 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4059 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4060 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4061 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4062 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4063 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4064 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4065 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4072 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4078 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4078 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4086 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4093 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
M | 4093 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4093 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4093 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4098 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4098 | Expression needs brackets. | GJB 5.1.2 |
M | 4104 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 4105 | Modification of string literal. : var_end | GJB 5.1.19 |
M | 4118 | Value is not of appropriate type. : (unsigned int and int): out [ out_len | GJB 4.6.1.8 |
M | 4123 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4123 | free used on string. | GJB 5.1.19 |
M | 4124 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4072 | Procedure contains UR data flow anomalies. : out |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strnistr (4129 to 4174 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4145 | Pointer not checked for null before use. : str2 | GJB 5.1.15 |
M | 4162 | Pointer not checked for null before use. : pptr | GJB 5.1.15 |
M | 4162 | Pointer not checked for null before use. : sptr | GJB 5.1.15 |
M | 4145 | Pointer not checked for null before use. : start | GJB 5.1.15 |
M | 4129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4129 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4135 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4135 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4138 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4144 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp1 | GJB 4.6.1.9 |
M | 4144 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4144 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4144 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4144 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp1 = 0 , start = ( char * ) str1 , pptr = ( char * ) str2 , slen = len_str1 | GJB 4.6.1.9 |
M | 4144 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp1 = 0 , start = ( char * ) str1 , pptr = ( char * ) str2 , slen = len_str1 , plen = len_str2 | GJB 4.6.1.9 |
M | 4145 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4145 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4150 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp1 >= len_str1 | GJB 4.6.1.9 |
M | 4159 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4159 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4161 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp2 | GJB 4.6.1.9 |
M | 4162 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4162 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4167 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4167 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp2 == len_str2 | GJB 4.6.1.9 |
M | 4169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4169 | Signed/unsigned conversion without cast. : (unsigned int and int): tmp2 == len_str1 | GJB 4.6.1.9 |
M | 4132 | Procedure contains UR data flow anomalies. : plen | GJB 4.13.1.4 |
M | 4131 | Procedure contains UR data flow anomalies. : pptr | GJB 4.13.1.4 |
M | 4132 | Procedure contains UR data flow anomalies. : slen |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
utf8_next (4182 to 4294 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4271 | Pointer not checked for null before use. : p | GJB 5.1.15 |
M | 4182 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4182 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4182 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 4184 | Name found with length less than 2. : p | GJB 4.8.1.1 |
M | 4184 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4203 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4204 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4205 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 4207 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4208 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4209 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 4211 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4213 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4216 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4216 | Value is not of appropriate type. : (char and signed char): c = *p | GJB 4.6.1.8 |
M | 4220 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4222 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4225 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4225 | Value is not of appropriate type. : (char and signed char): c = *p | GJB 4.6.1.8 |
M | 4229 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4231 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4234 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4234 | Value is not of appropriate type. : (char and signed char): c = *p | GJB 4.6.1.8 |
M | 4238 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4240 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4243 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4243 | Value is not of appropriate type. : (char and signed char): c = *p | GJB 4.6.1.8 |
M | 4247 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4249 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4252 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4252 | Value is not of appropriate type. : (char and signed char): c = *p | GJB 4.6.1.8 |
M | 4256 | Inappropriate type - should be plain char. | GJB 4.1.1.15 |
M | 4257 | Null case in switch statement. | GJB 4.3.1.8 |
M | 4258 | Type conversion without cast. : (unsigned int and char): c = *p | GJB 4.6.1.9 |
M | 4260 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 4267 | Value is not of appropriate type. : (char and short): ( * p | GJB 4.6.1.8 |
M | 4268 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4268 | Function return type inconsistent. : (unsigned char and int) | GJB 4.9.1.4 |
M | 4271 | Value is not of appropriate type. : (char and signed char): c = ( * c << 6 ) | ( * p | GJB 4.6.1.8 |
M | 4282 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4282 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4282 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4283 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4283 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4283 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4283 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4284 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 4284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4284 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4284 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4284 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4285 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4285 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4285 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4285 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4289 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4289 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4289 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4289 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4290 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4290 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4290 | Signed/unsigned conversion without cast. : (unsigned int and int): * c | GJB 4.6.1.9 |
M | 4293 | Casting operation on a pointer. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
list_append_word (4301 to 4326 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4324 | Pointer not checked for null before use. : (wl)->s | GJB 5.1.15 |
M | 4301 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4301 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4305 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 4308 | goto detected. | GJB 4.5.1.2 |
M | 4311 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4312 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4314 | goto detected. | GJB 4.5.1.2 |
M | 4321 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4323 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 4326 | Memory not freed after last reference. : wl |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
may_access (4337 to 4346 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4343 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_text (4353 to 4392 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4353 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4355 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 4358 | Value is not of appropriate type. : (unsigned int and int): buf [ ptr | GJB 4.6.1.8 |
M | 4358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4358 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4359 | Type conversion without cast. : (unsigned char and char): c = buf | GJB 4.6.1.9 |
M | 4359 | Value is not of appropriate type. : (unsigned int and int): c = buf [ ptr | GJB 4.6.1.8 |
M | 4360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4360 | Type conversion without cast. : (unsigned char and char): c != '\\' | GJB 4.6.1.9 |
M | 4360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4360 | Type conversion without cast. : (unsigned char and char): c != ' ' | GJB 4.6.1.9 |
M | 4360 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4360 | Type conversion without cast. : (unsigned char and char): c != '=' | GJB 4.6.1.9 |
M | 4361 | Expression needs brackets. | GJB 5.1.2 |
M | 4363 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == '\t' | GJB 4.6.1.9 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == '\n' | GJB 4.6.1.9 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == '\r' | GJB 4.6.1.9 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == '\e' | GJB 4.6.1.9 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == '\\' | GJB 4.6.1.9 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == ' ' | GJB 4.6.1.9 |
M | 4365 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4365 | Type conversion without cast. : (unsigned char and char): c == '=' | GJB 4.6.1.9 |
M | 4366 | Expression needs brackets. | GJB 5.1.2 |
M | 4368 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4370 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4370 | Type conversion without cast. : (unsigned char and char): c = ' ' | GJB 4.6.1.9 |
M | 4371 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4371 | Type conversion without cast. : (unsigned char and char): c = 't' | GJB 4.6.1.9 |
M | 4372 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4372 | Type conversion without cast. : (unsigned char and char): c = 'n' | GJB 4.6.1.9 |
M | 4373 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4373 | Type conversion without cast. : (unsigned char and char): c = 'r' | GJB 4.6.1.9 |
M | 4374 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4374 | Type conversion without cast. : (unsigned char and char): c = 'e' | GJB 4.6.1.9 |
M | 4375 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4375 | Type conversion without cast. : (unsigned char and char): c = '\\' | GJB 4.6.1.9 |
M | 4376 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4376 | Type conversion without cast. : (unsigned char and char): c = '=' | GJB 4.6.1.9 |
M | 4369 | No default case in switch statement. | GJB 4.3.1.4 |
M | 4378 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 4381 | Expression needs brackets. | GJB 5.1.2 |
M | 4383 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4384 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4385 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4386 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_binary (4397 to 4413 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4397 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4399 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 4403 | Type conversion without cast. : (unsigned char and char): c = buf | GJB 4.6.1.9 |
M | 4403 | Value is not of appropriate type. : (unsigned int and int): c = buf [ ptr | GJB 4.6.1.8 |
M | 4405 | Expression needs brackets. | GJB 5.1.2 |
M | 4407 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4408 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_hex (4423 to 4463 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4428 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 4423 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4425 | Name found with length less than 2. : d | GJB 4.8.1.1 |
M | 4426 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4426 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 4428 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4428 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4428 | Value is not of appropriate type. : (unsigned long and signed char): ( unsigned long ) buf ) & | GJB 4.6.1.8 |
M | 4429 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4429 | Signed/unsigned conversion without cast. : (int and unsigned long): ( unsigned long ) buf | GJB 4.6.1.9 |
M | 4431 | Expression needs brackets. | GJB 5.1.2 |
M | 4432 | Use of sizeof on a type. | GJB 5.1.8 |
M | 4436 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4440 | Expression needs brackets. | GJB 5.1.2 |
M | 4440 | Expression needs brackets. | GJB 5.1.2 |
M | 4445 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "%02x " , d [ i + j | GJB 4.6.1.8 |
M | 4452 | Expression needs brackets. | GJB 5.1.2 |
M | 4452 | Expression needs brackets. | GJB 5.1.2 |
M | 4456 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) d [ i + j | GJB 4.6.1.8 |
M | 4457 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( out , "%c" , d [ i + j | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_addr_and_bytes (4473 to 4488 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4473 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4473 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 4476 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4478 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4481 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 4484 | Value is not of appropriate type. : (unsigned int and int): ( uint8_t * ) addr ) [ i | GJB 4.6.1.8 |
M | 4484 | Expression needs brackets. | GJB 5.1.2 |
M | 4486 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_text_line (4498 to 4546 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4498 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4502 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 4510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4510 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4511 | Type conversion without cast. : (unsigned char and char): c = buf | GJB 4.6.1.9 |
M | 4511 | Value is not of appropriate type. : (unsigned int and int): c = buf [ ptr | GJB 4.6.1.8 |
M | 4512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4512 | Type conversion without cast. : (unsigned char and char): c != '\\' | GJB 4.6.1.9 |
M | 4513 | Expression needs brackets. | GJB 5.1.2 |
M | 4515 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4516 | Type conversion without cast. : (unsigned char and char): c == '\t' | GJB 4.6.1.9 |
M | 4516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4516 | Type conversion without cast. : (unsigned char and char): c == '\n' | GJB 4.6.1.9 |
M | 4516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4516 | Type conversion without cast. : (unsigned char and char): c == '\r' | GJB 4.6.1.9 |
M | 4516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4516 | Type conversion without cast. : (unsigned char and char): c == '\e' | GJB 4.6.1.9 |
M | 4516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4516 | Type conversion without cast. : (unsigned char and char): c == '\\' | GJB 4.6.1.9 |
M | 4517 | Expression needs brackets. | GJB 5.1.2 |
M | 4519 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4521 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4521 | Type conversion without cast. : (unsigned char and char): c = 't' | GJB 4.6.1.9 |
M | 4522 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4522 | Type conversion without cast. : (unsigned char and char): c = 'n' | GJB 4.6.1.9 |
M | 4523 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4523 | Type conversion without cast. : (unsigned char and char): c = 'r' | GJB 4.6.1.9 |
M | 4524 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4524 | Type conversion without cast. : (unsigned char and char): c = 'e' | GJB 4.6.1.9 |
M | 4525 | Char used instead of (un)signed char. | GJB 4.1.1.15 |
M | 4525 | Type conversion without cast. : (unsigned char and char): c = '\\' | GJB 4.6.1.9 |
M | 4520 | No default case in switch statement. | GJB 4.3.1.4 |
M | 4527 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4529 | Expression needs brackets. | GJB 5.1.2 |
M | 4531 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4532 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4533 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4534 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4536 | Value is not of appropriate type. : (unsigned int and int): buf [ ptr ++ | GJB 4.6.1.8 |
M | 4538 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
M | 4544 | Value is not of appropriate type. : (unsigned int and int): out -> area [ out -> data ++ | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
debug_hexdump (4552 to 4593 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4552 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4555 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4556 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4556 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 4558 | Signed/unsigned conversion without cast. : (unsigned int and int): i | GJB 4.6.1.9 |
M | 4558 | Signed/unsigned conversion without cast. : (int and unsigned int): i < ( len + ( | GJB 4.6.1.9 |
M | 4558 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4559 | Signed/unsigned conversion without cast. : (int and unsigned int): b = i | GJB 4.6.1.9 |
M | 4559 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4560 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4562 | Expression needs brackets. | GJB 5.1.2 |
M | 4562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4562 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4562 | Expression needs brackets. | GJB 5.1.2 |
M | 4563 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , "%02x " , ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
M | 4568 | Expression needs brackets. | GJB 5.1.2 |
M | 4568 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4568 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4568 | Expression needs brackets. | GJB 5.1.2 |
M | 4574 | Expression needs brackets. | GJB 5.1.2 |
M | 4574 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4574 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4574 | Expression needs brackets. | GJB 5.1.2 |
M | 4575 | Value is not of appropriate type. : (unsigned int and int): fprintf ( out , " %02x" , ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
M | 4582 | Expression needs brackets. | GJB 5.1.2 |
M | 4582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4582 | Expression needs brackets. | GJB 5.1.2 |
M | 4583 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
M | 4584 | Value is not of appropriate type. : (unsigned int and int): ( unsigned char ) buf [ b + j | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_exec_path (4598 to 4609 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4598 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4598 | Empty parameter list to procedure/function. : get_exec_path | GJB 4.1.1.10 |
M | 4600 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4608 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
resolve_sym_name (4650 to 4738 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4654 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 4734 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 4736 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 4650 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4654 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4655 | Array has no bounds specified. | GJB 4.1.1.19 |
M | 4678 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 4683 | Signed/unsigned conversion without cast. : (int and unsigned int): i < sizeof | GJB 4.6.1.9 |
M | 4683 | Expression needs brackets. | GJB 5.1.2 |
M | 4684 | Value is not of appropriate type. : (unsigned int and int): addr == fcts [ i | GJB 4.6.1.8 |
M | 4685 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( buf , "%s" , fcts [ i | GJB 4.6.1.8 |
M | 4733 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 4736 | Cast from pointer to integral type. | GJB 4.12.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_dotted_uints (4750 to 4782 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4773 | Pointer not checked for null before use. : sz | GJB 5.1.15 |
M | 4750 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4752 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 4753 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4753 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 4756 | Signed/unsigned conversion without cast. : (unsigned int and int): sz | GJB 4.6.1.9 |
M | 4758 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4758 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4761 | Name found with length less than 2. : r | GJB 4.8.1.1 |
M | 4770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4770 | Expression needs brackets. | GJB 5.1.2 |
M | 4770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4770 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 4773 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4779 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 4758 | Procedure contains UR data flow anomalies. : n |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
varint_bytes (4788 to 4802 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4788 | Name found with length less than 2. : v | GJB 4.8.1.1 |
M | 4792 | Signed/unsigned conversion without cast. : (unsigned long and int): v | GJB 4.6.1.9 |
M | 4793 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4796 | Signed/unsigned conversion without cast. : (unsigned long and int): v | GJB 4.6.1.9 |
M | 4798 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_random64 (4815 to 4848 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4815 | Empty parameter list to procedure/function. : ha_random64 | GJB 4.1.1.10 |
M | 4818 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | 4819 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4819 | Function declared more than once. : ALIGNED | GJB 5.1.23 |
M | 4819 | Procedure parameter has a type but no identifier. : param 2 | GJB 4.1.1.7 |
M | 4833 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 4834 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4835 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4835 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4836 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4836 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4841 | Use of C++ keyword. : new | GJB 4.1.1.9 |
M | 4842 | Use of C++ keyword. : new | GJB 4.1.1.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_random_seed (4853 to 4877 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4863 | Signed/unsigned conversion without cast. : (unsigned int and int): pos | GJB 4.6.1.9 |
M | 4864 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 4871 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_random_jump96 (4889 to 4914 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 4891 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 4894 | Name found with length less than 2. : b | GJB 4.8.1.1 |
M | 4897 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 4905 | Negative (or potentially negative) shift. | GJB 5.1.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_generate_uuid (4919 to 4938 tools.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_line (4981 to 5241 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5172 | Pointer not checked for null before use. : word_expand | GJB 5.1.15 |
M | 5161 | Pointer not checked for null before use. : var_name | GJB 5.1.15 |
M | 4981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4981 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4983 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4984 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4985 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 4996 | Signed/unsigned conversion without cast. : (unsigned int and int): outlen | GJB 4.6.1.9 |
M | 5000 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 5003 | Operation not appropriate to plain char. | GJB 4.1.1.15 |
M | 5003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5003 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5007 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5007 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5007 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5007 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5007 | Expression needs brackets. | GJB 5.1.2 |
M | 5010 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5010 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5010 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5014 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5018 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5018 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5030 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5030 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5042 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5042 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5047 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5051 | Null case in switch statement. | GJB 4.3.1.8 |
M | 5080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5080 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5087 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5087 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5094 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5100 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5100 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5100 | Expression with more than one function. | GJB 4.7.1.6 |
M | 5105 | goto detected. | GJB 4.5.1.2 |
M | 5107 | Signed/unsigned conversion without cast. : (unsigned char and int): hex1 = toupper | GJB 4.6.1.9 |
M | 5108 | Signed/unsigned conversion without cast. : (unsigned char and int): hex2 = toupper | GJB 4.6.1.9 |
M | 5109 | Signed/unsigned conversion without cast. : (unsigned char and int): hex1 | GJB 4.6.1.9 |
M | 5109 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 5109 | Type conversion without cast. : (unsigned char and char): hex1 -= 'A' | GJB 4.6.1.9 |
M | 5109 | Operation not appropriate to plain char. : - used with char: 'A' | GJB 4.1.1.15 |
M | 5109 | Value is not of appropriate type. : (char and signed char): hex1 -= 'A' - '9' | GJB 4.6.1.8 |
M | 5110 | Signed/unsigned conversion without cast. : (unsigned char and int): hex2 | GJB 4.6.1.9 |
M | 5110 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 5110 | Type conversion without cast. : (unsigned char and char): hex2 -= 'A' | GJB 4.6.1.9 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 5110 | Operation not appropriate to plain char. : - used with char: 'A' | GJB 4.1.1.15 |
M | 5110 | Value is not of appropriate type. : (char and signed char): hex2 -= 'A' - '9' | GJB 4.6.1.8 |
M | 5111 | Type conversion without cast. : (char and unsigned char): tosend = ( hex1 << 4 | GJB 4.6.1.9 |
M | 5111 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 5121 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5121 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5121 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5121 | Expression needs brackets. | GJB 5.1.2 |
M | 5123 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 5123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5123 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5125 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 5126 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 5127 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5127 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5127 | Value is not of appropriate type. : (char and unsigned char): ( char ) ( 0 | GJB 4.6.1.8 |
M | 5127 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5127 | Expression needs brackets. | GJB 5.1.2 |
M | 5130 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 5134 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5138 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5139 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5140 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5145 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5147 | Use of banned function or variable. : isalpha | GJB 4.7.1.4 |
M | 5147 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 5147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5152 | goto detected. | GJB 4.5.1.2 |
M | 5156 | Use of banned function or variable. : isalnum | GJB 4.7.1.4 |
M | 5156 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 5156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5156 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5157 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 5161 | Use of banned function or variable. : getenv | GJB 4.7.1.4 |
M | 5166 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5167 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5169 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5169 | Expression needs brackets. | GJB 5.1.2 |
M | 5169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5169 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5169 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5169 | Expression needs brackets. | GJB 5.1.2 |
M | 5172 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 5173 | goto detected. | GJB 4.5.1.2 |
M | 5182 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 5183 | goto detected. | GJB 4.5.1.2 |
M | 5192 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5192 | Cast from pointer to integral type. | GJB 4.12.1.1 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 5193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5193 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5193 | Value is not of appropriate type. : (char and unsigned char): ( char ) ( 0 | GJB 4.6.1.8 |
M | 5193 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5193 | Expression needs brackets. | GJB 5.1.2 |
M | 5196 | Value is not of appropriate type. : (unsigned int and int): args [ arg | GJB 4.6.1.8 |
M | 5201 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5202 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 5204 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5204 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5204 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5204 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5204 | Expression needs brackets. | GJB 5.1.2 |
M | 5212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5212 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5212 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5212 | Expression needs brackets. | GJB 5.1.2 |
M | 5217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5217 | Value is not of appropriate type. : (char and unsigned char): ( char ) ( 0 | GJB 4.6.1.8 |
M | 5217 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5217 | Expression needs brackets. | GJB 5.1.2 |
M | 5224 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 5225 | goto detected. | GJB 4.5.1.2 |
M | 5237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5238 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 5238 | Value is not of appropriate type. : (unsigned int and int): args [ arg ++ | GJB 4.6.1.8 |
M | 5238 | Expression needs brackets. | GJB 5.1.2 |
M | 5186 | Procedure contains UR data flow anomalies. : brace | GJB 4.13.1.4 |
M | 5021 | Procedure contains UR data flow anomalies. : quote | GJB 4.13.1.4 |
M | 5033 | Procedure contains UR data flow anomalies. : quote | GJB 4.13.1.4 |
M | 5208 | Procedure contains UR data flow anomalies. : word_expand |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sanitize_for_printing (5252 to 5287 tools.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 5271 | Pointer not checked for null before use. : in | GJB 5.1.15 |
M | 5252 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5255 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5256 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5257 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 5263 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 5263 | Expression needs brackets. | GJB 5.1.2 |
M | 5264 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 5265 | Expression needs brackets. | GJB 5.1.2 |
M | 5266 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5270 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 5271 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 5272 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5273 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 5274 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5276 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5280 | Expression needs brackets. | GJB 5.1.2 |
M | 5281 | Modification of string literal. : out | GJB 5.1.19 |
M | 5281 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5285 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 5286 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
alloc_trace_buffers_per_thread (38 to 42 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 38 | Empty parameter list to procedure/function. : alloc_trace_buffers_per_thread | GJB 4.1.1.10 |
M | 38 | Static procedure is not explicitly called in code analysed. : alloc_trace_buffers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
free_trace_buffers_per_thread (44 to 47 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 44 | Empty parameter list to procedure/function. : free_trace_buffers_per_thread | GJB 4.1.1.10 |
M | 44 | Static procedure is not explicitly called in code analysed. : free_trace_buffers_per_thread | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_pick_arg (53 to 70 trace.c) - FAIL |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__trace (73 to 245 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 125 | Pointer not checked for null before use. : li | GJB 5.1.15 |
M | 136 | Pointer not checked for null before use. : srv | GJB 5.1.15 |
M | 112 | Pointer not checked for null before use. : strm | GJB 5.1.15 |
M | 122 | Pointer not checked for null before use. : conn | GJB 5.1.15 |
M | 74 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 90 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 114 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 124 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 135 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 170 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 173 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 173 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 179 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 180 | goto detected. | GJB 4.5.1.2 |
M | 185 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 186 | Value is not of appropriate type. : (char and unsigned char): tnum [ 0 ] = '0' + tid | GJB 4.6.1.8 |
M | 186 | Expression needs brackets. | GJB 5.1.2 |
M | 187 | Value is not of appropriate type. : (char and unsigned char): tnum [ 1 ] = '0' + tid | GJB 4.6.1.8 |
M | 187 | Expression needs brackets. | GJB 5.1.2 |
M | 190 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 191 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 192 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 193 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 194 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 195 | Value is not of appropriate type. : (unsigned int and int): line [ words | GJB 4.6.1.8 |
M | 196 | Value is not of appropriate type. : (unsigned int and int): line [ words | GJB 4.6.1.8 |
M | 197 | Value is not of appropriate type. : (unsigned int and int): line [ words | GJB 4.6.1.8 |
M | 197 | Value is not of appropriate type. : (unsigned int and int): line [ words ].ptr += ( line [ words | GJB 4.6.1.8 |
M | 198 | Value is not of appropriate type. : (unsigned int and int): line [ words | GJB 4.6.1.8 |
M | 201 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 205 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 219 | Value is not of appropriate type. : (unsigned int and int): line [ words | GJB 4.6.1.8 |
M | 220 | Value is not of appropriate type. : (unsigned int and int): line [ words | GJB 4.6.1.8 |
M | 229 | Value is not of appropriate type. : (unsigned int and int): line [ words ++ | GJB 4.6.1.8 |
M | 244 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 103 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 1 | GJB 4.7.1.9 |
M | 106 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 1 | GJB 4.7.1.9 |
M | 109 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 1 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_find_source (247 to 256 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 247 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 254 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
trace_find_event (258 to 264 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 258 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 261 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_trace (267 to 602 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 404 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 571 | Pointer not checked for null before use. : nd | GJB 5.1.15 |
M | 588 | Pointer not checked for null before use. : nd | GJB 5.1.15 |
M | 267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 267 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 267 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 314 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 314 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 314 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 315 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 315 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 315 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 316 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 316 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 316 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 317 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 317 | Assignment operator in RHS of && or ||. | GJB 4.6.1.16 |
M | 317 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 319 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 321 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 325 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 340 | Value is not of appropriate type. : (unsigned int and int): src -> known_events [ i | GJB 4.6.1.8 |
M | 342 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( * ev_ptr , src -> known_events [ i | GJB 4.6.1.8 |
M | 342 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( * ev_ptr , src -> known_events [ i ].mask ) , src -> known_events [ i | GJB 4.6.1.8 |
M | 342 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( * ev_ptr , src -> known_events [ i ].mask ) , src -> known_events [ i ].name , src -> known_events [ i | GJB 4.6.1.8 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 349 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 361 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 381 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 407 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 443 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 481 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 486 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 491 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 496 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 504 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 508 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 512 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 516 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 524 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 528 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 532 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 540 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 544 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 548 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 548 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 552 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 552 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 560 | char type not signed or unsigned. | GJB 4.1.1.15 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 567 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 567 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 572 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 572 | Expression needs brackets. | GJB 5.1.2 |
M | 582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 582 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 589 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 592 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 267 | Static procedure is not explicitly called in code analysed. : cli_parse_trace | GJB 4.7.1.3 |
M | 269 | Procedure contains UR data flow anomalies. : src |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
cli_parse_show_trace (605 to 656 trace.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 623 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 642 | Pointer not checked for null before use. : sink | GJB 5.1.15 |
M | 605 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 605 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 605 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 609 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 645 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 645 | Value is not of appropriate type. : (unsigned int and int): src -> known_events [ i | GJB 4.6.1.8 |
M | 646 | Value is not of appropriate type. : (unsigned int and int): chunk_appendf ( & trash , " %-12s : %c %c %c %c\n" , src -> known_events [ i | GJB 4.6.1.8 |
M | 648 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( src -> report_events , src -> known_events [ i | GJB 4.6.1.8 |
M | 649 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( src -> start_events , src -> known_events [ i | GJB 4.6.1.8 |
M | 650 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( src -> stop_events , src -> known_events [ i | GJB 4.6.1.8 |
M | 651 | Value is not of appropriate type. : (unsigned int and int): trace_event_char ( src -> pause_events , src -> known_events [ i | GJB 4.6.1.8 |
M | 605 | Static procedure is not explicitly called in code analysed. : cli_parse_show_trace | GJB 4.7.1.3 |
M | 607 | Procedure contains UR data flow anomalies. : src |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_check_init_uri_auth (28 to 57 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 41 | Pointer not checked for null before use. : u | GJB 5.1.15 |
M | 32 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 33 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 33 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 33 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 34 | goto detected. | GJB 4.5.1.2 |
M | 42 | Signed/unsigned conversion without cast. : (int and unsigned int): u -> uri_len = strlen | GJB 4.6.1.9 |
M | 42 | Value is not of appropriate type. : (int and char): u -> uri_len = strlen ( STATS_DEFAULT_URI | GJB 4.6.1.8 |
M | 43 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 43 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 44 | goto detected. | GJB 4.5.1.2 |
M | 47 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 50 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 53 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 53 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 57 | Memory not freed after last reference. : (u)-> |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_set_uri (63 to 85 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 63 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 66 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 69 | Signed/unsigned conversion without cast. : (int and unsigned int): uri_len = strlen | GJB 4.6.1.9 |
M | 70 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 70 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 71 | goto detected. | GJB 4.5.1.2 |
M | 73 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 73 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 74 | goto detected. | GJB 4.5.1.2 |
M | 74 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 79 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 81 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 82 | free used on string. | GJB 5.1.19 |
M | 85 | Memory not freed after last reference. : uri_copy |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_set_realm (91 to 110 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 91 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 94 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 96 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 96 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 97 | goto detected. | GJB 4.5.1.2 |
M | 99 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 99 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 100 | goto detected. | GJB 4.5.1.2 |
M | 100 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 104 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 106 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 107 | free used on string. | GJB 5.1.19 |
M | 110 | Memory not freed after last reference. : realm_copy |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_set_node (117 to 145 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 131 | Pointer not checked for null before use. : root | GJB 5.1.15 |
M | 117 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 120 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 122 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 125 | goto detected. | GJB 4.5.1.2 |
M | 128 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 128 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 129 | goto detected. | GJB 4.5.1.2 |
M | 132 | goto detected. | GJB 4.5.1.2 |
M | 135 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 139 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 141 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 142 | free used on string. | GJB 5.1.19 |
M | 145 | Memory not freed after last reference. : node_copy |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_set_desc (152 to 180 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | Pointer not checked for null before use. : root | GJB 5.1.15 |
M | 152 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 157 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 160 | goto detected. | GJB 4.5.1.2 |
M | 163 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 163 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 164 | goto detected. | GJB 4.5.1.2 |
M | 167 | goto detected. | GJB 4.5.1.2 |
M | 170 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 170 | free used on string. | GJB 5.1.19 |
M | 174 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 176 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 177 | free used on string. | GJB 5.1.19 |
M | 180 | Memory not freed after last reference. : desc_copy |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_set_refresh (186 to 193 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 190 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 190 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 192 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_set_flag (199 to 206 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 203 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 203 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 205 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_add_auth (213 to 269 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | Pointer not checked for null before use. : (newuser)->user | GJB 5.1.15 |
M | 257 | Pointer not checked for null before use. : pass | GJB 5.1.15 |
M | 213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 221 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 225 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 225 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 229 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 241 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 247 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 253 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 259 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 259 | free used on string. | GJB 5.1.19 |
M | 260 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 268 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 269 | Memory not freed after last reference. : newuser |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
stats_add_scope (276 to 311 uri_auth.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 276 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 279 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 282 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 282 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 283 | goto detected. | GJB 4.5.1.2 |
M | 286 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 293 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 293 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 294 | goto detected. | GJB 4.5.1.2 |
M | 296 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 296 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 296 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 297 | goto detected. | GJB 4.5.1.2 |
M | 300 | Signed/unsigned conversion without cast. : (int and unsigned int): old_scope -> px_len = strlen | GJB 4.6.1.9 |
M | 303 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 305 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 306 | free used on string. | GJB 5.1.19 |
M | 307 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 311 | Memory not freed after last reference. : old_scope | GJB 5.1.17 |
M | 311 | Memory not freed after last reference. : new_name |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_gd1 (11 to 20 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 11 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 14 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 16 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 16 | Type conversion without cast. : (int and char): ( c = *uri | GJB 4.6.1.9 |
M | 17 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 17 | Signed/unsigned conversion without cast. : (unsigned long and int): hash = c | GJB 4.6.1.9 |
M | 17 | Signed/unsigned conversion without cast. : (int and unsigned long): hash = c + ( | GJB 4.6.1.9 |
M | 17 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 17 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_gd2 (23 to 35 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 23 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 26 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 28 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 28 | Type conversion without cast. : (int and char): ( c = *uri | GJB 4.6.1.9 |
M | 29 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 29 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 29 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 29 | Type conversion without cast. : (int and char): c == '\n' | GJB 4.6.1.9 |
M | 31 | Signed/unsigned conversion without cast. : (unsigned long and int): hash = c | GJB 4.6.1.9 |
M | 31 | Signed/unsigned conversion without cast. : (int and unsigned long): hash = c + ( | GJB 4.6.1.9 |
M | 31 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 31 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_gd3 (39 to 51 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 42 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 44 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 44 | Type conversion without cast. : (int and char): ( c = *uri | GJB 4.6.1.9 |
M | 45 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 45 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 45 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 45 | Type conversion without cast. : (int and char): c == '\n' | GJB 4.6.1.9 |
M | 47 | Signed/unsigned conversion without cast. : (unsigned long and int): hash = c | GJB 4.6.1.9 |
M | 47 | Signed/unsigned conversion without cast. : (int and unsigned long): hash = c - ( | GJB 4.6.1.9 |
M | 47 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 47 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_gd4 (55 to 67 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 58 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 60 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 60 | Type conversion without cast. : (int and char): ( c = *uri | GJB 4.6.1.9 |
M | 61 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 61 | Type conversion without cast. : (int and char): c == '\n' | GJB 4.6.1.9 |
M | 63 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 63 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_gd5 (71 to 83 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 71 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 74 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 76 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 76 | Type conversion without cast. : (int and char): ( c = *uri | GJB 4.6.1.9 |
M | 77 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 77 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 77 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 77 | Type conversion without cast. : (int and char): c == '\n' | GJB 4.6.1.9 |
M | 79 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 79 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_gd6 (87 to 99 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 87 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 90 | Name found with length less than 2. : c | GJB 4.8.1.1 |
M | 92 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 92 | Type conversion without cast. : (int and char): ( c = *uri | GJB 4.6.1.9 |
M | 93 | Type conversion without cast. : (int and char): c == '?' | GJB 4.6.1.9 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 93 | Type conversion without cast. : (int and char): c == '\n' | GJB 4.6.1.9 |
M | 95 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 95 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_wt1 (103 to 125 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 103 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 107 | Signed/unsigned conversion without cast. : (int and unsigned long): bits = val | GJB 4.6.1.9 |
M | 107 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 107 | Signed/unsigned conversion without cast. : (unsigned long and int): bits = val = data | GJB 4.6.1.9 |
M | 109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 111 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 111 | Value is not of appropriate type. : (unsigned char and char): ( unsigned long ) ( unsigned char ) * | GJB 4.6.1.8 |
M | 111 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 114 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 114 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 116 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 121 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 121 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 122 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 122 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shl32 (134 to 138 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 134 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 137 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 137 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
shr32 (140 to 144 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 140 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 143 | Negative (or potentially negative) shift. | GJB 5.1.7 |
M | 143 | Function return type inconsistent. : (unsigned int and int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
rev32 (146 to 153 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 146 | Name found with length less than 2. : c | GJB 4.8.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
hash_wt2 (155 to 174 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 155 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 156 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 157 | Name found with length less than 2. : j | GJB 4.8.1.1 |
M | 161 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 162 | Value is not of appropriate type. : (unsigned int and unsigned char): j = ( unsigned char | GJB 4.6.1.8 |
M | 162 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 162 | Value is not of appropriate type. : (unsigned char and char): j = ( unsigned char ) * | GJB 4.6.1.8 |
M | 162 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 163 | Type conversion without cast. : (unsigned int and char): j == '?' | GJB 4.6.1.9 |
M | 163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 163 | Type conversion without cast. : (unsigned int and char): j == '\n' | GJB 4.6.1.9 |
M | 165 | Signed/unsigned conversion without cast. : (int and unsigned int): rev32 | GJB 4.6.1.9 |
M | 165 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 166 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 166 | Expression needs brackets. | GJB 5.1.2 |
M | 170 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 171 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 173 | Function return type inconsistent. : (int and unsigned int) |
GJB 4.9.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
SuperFastHash (201 to 244 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 212 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 201 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 202 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 202 | Value is not of appropriate type. : (unsigned int and int): len | GJB 4.6.1.8 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 205 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 208 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 212 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 212 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 213 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 1 ] | GJB 4.6.1.8 |
M | 213 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 213 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 0 ] | GJB 4.6.1.8 |
M | 216 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 221 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 221 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 221 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 221 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 223 | Operation not appropriate to plain char. : ^= used with char | GJB 4.1.1.15 |
M | 223 | Type conversion without cast. : (unsigned int and char): hash ^= data | GJB 4.6.1.9 |
M | 223 | Operation not appropriate to plain char. : << used with char: data | GJB 4.1.1.15 |
M | 223 | Shifting value too far. | GJB 4.6.1.4 |
M | 224 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 226 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 226 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 228 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 230 | Type conversion without cast. : (unsigned int and char): hash += *data | GJB 4.6.1.9 |
M | 232 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 233 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 220 | No default case in switch statement. | GJB 4.3.1.4 |
M | 237 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 239 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 241 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
SuperFastHash2 (250 to 295 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 262 | Pointer not checked for null before use. : data | GJB 5.1.15 |
M | 250 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 251 | Signed/unsigned conversion without cast. : (unsigned int and int): len | GJB 4.6.1.9 |
M | 251 | Value is not of appropriate type. : (unsigned int and int): len | GJB 4.6.1.8 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 254 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 257 | Use of shift operator on signed type. | GJB 4.6.1.3 |
M | 262 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 1 ] | GJB 4.6.1.8 |
M | 262 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 262 | Value is not of appropriate type. : (unsigned int and signed char): ( const uint8_t * ) ( data + 2 ) ) [ 0 ] | GJB 4.6.1.8 |
M | 263 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 263 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 263 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 263 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 267 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 272 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 272 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 272 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 272 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 274 | Operation not appropriate to plain char. : ^= used with char | GJB 4.1.1.15 |
M | 274 | Type conversion without cast. : (unsigned int and char): hash ^= data | GJB 4.6.1.9 |
M | 274 | Operation not appropriate to plain char. : << used with char: data | GJB 4.1.1.15 |
M | 274 | Shifting value too far. | GJB 4.6.1.4 |
M | 275 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 277 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 277 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 277 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 277 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 279 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 281 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 281 | Type conversion without cast. : (unsigned int and char): hash += *data | GJB 4.6.1.9 |
M | 283 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 284 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 271 | No default case in switch statement. | GJB 4.3.1.4 |
M | 288 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 290 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 292 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
haproxy_server_hash (299 to 308 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 299 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 300 | Name found with length less than 2. : h | GJB 4.8.1.1 |
M | 300 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 301 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 301 | Signed/unsigned conversion without cast. : (unsigned int and int): l = h | GJB 4.6.1.9 |
M | 303 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 303 | Use of sizeof on a type. | GJB 5.1.8 |
M | 303 | Signed/unsigned conversion without cast. : (unsigned int and int): ( l + sizeof ( int ) ) <= len | GJB 4.6.1.9 |
M | 304 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 305 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 305 | Use of sizeof on a type. | GJB 5.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
count_hash_results (312 to 319 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 312 | First array param dimension specified. | GJB 5.1.11 |
M | 316 | Signed/unsigned conversion without cast. : (int and unsigned long): srv = hash | GJB 4.6.1.9 |
M | 317 | Value is not of appropriate type. : (unsigned int and int): counts [ nsrv | GJB 4.6.1.8 |
M | 317 | Value is not of appropriate type. : (unsigned int and int): counts [ nsrv ] [ srv | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dump_hash_results (321 to 335 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 321 | First array param dimension specified. | GJB 5.1.11 |
M | 328 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 329 | Comment possibly contains code. | GJB 4.10.2.1 |
M | 330 | Value is not of appropriate type. : (unsigned int and int): printf ( "%3.1f " , 100.0 * ( counts [ nsrv | GJB 4.6.1.8 |
M | 330 | Value is not of appropriate type. : (unsigned int and int): printf ( "%3.1f " , 100.0 * ( counts [ nsrv ] [ srv | GJB 4.6.1.8 |
M | 330 | Expression needs brackets. | GJB 5.1.2 |
M | 330 | Expression needs brackets. | GJB 5.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
main (337 to 377 uri_hash.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 337 | main must be int (void) or int (int,char*[]). | GJB 4.2.1.10 |
M | 358 | Actual and formal parameters inconsistent (MR). : (int and unsigned long): param 1 | GJB 4.7.1.9 |
M | 358 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 359 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 360 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 361 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_chunk_add (325 to 350 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 325 | Name found with length less than 2. : n | GJB 4.8.1.1 |
M | 325 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 344 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 347 | Signed/unsigned conversion without cast. : (int and unsigned int): chk -> data += n | GJB 4.6.1.9 |
M | 325 | Function has no return statement. : flt_ot_chunk_add | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_args_count (366 to 374 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 366 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 371 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_args_to_str (392 to 401 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 392 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 392 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 394 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 400 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 400 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_strtod (420 to 434 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 428 | Pointer not checked for null before use. : endptr | GJB 5.1.15 |
M | 420 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 420 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 422 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 425 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 428 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 428 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 431 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_strtoll (453 to 467 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 461 | Pointer not checked for null before use. : endptr | GJB 5.1.15 |
M | 453 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 453 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 455 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 458 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 460 | Type conversion without cast. : (long and long long): retval = strtoll | GJB 4.6.1.9 |
M | 461 | Use of banned function or variable. : errno | GJB 4.7.1.4 |
M | 461 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 464 | Else alternative missing in if. | GJB 4.3.1.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_sample_to_str (486 to 605 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 486 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 492 | Signed/unsigned conversion without cast. : (unsigned int and int): ( size | GJB 4.6.1.9 |
M | 513 | Signed/unsigned conversion without cast. : (int and unsigned int): INET_ADDRSTRLEN | GJB 4.6.1.9 |
M | 513 | Signed/unsigned conversion without cast. : (int and unsigned int): INET_ADDRSTRLEN > size | GJB 4.6.1.9 |
M | 518 | Signed/unsigned conversion without cast. : (int and unsigned int): retval = strlen | GJB 4.6.1.9 |
M | 521 | Signed/unsigned conversion without cast. : (int and unsigned int): INET6_ADDRSTRLEN | GJB 4.6.1.9 |
M | 521 | Signed/unsigned conversion without cast. : (int and unsigned int): INET6_ADDRSTRLEN > size | GJB 4.6.1.9 |
M | 526 | Signed/unsigned conversion without cast. : (int and unsigned int): retval = strlen | GJB 4.6.1.9 |
M | 486 | Function has no return statement. : flt_ot_sample_to_str | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_sample_to_value (624 to 656 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 624 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 624 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 652 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 624 | Function has no return statement. : flt_ot_sample_to_value | GJB 4.9.1.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
flt_ot_sample_add (678 to 784 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 678 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 678 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 690 | Use of sizeof on a type. | GJB 5.1.8 |
M | 742 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 742 | Expression needs brackets. | GJB 5.1.2 |
M | 754 | Expression needs brackets. | GJB 5.1.2 |
M | 760 | Expression needs brackets. | GJB 5.1.2 |
M | 780 | Value is not of appropriate type. : (unsigned int and int): FLT_OT_DBG ( 3 , "baggage[%zu]: '%s' -> '%s'" , data -> baggage -> count - 1 , data -> baggage -> key [ data -> baggage -> count - 1 | GJB 4.6.1.8 |
M | 780 | Value is not of appropriate type. : (unsigned int and int): value [ data -> baggage -> count - 1 | GJB 4.6.1.8 |
M | 678 | Function has no return statement. : flt_ot_sample_add | GJB 4.9.1.1 |
M | 736 | Actual and formal parameters inconsistent (MR). : (int and unsigned int): param 3 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_vars (44 to 63 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 47 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 48 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 49 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 50 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 51 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 55 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 56 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 57 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 58 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 59 | Null case in switch statement. | GJB 4.3.1.8 |
M | 59 | Case is not part of switch enumeration. | GJB 5.1.6 |
M | 60 | Null case in switch statement. | GJB 4.3.1.8 |
M | 62 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 46 | Switch has missing or extra cases. | GJB 5.1.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
var_accounting_diff (68 to 95 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Null case in switch statement. | GJB 4.3.1.8 |
M | 76 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 79 | goto detected. | GJB 4.5.1.2 |
M | 79 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 91 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 94 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 70 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
var_accounting_add (104 to 136 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 108 | Null case in switch statement. | GJB 4.3.1.8 |
M | 109 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 109 | Signed/unsigned conversion without cast. : (int and unsigned int): strm -> vars_reqres.size + size | GJB 4.6.1.9 |
M | 109 | Expression needs brackets. | GJB 5.1.2 |
M | 109 | Signed/unsigned conversion without cast. : (int and unsigned int): strm -> vars_reqres.size + size > var_reqres_limit | GJB 4.6.1.9 |
M | 112 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 113 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 113 | Signed/unsigned conversion without cast. : (int and unsigned int): strm -> vars_txn.size + size | GJB 4.6.1.9 |
M | 113 | Expression needs brackets. | GJB 5.1.2 |
M | 113 | Signed/unsigned conversion without cast. : (int and unsigned int): strm -> vars_txn.size + size > var_txn_limit | GJB 4.6.1.9 |
M | 115 | goto detected. | GJB 4.5.1.2 |
M | 115 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Signed/unsigned conversion without cast. : (int and unsigned int): check -> vars.size + size | GJB 4.6.1.9 |
M | 119 | Expression needs brackets. | GJB 5.1.2 |
M | 119 | Signed/unsigned conversion without cast. : (int and unsigned int): check -> vars.size + size > var_check_limit | GJB 4.6.1.9 |
M | 125 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 125 | Signed/unsigned conversion without cast. : (int and unsigned int): sess -> vars.size + size | GJB 4.6.1.9 |
M | 125 | Expression needs brackets. | GJB 5.1.2 |
M | 125 | Signed/unsigned conversion without cast. : (int and unsigned int): sess -> vars.size + size > var_sess_limit | GJB 4.6.1.9 |
M | 128 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 129 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 129 | Signed/unsigned conversion without cast. : (int and unsigned int): global.vars.size + size | GJB 4.6.1.9 |
M | 129 | Expression needs brackets. | GJB 5.1.2 |
M | 129 | Signed/unsigned conversion without cast. : (int and unsigned int): global.vars.size + size > var_proc_limit | GJB 4.6.1.9 |
M | 131 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 131 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 131 | Expression needs brackets. | GJB 5.1.2 |
M | 133 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 106 | No default case in switch statement. | GJB 4.3.1.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
var_clear (139 to 155 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 152 | Pointer not checked for null before use. : (var)->data.u.str.area | GJB 5.1.15 |
M | 152 | Pointer not checked for null before use. : (var)->data.u.meth.str.area | GJB 5.1.15 |
M | 143 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 143 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 144 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 145 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 147 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 148 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 149 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 150 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 151 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 153 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 153 | Use of sizeof on a type. | GJB 5.1.8 |
M | 152 | Attempt to read from freed memory. : var | GJB 5.1.16 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_prune (160 to 171 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 167 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 170 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 167 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 170 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_prune_per_sess (176 to 190 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 183 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 183 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
register_name (212 to 318 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 271 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 296 | Pointer not checked for null before use. : name | GJB 5.1.15 |
M | 212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 212 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 213 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 216 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 217 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 218 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 227 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 232 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 237 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 242 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 247 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 247 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 252 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 252 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 271 | Value is not of appropriate type. : (unsigned int and int): strncmp ( var_names [ i | GJB 4.6.1.8 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 271 | Value is not of appropriate type. : (unsigned int and int): var_names [ i | GJB 4.6.1.8 |
M | 271 | Value is not of appropriate type. : (unsigned int and int): var_names [ i ] [ len | GJB 4.6.1.8 |
M | 272 | Value is not of appropriate type. : (unsigned int and int): res = var_names [ i | GJB 4.6.1.8 |
M | 273 | goto detected. | GJB 4.5.1.2 |
M | 278 | goto detected. | GJB 4.5.1.2 |
M | 282 | Use of banned function or variable. : realloc | GJB 4.7.1.4 |
M | 286 | goto detected. | GJB 4.5.1.2 |
M | 289 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 290 | Modification of string literal. : var_names | GJB 5.1.19 |
M | 290 | Value is not of appropriate type. : (unsigned int and int): var_names [ var_names_nb - 1 | GJB 4.6.1.8 |
M | 290 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 291 | Value is not of appropriate type. : (unsigned int and int): ! var_names [ var_names_nb - 1 | GJB 4.6.1.8 |
M | 294 | goto detected. | GJB 4.5.1.2 |
M | 296 | Value is not of appropriate type. : (unsigned int and int): memcpy ( var_names [ var_names_nb - 1 | GJB 4.6.1.8 |
M | 297 | Value is not of appropriate type. : (unsigned int and int): var_names [ var_names_nb - 1 | GJB 4.6.1.8 |
M | 297 | Value is not of appropriate type. : (unsigned int and int): var_names [ var_names_nb - 1 ] [ len | GJB 4.6.1.8 |
M | 300 | Value is not of appropriate type. : (unsigned int and int): tmp = var_names [ var_names_nb - 1 | GJB 4.6.1.8 |
M | 302 | Cast from pointer to integral type. | GJB 4.12.1.1 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 302 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 305 | goto detected. | GJB 4.5.1.2 |
M | 309 | Value is not of appropriate type. : (unsigned int and int): res = var_names [ var_names_nb - 1 | GJB 4.6.1.8 |
M | 317 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 318 | Memory not freed after last reference. : var_names2 |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
var_get (321 to 329 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 321 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 325 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 327 | Pointer assignment to wider scope. | GJB 4.4.1.1,5.1.18 |
M | 323 | Procedure contains UR data flow anomalies. : var |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_fetch_var (332 to 360 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 339 | Pointer not checked for null before use. : var_desc | GJB 5.1.15 |
M | 354 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 332 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 332 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 340 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 344 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 | GJB 4.7.1.9 |
M | 332 | Static procedure is not explicitly called in code analysed. : smp_fetch_var | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_store (367 to 456 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 379 | Pointer not checked for null before use. : (var)->data.u.str.area | GJB 5.1.15 |
M | 384 | Pointer not checked for null before use. : (var)->data.u.meth.str.area | GJB 5.1.15 |
M | 376 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 397 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 383 | Pointer not checked for null before use. : (var)->data.u.str.area | GJB 5.1.15 |
M | 367 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 376 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 377 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 378 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 382 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 382 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 383 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 386 | Else alternative missing in if. | GJB 4.3.1.2 |
M | 390 | Use of sizeof on a type. | GJB 5.1.8 |
M | 397 | Name found with length less than 2. : l | GJB 4.8.1.1 |
M | 407 | Null case in switch statement. | GJB 4.3.1.8 |
M | 417 | Null case in switch statement. | GJB 4.3.1.8 |
M | 422 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 442 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 405 | No default case in switch statement. | GJB 4.3.1.4 |
M | 390 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_store_stream (459 to 472 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 459 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 465 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 465 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 469 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sample_clear_stream (475 to 494 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 475 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 482 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 482 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 490 | Unsigned expression negated. | GJB 4.6.1.5 |
M | 487 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 489 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 490 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 4 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_conv_store (497 to 500 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 497 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 497 | Static procedure is not explicitly called in code analysed. : smp_conv_store | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_conv_clear (503 to 506 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 503 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 503 | Static procedure is not explicitly called in code analysed. : smp_conv_clear | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_check_arg (512 to 538 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 512 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 514 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 536 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 524 | Actual and formal parameters inconsistent (MR). : (int and char): param 1 | GJB 4.7.1.9 |
M | 515 | Procedure contains UR data flow anomalies. : scope |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_set_by_name_ifexist (544 to 554 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 549 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 544 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 549 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 546 | Procedure contains UR data flow anomalies. : scope |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_set_by_name (560 to 570 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 565 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 560 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 565 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 562 | Procedure contains UR data flow anomalies. : scope |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_unset_by_name_ifexist (575 to 585 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 580 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 575 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 580 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 577 | Procedure contains UR data flow anomalies. : scope |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_get_by_name (592 to 617 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 599 | Pointer not checked for null before use. : NULL | GJB 5.1.15 |
M | 614 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 592 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 605 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 605 | Use of underlying enum representation value. | GJB 4.6.1.3,5.1.22 |
M | 599 | Actual and formal parameters inconsistent (MR). : (unsigned int and int): param 2 | GJB 4.7.1.9 |
M | 609 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 596 | Procedure contains UR data flow anomalies. : scope |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_get_by_desc (623 to 644 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 641 | Pointer not checked for null before use. : var | GJB 5.1.15 |
M | 632 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 636 | Actual and formal parameters inconsistent (MR). : (int and char): param 2 |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_store (647 to 676 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 648 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 665 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 647 | Static procedure is not explicitly called in code analysed. : action_store | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
action_clear (679 to 690 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 680 | Name found with length less than 2. : s | GJB 4.8.1.1 |
M | 679 | Static procedure is not explicitly called in code analysed. : action_clear | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
release_store_rule (692 to 695 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 692 | Static procedure is not explicitly called in code analysed. : release_store_rule | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
smp_check_var (705 to 708 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 705 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 705 | Static procedure is not explicitly called in code analysed. : smp_check_var | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conv_check_var (710 to 714 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 711 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 711 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 710 | Static procedure is not explicitly called in code analysed. : conv_check_var | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
parse_store (726 to 802 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 749 | Pointer not checked for null before use. : var_name | GJB 5.1.15 |
M | 738 | Pointer not checked for null before use. : var_name | GJB 5.1.15 |
M | 748 | Pointer not checked for null before use. : var_name | GJB 5.1.15 |
M | 726 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 726 | Parameter has same name as type or tag. : arg | GJB 4.15.1.4 |
M | 727 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 729 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 729 | Value is not of appropriate type. : (unsigned int and int): args [ * arg - 1 | GJB 4.6.1.8 |
M | 731 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 744 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 749 | Signed/unsigned conversion without cast. : (int and unsigned int): var_len = strlen | GJB 4.6.1.9 |
M | 751 | Value is not of appropriate type. : (unsigned int and int): var_name [ var_len | GJB 4.6.1.8 |
M | 752 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 770 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 772 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 772 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 789 | Switch case not terminated with break. | GJB 4.3.1.7 |
M | 794 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 726 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size (804 to 816 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 804 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 805 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 806 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 808 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 810 | Signed/unsigned conversion without cast. : (unsigned int and long): limit = strtol | GJB 4.6.1.9 |
M | 811 | Value is not of appropriate type. : (char and signed char): * error != 0 | GJB 4.6.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size_global (818 to 823 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 818 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 819 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 820 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 818 | Static procedure is not explicitly called in code analysed. : vars_max_size_global | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size_proc (825 to 830 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 825 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 826 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 827 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 825 | Static procedure is not explicitly called in code analysed. : vars_max_size_proc | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size_sess (832 to 837 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 832 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 833 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 834 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 832 | Static procedure is not explicitly called in code analysed. : vars_max_size_sess | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size_txn (839 to 844 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 839 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 840 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 841 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 839 | Static procedure is not explicitly called in code analysed. : vars_max_size_txn | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size_reqres (846 to 851 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 846 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 847 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 848 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 846 | Static procedure is not explicitly called in code analysed. : vars_max_size_reqres | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_max_size_check (853 to 858 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 853 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 854 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 855 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 853 | Static procedure is not explicitly called in code analysed. : vars_max_size_check | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
vars_deinit (860 to 865 vars.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 860 | Empty parameter list to procedure/function. : vars_deinit | GJB 4.1.1.10 |
M | 862 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 862 | Expression needs brackets. | GJB 5.1.2 |
M | 862 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 863 | No brackets to loop body. | GJB 4.2.1.1,4.2.1.2 |
M | 863 | Array bound exceeded. : var_names[*]; accessed=-1 | GJB 4.6.1.2 |
M | 863 | Value is not of appropriate type. : (unsigned int and int): free ( var_names [ var_names_nb | GJB 4.6.1.8 |
M | 863 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 860 | Static procedure is not explicitly called in code analysed. | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_log (50 to 52 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 50 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 50 | Ellipsis used in procedure parameter list. | GJB 4.1.1.8 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_data_file (131 to 143 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 131 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 132 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 133 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 136 | Expression needs brackets. | GJB 5.1.2 |
M | 136 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 131 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_data_file | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_cache (145 to 156 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 145 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 146 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 147 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 149 | Expression needs brackets. | GJB 5.1.2 |
M | 149 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 145 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_cache | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_engine_mode (158 to 164 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 158 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 159 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 160 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 158 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_engine_mode | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_information_list_separator (166 to 182 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 166 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 167 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 168 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 170 | Expression needs brackets. | GJB 5.1.2 |
M | 170 | Value is not of appropriate type. : (char and signed char): * ( args [ 1 ] ) == 0 | GJB 4.6.1.8 |
M | 166 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_information_list_separator | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_information_list (184 to 212 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 184 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 185 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 186 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 191 | Value is not of appropriate type. : (unsigned int and int): * ( args [ argIdx | GJB 4.6.1.8 |
M | 191 | Expression needs brackets. | GJB 5.1.2 |
M | 191 | Value is not of appropriate type. : (char and signed char): * ( args [ argIdx ] ) == 0 | GJB 4.6.1.8 |
M | 196 | Value is not of appropriate type. : (unsigned int and int): * ( args [ argIdx | GJB 4.6.1.8 |
M | 197 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 204 | Value is not of appropriate type. : (unsigned int and int): wi -> data.name = strdup ( args [ argIdx | GJB 4.6.1.8 |
M | 184 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_information_list | GJB 4.7.1.3 |
M | 212 | Memory not freed after last reference. : wi |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_patch_file_list (214 to 240 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 214 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 215 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 216 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 221 | Value is not of appropriate type. : (unsigned int and int): * ( args [ argIdx | GJB 4.6.1.8 |
M | 221 | Expression needs brackets. | GJB 5.1.2 |
M | 221 | Value is not of appropriate type. : (char and signed char): * ( args [ argIdx ] ) == 0 | GJB 4.6.1.8 |
M | 226 | Value is not of appropriate type. : (unsigned int and int): * ( args [ argIdx | GJB 4.6.1.8 |
M | 227 | Use of banned function or variable. : calloc | GJB 4.7.1.4 |
M | 234 | Value is not of appropriate type. : (unsigned int and int): wp -> patch_file_path = strdup ( args [ argIdx | GJB 4.6.1.8 |
M | 214 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_patch_file_list | GJB 4.7.1.3 |
M | 240 | Memory not freed after last reference. : wp |
GJB 5.1.17 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_cfg_useragent_priority (242 to 249 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 242 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 243 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 244 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 242 | Static procedure is not explicitly called in code analysed. : ha_wurfl_cfg_useragent_priority | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_init (255 to 399 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 301 | Cast from integral type to pointer. | GJB 4.12.2.1 |
M | 301 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 301 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 301 | Equality comparison of floating point. | GJB 4.14.1.1 |
M | 324 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | GJB 4.6.1.9 |
M | 326 | Use of banned function or variable. : malloc | GJB 4.7.1.4 |
M | 326 | Use of sizeof on a type. | GJB 5.1.8 |
M | 326 | Arithmetic performed on unsigned values. | GJB 5.1.5 |
M | 337 | Value is not of appropriate type. : (unsigned int and int): wn -> nd.key [ len | GJB 4.6.1.8 |
M | 301 | Actual and formal parameters inconsistent (MR). | GJB 4.7.1.9 |
M | 255 | Static procedure is not explicitly called in code analysed. : ha_wurfl_init | GJB 4.7.1.3 |
M | 399 | Memory not freed after last reference. : wn | GJB 5.1.17 |
M | 257 | Procedure contains UR data flow anomalies. : wi | GJB 4.13.1.4 |
M | 258 | Procedure contains UR data flow anomalies. : wp |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_deinit (401 to 425 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 407 | Pointer not checked for null before use. : global_wurfl.handle | GJB 5.1.15 |
M | 409 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 411 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 416 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 421 | Use of banned function or variable. : free | GJB 4.7.1.4 |
M | 401 | Static procedure is not explicitly called in code analysed. : ha_wurfl_deinit | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_all (427 to 509 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 448 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 439 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 427 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 427 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 429 | Name reused in inner scope. : dHandle | GJB 4.15.1.2,4.15.1.5 |
M | 452 | goto detected. | GJB 4.5.1.2 |
M | 457 | No default case in switch statement. | GJB 4.3.1.4 |
M | 503 | Type conversion without cast. : (int and char): temp -> area [ temp -> data ] = '\0' | GJB 4.6.1.9 |
M | 427 | Static procedure is not explicitly called in code analysed. : ha_wurfl_get_all | GJB 4.7.1.3 |
M | 431 | Procedure contains UR data flow anomalies. : wi |
GJB 4.13.1.4 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get (511 to 607 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 534 | Pointer not checked for null before use. : temp | GJB 5.1.15 |
M | 548 | Pointer not checked for null before use. : wn | GJB 5.1.15 |
M | 525 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 511 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 511 | Use of C++ keyword. : private | GJB 4.1.1.9 |
M | 513 | Name reused in inner scope. : dHandle | GJB 4.15.1.2,4.15.1.5 |
M | 518 | Name found with length less than 2. : i | GJB 4.8.1.1 |
M | 538 | goto detected. | GJB 4.5.1.2 |
M | 541 | Value is not of appropriate type. : (unsigned int and int): args [ i | GJB 4.6.1.8 |
M | 542 | Value is not of appropriate type. : (unsigned int and int): node = ebst_lookup ( & global_wurfl.btree , args [ i | GJB 4.6.1.8 |
M | 548 | No default case in switch statement. | GJB 4.3.1.4 |
M | 586 | Value is not of appropriate type. : (unsigned int and int): "WURFL: %s not in wurfl-information-list \n" , args [ i | GJB 4.6.1.8 |
M | 601 | Type conversion without cast. : (int and char): temp -> area [ temp -> data ] = '\0' | GJB 4.6.1.9 |
M | 511 | Static procedure is not explicitly called in code analysed. : ha_wurfl_get | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_root_id (642 to 648 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 642 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_id (650 to 653 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 650 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_isdevroot (655 to 661 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 655 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_useragent (663 to 666 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 663 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_api_version (668 to 671 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 668 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_engine_target (673 to 676 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 673 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_info (678 to 681 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 678 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_last_load_time (683 to 686 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 683 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_normalized_useragent (688 to 691 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 688 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_wurfl_useragent_priority (693 to 696 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 693 | char type not signed or unsigned. | GJB 4.1.1.15 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_get_property_callback (699 to 720 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 699 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 699 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 709 | Assignment operation in expression. | GJB 4.6.1.1 |
M | 709 | Assignment operator in boolean expression. | GJB 4.6.1.15 |
M | 709 | Value is not of appropriate type. : (unsigned int and int): ( cond = strcmp ( wurfl_properties_function_map [ position | GJB 4.6.1.8 |
M | 710 | Value is not of appropriate type. : (unsigned int and int): "WURFL: ha_wurfl_get_property_callback match %s\n" , wurfl_properties_function_map [ position | GJB 4.6.1.8 |
M | 711 | Value is not of appropriate type. : (unsigned int and int): wurfl_properties_function_map [ position | GJB 4.6.1.8 |
M | 711 | Function return type inconsistent. : (int and char) | GJB 4.9.1.4 |
M | 711 | Actual and formal parameters inconsistent (MR). |
GJB 4.7.1.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_retrieve_header (722 to 765 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 728 | Name redeclared in another C name space (MR). : name | GJB 4.1.1.16 |
M | 732 | Pointer not checked for null before use. : smp | GJB 5.1.15 |
M | 742 | Pointer not checked for null before use. : chn | GJB 5.1.15 |
M | 722 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 722 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 731 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 747 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 747 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 759 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 761 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 761 | Value is not of appropriate type. : (unsigned int and int): ( ha_wurfl_header_t * ) wh ) -> header_value [ header_len | GJB 4.6.1.8 |
M | 763 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 764 | Casting operation on a pointer. | GJB 4.12.1.1 |
M | 722 | Static procedure is not explicitly called in code analysed. : ha_wurfl_retrieve_header | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
ha_wurfl_register_build_options (767 to 776 wurfl.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 772 | Pointer not checked for null before use. : ver | GJB 5.1.15 |
M | 767 | Empty parameter list to procedure/function. : ha_wurfl_register_build_options | GJB 4.1.1.10 |
M | 769 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 770 | char type not signed or unsigned. | GJB 4.1.1.15 |
M | 767 | Static procedure is not explicitly called in code analysed. : ha_wurfl_register_build_options | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_from_buf (29 to 32 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 29 | Static procedure is not explicitly called in code analysed. : xprt_handshake_from_buf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_to_buf (34 to 37 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 34 | Static procedure is not explicitly called in code analysed. : xprt_handshake_to_buf | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_io_cb (39 to 126 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 39 | Name found with length less than 2. : t | GJB 4.8.1.1 |
M | 49 | goto detected. | GJB 4.5.1.2 |
M | 56 | goto detected. | GJB 4.5.1.2 |
M | 63 | goto detected. | GJB 4.5.1.2 |
M | 70 | goto detected. | GJB 4.5.1.2 |
M | 77 | goto detected. | GJB 4.5.1.2 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 119 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 39 | Static procedure is not explicitly called in code analysed. : xprt_handshake_io_cb | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_init (128 to 162 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 128 | Static procedure is not explicitly called in code analysed. : xprt_handshake_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_close (164 to 194 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 178 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 164 | Static procedure is not explicitly called in code analysed. : xprt_handshake_close | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_subscribe (201 to 212 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 206 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 201 | Static procedure is not explicitly called in code analysed. : xprt_handshake_subscribe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_unsubscribe (218 to 230 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 223 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 223 | Logical conjunctions need brackets. | GJB 4.2.1.4 |
M | 218 | Static procedure is not explicitly called in code analysed. : xprt_handshake_unsubscribe | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_add_xprt (235 to 248 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 235 | Static procedure is not explicitly called in code analysed. : xprt_handshake_add_xprt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
xprt_handshake_remove_xprt (254 to 264 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 254 | Static procedure is not explicitly called in code analysed. : xprt_handshake_remove_xprt | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__xprt_handshake_init (283 to 286 xprt_handshake.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 283 | Static procedure is not explicitly called in code analysed. : __xprt_handshake_init | GJB 4.7.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
Code | (Line) | Violation | Standard |
---|---|---|---|
M | (Source line number) | [Text of Mandatory standard] | [Appropriate rule reference] |
C | [Text of Checking standard] | ||
O | [Text of Optional standard] | ||
[Source: Text of line from Source file]
|
Components which pass all standards are marked: | Pass |
Components which fail only Optional standards are marked: | Conditional Pass |
Components which fail on insufficient comments only are marked: | Comment FAIL |
Components which violate Mandatory standards are marked: | FAIL |
|
[ | Top of Report | | | Procedure Table | | | Contents | ] |
---|