Checks for NULL value of CURRENT pointer in ebb_request_parser.rl

2 views
Skip to first unread message

Dharmarth

unread,
May 29, 2009, 3:20:04 AM5/29/09
to ebbebb
Ry,

I would suggest adding checks for NULL value of CURRENT (i.e. parser-
>current_request) pointer in ebb_request_parser.rl. This would prevent
the process crashing in case ‘new_request’ callback returns NULL.

I have made the relevant changes in my fork and sent you the pull
request. Please do have a look on it.

http://github.com/dharmarth/libebb/commit/af381bff8591675cd01e6d0d4e799d3185e9bef9

Thanks,
Dharmarth
Impetus Technologies

Ryan Dahl

unread,
May 29, 2009, 6:11:18 AM5/29/09
to ebb...@googlegroups.com
Okay. Thanks.
Reply all
Reply to author
Forward
0 new messages