Feature #7955
closedSpecification on register_chrdev
0%
Description
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/
Updated by Evgeny Novikov almost 8 years ago
- Category changed from Tasks generation to Environment models
Updated by Alexey Khoroshilov almost 8 years ago
- 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.
Updated by Evgeny Novikov almost 8 years ago
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.
Updated by Ilja Zakharov almost 8 years ago
- Status changed from New to Feedback
Check out emg-artificial-process branch, please. It contains necessary fixes.
Updated by Evgeny Novikov almost 8 years ago
- 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.