Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function writeData hanle leak on windows 函数writeData 在windows上存在写入句柄泄露 #49

Closed
itas109 opened this issue Jun 10, 2021 · 0 comments
Labels

Comments

@itas109
Copy link
Owner

itas109 commented Jun 10, 2021

Describe the bug
function writeData hanle leak on windows
函数writeData 在windows上存在写入句柄泄露

To Reproduce
open taskmgr.exe -> details -> handle
call function writeData once, the process's handle +1 on taskmgr
打开任务管理器 -> 详细信息 -> 句柄
调用一次writeData 函数,任务管理器中进程对应的句柄数会+1

Expected behavior
call function writeData once, the process's handle +1,and then -1 when write finished。
调用writeData 函数,进程句柄数+1,写入完成后句柄数 -1

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Win10 64bit
  • Compiler: VS2019
  • Version: 4.x
@itas109 itas109 added the bug label Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant