[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9249 [Tor]: GSOC seccomp stage 2
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs