mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
fix for a bug reported by rdsears@mtu.edu (TypeError: expected string or buffer)
This commit is contained in:
parent
a6015b59df
commit
a2bb0d72e8
|
@ -305,7 +305,7 @@ class Dump:
|
|||
|
||||
for value in tableValues[column]['values']:
|
||||
try:
|
||||
if re.search("^[\ *]*$", value): #NULL
|
||||
if not value or re.search("^[\ *]*$", value): #NULL
|
||||
continue
|
||||
|
||||
_ = int(value)
|
||||
|
@ -318,7 +318,7 @@ class Dump:
|
|||
|
||||
for value in tableValues[column]['values']:
|
||||
try:
|
||||
if re.search("^[\ *]*$", value): #NULL
|
||||
if not value or re.search("^[\ *]*$", value): #NULL
|
||||
continue
|
||||
|
||||
_ = float(value)
|
||||
|
|
Loading…
Reference in New Issue
Block a user