mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a buffer overflow in initializing the system character table
This commit is contained in:
parent
7c86dcaa27
commit
c9094aad18
@ -1401,6 +1401,7 @@ Marco Schl
|
||||
for removing 'assert(0)' from cDvbSpuDecoder::setTime()
|
||||
for adapting 'libsi' to DVB-S2
|
||||
for fixing handling ChannelUp/Down keys if there is currently a replay running
|
||||
for fixing a buffer overflow in initializing the system character table
|
||||
|
||||
Jürgen Schmitz <j.schmitz@web.de>
|
||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||
|
5
HISTORY
5
HISTORY
@ -5275,3 +5275,8 @@ Video Disk Recorder Revision History
|
||||
- Fixed stripping i18n stuff from font names (reported by Anssi Hannula).
|
||||
- Improved performance of the SVDRP commands LSTC and CHAN when used with a
|
||||
channel name.
|
||||
|
||||
2007-07-20: Version 1.5.6
|
||||
|
||||
- Fixed a buffer overflow in initializing the system character table (thanks
|
||||
to Marco Schlüßler).
|
||||
|
6
config.h
6
config.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.h 1.292 2007/06/23 09:06:24 kls Exp $
|
||||
* $Id: config.h 1.293 2007/07/20 12:31:38 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
@ -22,8 +22,8 @@
|
||||
|
||||
// VDR's own version number:
|
||||
|
||||
#define VDRVERSION "1.5.5"
|
||||
#define VDRVERSNUM 10505 // Version * 10000 + Major * 100 + Minor
|
||||
#define VDRVERSION "1.5.6"
|
||||
#define VDRVERSNUM 10506 // Version * 10000 + Major * 100 + Minor
|
||||
|
||||
// The plugin API's version number:
|
||||
|
||||
|
4
tools.c
4
tools.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: tools.c 1.130 2007/06/23 13:38:30 kls Exp $
|
||||
* $Id: tools.c 1.131 2007/07/16 15:23:28 kls Exp $
|
||||
*/
|
||||
|
||||
#include "tools.h"
|
||||
@ -756,7 +756,7 @@ void cCharSetConv::SetSystemCharacterTable(const char *CharacterTable)
|
||||
char buf[129];
|
||||
for (int i = 0; i < 128; i++)
|
||||
buf[i] = i + 128;
|
||||
buf[129] = 0;
|
||||
buf[128] = 0;
|
||||
cCharSetConv csc(CharacterTable);
|
||||
const char *s = csc.Convert(buf);
|
||||
int i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user