Changeset fb04f24982242a835b3ae7382f6dd4fcf6ace5f9
- 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
| r90aa64c |
rfb04f24 |
|
| 395 | 395 | { |
|---|
| 396 | 396 | httpd_file_t *file = (httpd_file_t*)p_sys; |
|---|
| 397 | | uint8_t *psz_args = query->psz_args; |
|---|
| 398 | 397 | uint8_t **pp_body, *p_body; |
|---|
| 399 | 398 | const char *psz_connection; |
|---|
| … | … | |
| 432 | 431 | } |
|---|
| 433 | 432 | |
|---|
| | 433 | uint8_t *psz_args = query->psz_args; |
|---|
| 434 | 434 | file->pf_fill( file->p_sys, file, psz_args, pp_body, pi_body ); |
|---|
| 435 | 435 | |
|---|
| … | … | |
| 521 | 521 | { |
|---|
| 522 | 522 | httpd_handler_t *handler = (httpd_handler_t*)p_sys; |
|---|
| 523 | | uint8_t *psz_args = query->psz_args; |
|---|
| 524 | 523 | char psz_remote_addr[NI_MAXNUMERICHOST]; |
|---|
| 525 | 524 | |
|---|
| … | … | |
| 537 | 536 | *psz_remote_addr = '\0'; |
|---|
| 538 | 537 | |
|---|
| | 538 | uint8_t *psz_args = query->psz_args; |
|---|
| 539 | 539 | handler->pf_fill( handler->p_sys, handler, query->psz_url, psz_args, |
|---|
| 540 | 540 | query->i_type, query->p_body, query->i_body, |
|---|