Skip to content

Commit 70f4cbd

Browse files
Merge pull request #21 from PurCL/fix
fix a bug for intra-procedural MLK bug detection
2 parents 9713a74 + 27a1dc0 commit 70f4cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agent/dfbscan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def __collect_potential_buggy_paths(
350350
# For memory leak-style bug types we only update when the path is empty.
351351
if not self.is_reachable:
352352
self.state.update_potential_buggy_paths(
353-
src_value, path_with_unknown_status
353+
src_value, path_with_unknown_status + [src_value]
354354
)
355355
continue
356356
for value, ctx in path_set:

0 commit comments

Comments
 (0)