Commit 6051a4ee authored by Laurent Aimar's avatar Laurent Aimar
Browse files

* httpd: fixed a integer overflow.

parent ea9470ed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* httpd.c * httpd.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.30 2003/12/21 23:32:58 sam Exp $ * $Id: httpd.c,v 1.31 2004/02/05 19:51:46 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -173,7 +173,7 @@ struct httpd_file_t ...@@ -173,7 +173,7 @@ struct httpd_file_t
int i_buffer_size; /* buffer size, can't be reallocated smaller */ int i_buffer_size; /* buffer size, can't be reallocated smaller */
uint8_t *p_buffer; /* buffer */ uint8_t *p_buffer; /* buffer */
int64_t i_buffer_pos; /* absolute position from begining */ int64_t i_buffer_pos; /* absolute position from begining */
int i_buffer_last_pos; /* a new connection will start with that */ int64_t i_buffer_last_pos; /* a new connection will start with that */
/* data to be send at connection time (if any) */ /* data to be send at connection time (if any) */
int i_header_size; int i_header_size;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment