Re: Possible issue with check_dir_not_empty

2024-11-18 Thread Bernhard Übelacker via Cygwin
Hello Corinna, Am 18.11.24 um 17:52 schrieb Corinna Vinschen: Hi Bernhard, On Nov 16 23:36, Bernhard Übelacker via Cygwin wrote: Hello everyone, Is is about the buffer allocated in check_dir_not_empty. The pointer pfni gets allocated the buffer at the begin, and is used in the

Possible issue with check_dir_not_empty

2024-11-16 Thread Bernhard Übelacker via Cygwin
Hello everyone, Is is about the buffer allocated in check_dir_not_empty. The pointer pfni gets allocated the buffer at the begin, and is used in the NtQueryDirectoryFile call before the loops. In the loop the pointer pfni is also used as iterator. Therefore it holds no longer the initial buffer