Skip to content

Commit 27a1dc0

Browse files
committed
fix a bug for intra-procedural MLK bug detection
1 parent 9713a74 commit 27a1dc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)