mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-14 01:16:59 +00:00
Fixes #3496
This commit is contained in:
parent
1248fe5eee
commit
eb862d03eb
3 changed files with 4 additions and 4 deletions
|
|
@ -228,7 +228,7 @@ def main():
|
|||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
||||
elif "MemoryError" in excMsg:
|
||||
elif any(_ in excMsg for _ in ("MemoryError", "Cannot allocate memory")):
|
||||
errMsg = "memory exhaustion detected"
|
||||
logger.critical(errMsg)
|
||||
raise SystemExit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue