Commit 8f049cab authored by Rocky Bernstein's avatar Rocky Bernstein

Structure not big enough and was writing past buffer boundary.

Thanks to Marco Z�hlke for finding this problem.
parent f8efac2e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* to go here. * to go here.
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2003, 2004 VideoLAN * Copyright (C) 2000, 2003, 2004 VideoLAN
* $Id: access.c,v 1.18 2004/01/29 17:51:07 zorglub Exp $ * $Id: access.c,v 1.19 2004/02/19 02:05:12 rocky Exp $
* *
* Authors: Rocky Bernstein <rocky@panix.com> * Authors: Rocky Bernstein <rocky@panix.com>
* Johan Bilien <jobi@via.ecp.fr> * Johan Bilien <jobi@via.ecp.fr>
...@@ -963,6 +963,7 @@ VCDReadSector( vlc_object_t *p_this, const vcdinfo_obj_t *p_vcd, ...@@ -963,6 +963,7 @@ VCDReadSector( vlc_object_t *p_this, const vcdinfo_obj_t *p_vcd,
typedef struct { typedef struct {
uint8_t subheader [8]; uint8_t subheader [8];
uint8_t data [M2F2_SECTOR_SIZE]; uint8_t data [M2F2_SECTOR_SIZE];
uint8_t spare [4];
} vcdsector_t; } vcdsector_t;
vcdsector_t vcd_sector; vcdsector_t vcd_sector;
......
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