stgnet / rats

Automatically exported from code.google.com/p/rough-auditing-tool-for-security
GNU General Public License v2.0
4 stars 3 forks source link

Directory descriptor leak under Linux #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run RATS under Linux on a large directory structure (40000 directories)
2. The analysis will start skipping directory after a while stating "There was 
a problem opening the directory"

This is because the directory descriptor is never released in the code

See line 1062 in patched engine.c file 

Original issue reported on code.google.com by jpshem...@gmail.com on 3 May 2012 at 9:25

Attachments: