Changeset fb04f24982242a835b3ae7382f6dd4fcf6ace5f9

Show
Ignore:
Timestamp:
05/30/08 17:56:50 (3 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1212163010 +0300
git-parent:

[47e1374a4ece32cb234b361da3dccfb1f846e7ee]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1212163002 +0300
Message:

Fix NULL pointer deferences (CID 120 & 121)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/network/httpd.c

    r90aa64c rfb04f24  
    395395{ 
    396396    httpd_file_t *file = (httpd_file_t*)p_sys; 
    397     uint8_t *psz_args = query->psz_args; 
    398397    uint8_t **pp_body, *p_body; 
    399398    const char *psz_connection; 
     
    432431    } 
    433432 
     433    uint8_t *psz_args = query->psz_args; 
    434434    file->pf_fill( file->p_sys, file, psz_args, pp_body, pi_body ); 
    435435 
     
    521521{ 
    522522    httpd_handler_t *handler = (httpd_handler_t*)p_sys; 
    523     uint8_t *psz_args = query->psz_args; 
    524523    char psz_remote_addr[NI_MAXNUMERICHOST]; 
    525524 
     
    537536        *psz_remote_addr = '\0'; 
    538537 
     538    uint8_t *psz_args = query->psz_args; 
    539539    handler->pf_fill( handler->p_sys, handler, query->psz_url, psz_args, 
    540540                      query->i_type, query->p_body, query->i_body,