Project

General

Profile

Feature #7955

Specification on register_chrdev

Added by Anton Vasilyev about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Environment model
Target version:
-
Start date:
02/06/2017
Due date:
% Done:

0%

Estimated time:
Published in build:

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/


Related issues

Related to Klever - Feature #7964: Do not cause memory issues detection in generated environment modelsNew02/09/2017

Actions
Related to Klever - Feature #7956: Specification on i2c_register_driverClosed02/06/2017

Actions

History

#1

Updated by Evgeny Novikov about 3 years ago

  • Category changed from Tasks generation to Environment model
#2

Updated by Alexey Khoroshilov about 3 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.

#3

Updated by Evgeny Novikov about 3 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.

#4

Updated by Ilja Zakharov about 3 years ago

  • Status changed from New to Feedback

Check out emg-artificial-process branch, please. It contains necessary fixes.

#5

Updated by Evgeny Novikov about 3 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.

Also available in: Atom PDF