Skip to content

Commit a23faae

Browse files
committed
Patch related to #4693
1 parent 6942abf commit a23faae

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

lib/core/common.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -2708,7 +2708,14 @@ def popValue():
27082708
'foobar'
27092709
"""
27102710

2711-
return getCurrentThreadData().valueStack.pop()
2711+
retVal = None
2712+
2713+
try:
2714+
retVal = getCurrentThreadData().valueStack.pop()
2715+
except IndexError:
2716+
pass
2717+
2718+
return retVal
27122719

27132720
def wasLastResponseDBMSError():
27142721
"""

lib/core/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty.six import unichr as _unichr
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.5.5.11"
22+
VERSION = "1.5.5.12"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)