Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 200151 | Differences between
and this patch

Collapse All | Expand All

(-)rekall-2.4.6/script/python/kb_basic.cpp (-1 / +1 lines)
Lines 401-407 Link Here
401
	QStringList	pairs	;
401
	QStringList	pairs	;
402
	PyObject	*key	;
402
	PyObject	*key	;
403
	PyObject	*value	;
403
	PyObject	*value	;
404
	int		pos	= 0 ;
404
	long		pos	= 0 ;
405
405
406
	//xxx use pickle or marshal to create the data representation instead
406
	//xxx use pickle or marshal to create the data representation instead
407
	//xxx of a simple string representation?
407
	//xxx of a simple string representation?
(-)rekall-2.4.6/script/python/kb_pycontainer.cpp (-1 / +1 lines)
Lines 60-66 Link Here
60
	}
60
	}
61
61
62
	char	*buffer	;
62
	char	*buffer	;
63
	int	len	;
63
	long	len	;
64
	PyString_AsStringAndSize (pyImage, &buffer, &len) ;
64
	PyString_AsStringAndSize (pyImage, &buffer, &len) ;
65
65
66
	QByteArray ba	;
66
	QByteArray ba	;
(-)rekall-2.4.6/script/python/kb_pysupport.cpp (-1 / +1 lines)
Lines 37-43 Link Here
37
{
37
{
38
	PyObject	*key	;
38
	PyObject	*key	;
39
	PyObject	*value	;
39
	PyObject	*value	;
40
	int		pos	= 0 ;
40
	long		pos	= 0 ;
41
41
42
	kbDict.setAutoDelete (true) ;
42
	kbDict.setAutoDelete (true) ;
43
43
(-)rekall-2.4.6/script/python/tkc_pydebugbase.cpp (-2 / +2 lines)
Lines 1082-1088 Link Here
1082
	{
1082
	{
1083
		PyObject *pkey	 ;
1083
		PyObject *pkey	 ;
1084
		PyObject *pvalue ;
1084
		PyObject *pvalue ;
1085
		int	 dictPos = 0 ;
1085
		long	 dictPos = 0 ;
1086
1086
1087
		while (PyDict_Next (pyDict, &dictPos, &pkey, &pvalue))
1087
		while (PyDict_Next (pyDict, &dictPos, &pkey, &pvalue))
1088
		{
1088
		{
Lines 1135-1141 Link Here
1135
	PyObject  *pyKey   ;
1135
	PyObject  *pyKey   ;
1136
	PyObject  *pyValue ;
1136
	PyObject  *pyValue ;
1137
	QString	  name	   ;
1137
	QString	  name	   ;
1138
	int	  dictPos  = 0 ;
1138
	long	  dictPos  = 0 ;
1139
1139
1140
	/* See if we have been here before, in which case there is no	*/
1140
	/* See if we have been here before, in which case there is no	*/
1141
	/* point in going there again. This also prevents infinite	*/
1141
	/* point in going there again. This also prevents infinite	*/

Return to bug 200151