diff options
author | Kamil Dudka <kdudka@redhat.com> | 2015-07-23 11:51:53 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2015-07-23 11:51:53 +0200 |
commit | da650c1e544e3ebb7d43332d0570cd34d31e08b3 (patch) | |
tree | fcc7d05c38046039cf2e955b5964f3696deba803 /.gitattributes | |
parent | 40c921f8b825c80bfe0d34f3137f1ece122369c6 (diff) |
http2: verify success of strchr() in http2_send()
Detected by Coverity.
Error: NULL_RETURNS:
lib/http2.c:1301: returned_null: "strchr" returns null (checked 103 out of 109 times).
lib/http2.c:1301: var_assigned: Assigning: "hdbuf" = null return value from "strchr".
lib/http2.c:1302: dereference: Incrementing a pointer which might be null: "hdbuf".
1300|
1301| hdbuf = strchr(hdbuf, 0x0a);
1302|-> ++hdbuf;
1303|
1304| authority_idx = 0;
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions