Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e23225

Browse files
committed
reverting that last commit because there is a mess with default dumping (startLimit is set to 0 which is not so friendly with --start and --stop logic)
1 parent 3536320 commit 9e23225

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/techniques/error/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def errorUse(expression, expected=None, resumeValue=True, dump=False):
320320

321321
try:
322322
threadData = getCurrentThreadData()
323-
threadData.shared.limits = range(startLimit, stopLimit+1)
323+
threadData.shared.limits = range(startLimit, stopLimit)
324324
numThreads = min(conf.threads, len(threadData.shared.limits))
325325
threadData.shared.outputs = []
326326

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def unionUse(expression, unpack=True, dump=False):
261261

262262
try:
263263
threadData = getCurrentThreadData()
264-
threadData.shared.limits = range(startLimit, stopLimit+1)
264+
threadData.shared.limits = range(startLimit, stopLimit)
265265
numThreads = min(conf.threads, len(threadData.shared.limits))
266266
threadData.shared.value = ""
267267

0 commit comments

Comments
 (0)