[tor-bugs] #9249 [Tor]: GSOC seccomp stage 2
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Aug 6 20:46:22 UTC 2013
#9249: GSOC seccomp stage 2
--------------------------------------------+-------------------------------
Reporter: ctoader | Owner: nickm
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Keywords: tor-relay gsoc seccomp sandbox | Parent: #5756
Points: | Actualpoints:
--------------------------------------------+-------------------------------
Comment(by nickm):
Oh, one more issue:
{{{
+ if (filter_nopar_gen != NULL) {
+ filter_size = sizeof(filter_nopar_gen) / sizeof(filter_nopar_gen[0]);
+ } else {
+ filter_size = 0;
+ }
+
}}}
It's impossible for a static array to be NULL, and this code makes
Coverity complain about deadcode issues.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9249#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list