Skip to content

Commit 4180016

Browse files
committed
Fix recursive call to find_by_sid
1 parent 930b482 commit 4180016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rex/ole/direntry.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def find_by_sid(sid, de=self)
9696
return de
9797
end
9898
@children.each { |cde|
99-
ret = find_by_sid(cde, sid)
99+
ret = find_by_sid(sid, cde)
100100
if (ret)
101101
return ret
102102
end

0 commit comments

Comments
 (0)