diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-22 15:17:16 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-22 15:17:16 +0200 |
commit | 84d811f6af15f9e3ce39f8603e6a2dacf7cdbcba (patch) | |
tree | 19aed15ab80586c06e7fe728b7d95b674fd98142 /lib/dotdot.c | |
parent | d04bab8873e45a59d71e146409035ba151bc877a (diff) |
http2: on_frame_recv: return early on stream 0
Coverity CID 1299426 warned about possible NULL dereference otherwise,
but that would only ever happen if we get invalid HTTP/2 data with
frames for stream 0. Avoid this risk by returning early when stream 0 is
used.
Diffstat (limited to 'lib/dotdot.c')
0 files changed, 0 insertions, 0 deletions