git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1065f33
)
epgcache.cpp: fix segfault on unknown arg
author
ghost
<andreas.monzner@multimedia-labs.de>
Tue, 17 Nov 2009 17:34:45 +0000
(18:34 +0100)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Tue, 17 Nov 2009 17:34:45 +0000
(18:34 +0100)
lib/dvb/epgcache.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/epgcache.cpp
b/lib/dvb/epgcache.cpp
index f80e1775d5fed8aa998cfa0e499f9bdf5454b373..5381195a51472d03847a88fd9fb18d4ebf7c4f83 100644
(file)
--- 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)