#366 NULL Dereferencing for "req->evcon" in http.c

For_2.1
open
None
2
2015-09-29
2015-09-29
No

Hi,
the issue reported for 2.1.x as NULL Dereferencing for req->evcon at line http.c:1751
in function static int evhttp_parse_request_line()

Description:
In function evhttp_parse_firstline_() at line http.c:1900
there is possibility to be NULL for req->evcon and when it is passed to function evhttp_parse_request_line(req, line) as an argument "req" at line http.c:1910 and in this called function req->evcon is being dereferecing at http.c:1751 before check for NULL.

I have attached the patch please review it.

Thanks
Pankaj Sharma

1 Attachments

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks