[haiku-development] Re: New Coverity scan results online: r39894 nightly-raw gcc4 build

  • From: Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 20 Dec 2010 21:23:26 +0100

Am 20.12.2010 um 20:59 schrieb Philippe Houdoin:

>> For those developers who have
>> Coverity accounts, you can login here: http://scan.coverity.com:9065
>> and see the results.
> 
> I don't have such account. Is it possible to register me, or the deal
> is done? ;-)
> Fixing some easy CID sounds like something I could eventually do
> instead of breaking some random About box...

I will probably look into printing related issues until the end of the year.
That should be 150+ issues less for others.

BTW does somebody know what TAINTED_SCALAR means in CID 9093:

51      int Scanner::GetCh() {
Event tainted_data_return: Function "fgetc" returning tainted data.
Event var_assign: Assigning: "ch" = "fgetc", which taints "ch".
52              int ch = fgetc(fFile);
53              fPrev = fCur;
54              if (ch == '\n') {
55                      fCur.column = 0;
56                      fCur.line ++;
57              } else {
58                      fCur.column ++;
59              }
Event return_tainted_data: Returning tainted variable "ch".
60              return ch;
61      }

Doesn't fgetc return an int value?

Bye,
Michael



Other related posts: