diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-11-17 18:34:45 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-11-17 18:34:45 +0100 |
| commit | 176ca7c31c9cb5f7e37230488da5f7003336146e (patch) | |
| tree | 2fdedb0352a75f2702dcb3079dad895e4c10d233 /lib/dvb/epgcache.cpp | |
| parent | 1065f334c0d8ff190e123944108c64c992edb46b (diff) | |
| download | enigma2-176ca7c31c9cb5f7e37230488da5f7003336146e.tar.gz enigma2-176ca7c31c9cb5f7e37230488da5f7003336146e.zip | |
epgcache.cpp: fix segfault on unknown arg
Diffstat (limited to 'lib/dvb/epgcache.cpp')
| -rw-r--r-- | lib/dvb/epgcache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp index f80e1775..5381195a 100644 --- a/lib/dvb/epgcache.cpp +++ b/lib/dvb/epgcache.cpp @@ -1717,6 +1717,7 @@ void fillTuple(ePyObject tuple, const char *argstring, int argcount, ePyObject s ++argcount; continue; default: // ignore unknown + tmp = ePyObjec(); eDebug("fillTuple unknown '%c'... insert 'None' in result", c); } if (!tmp) @@ -2061,6 +2062,7 @@ void fillTuple2(ePyObject tuple, const char *argstring, int argcount, eventData inc_refcount = true; break; default: // ignore unknown + tmp = ePyObject(); eDebug("fillTuple2 unknown '%c'... insert None in Result", argstring[pos]); } if (!tmp) |
