maitrenem / open-tr069

Automatically exported from code.google.com/p/open-tr069
0 stars 1 forks source link

A segment fault problem #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
http.c
void evhttp_connection_fail(struct evhttp_connection *evcon,
    enum evhttp_connection_error error)
{    
    .............
    /* inform the user */
    if (cb != NULL)
        (*cb)(NULL, cb_arg);
    ............
}

session.c
void evcpe_session_http_cb(struct evhttp_request *http_req, void *arg)
the first parameter http_req maybe NULL, must check it.

Original issue reported on code.google.com by huiqin....@gmail.com on 11 Nov 2010 at 10:15

GoogleCodeExporter commented 8 years ago
yes, that's exist.if http_req is NULL, how to do ? goto close or return?

Original comment by deng.myl...@gmail.com on 1 Jul 2014 at 9:28