aboutsummaryrefslogtreecommitdiff
path: root/lib/escape.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-22 15:17:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-22 15:17:16 +0200
commit84d811f6af15f9e3ce39f8603e6a2dacf7cdbcba (patch)
tree19aed15ab80586c06e7fe728b7d95b674fd98142 /lib/escape.h
parentd04bab8873e45a59d71e146409035ba151bc877a (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/escape.h')
0 files changed, 0 insertions, 0 deletions