cURL / Mailing Lists / curl-library / Single Mail

curl-library

ccsidcurl.c flaws?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Oct 2014 23:03:14 +0200 (CEST)

Hi Patrick,

Have a look at what Daniel Marjamäki pointed out to us[1]:

[packages/OS400/ccsidcurl.c:272]: (error) Uninitialized variable: s
[packages/OS400/ccsidcurl.c:303]: (error) Uninitialized variable: s

It clearly looks as if the code _could_ access 's' without it being
initialized.

(I'm telling you since you brought this code and might have the best insights
and understanding of it, and thus you have the best position to fix this.)

[1] =
http://daniel.haxx.se/blog/2014/10/09/coverity-scan-defect-density-0-00/comment-page-1/#comment-15806

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-13