Specification on register_chrdev
SMG requires accurate resources deallocation which were passed to ldv_emg_register_chrdev.
Generally struct file_operations const *fops is a constant provided by module, and we shouldn’t free it.
Example trace: http://ldvstore:8998/reports/unsafe/113841/
- Category changed from Tasks generation to Environment model
- Priority changed from Normal to Urgent
Analysis of results of verification of all modules has shown that this kind of problems (including #7956) is a reason for more than a half of unsafes detected by generic:memory.
If this is really too bad Ilja can fix this, but generally we should spend some time for implementing #7964 rather than fixing such the issues.
- Status changed from New to Feedback
Check out emg-artificial-process branch, please. It contains necessary fixes.
- Status changed from Feedback to Closed
I merged the branch to master in cd73647. Don't forget that the bug fix still needs comprehensive testing.
Also available in: Atom