mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Patch for an Issue #968
This commit is contained in:
parent
2284535267
commit
2f744139fc
2 changed files with 10 additions and 4 deletions
|
|
@ -1930,7 +1930,7 @@ def getFileItems(filename, commentPrefix='#', unicode_=True, lowercase=False, un
|
|||
retVal[line] = True
|
||||
else:
|
||||
retVal.append(line)
|
||||
except (IOError, OSError), ex:
|
||||
except (IOError, OSError, MemoryError), ex:
|
||||
errMsg = "something went wrong while trying "
|
||||
errMsg += "to read the content of file '%s' ('%s')" % (filename, ex)
|
||||
raise SqlmapSystemException(errMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue