diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-07-20 12:31:38 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-07-20 12:31:38 +0200 |
commit | c9094aad186d641a11fb0eef3cba11d7ec1469f3 (patch) | |
tree | ee43599cf8c7d7e117a7e7e950e17f819f7f0f3f | |
parent | 7c86dcaa270fd624d93fb73316052f1007aa7d85 (diff) | |
download | vdr-c9094aad186d641a11fb0eef3cba11d7ec1469f3.tar.gz vdr-c9094aad186d641a11fb0eef3cba11d7ec1469f3.tar.bz2 |
Fixed a buffer overflow in initializing the system character table
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 5 | ||||
-rw-r--r-- | config.h | 6 | ||||
-rw-r--r-- | tools.c | 4 |
4 files changed, 11 insertions, 5 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 30abdf99..ffd4c8f3 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1401,6 +1401,7 @@ Marco Schlüßler <marco@lordzodiac.de> 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 @@ -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). @@ -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,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; |