Project

General

Profile

Actions

Feature #7955

closed

Specification on register_chrdev

Added by Anton Vasilyev almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Environment models
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 2 (1 open1 closed)

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

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

Actions
Actions #1

Updated by Evgeny Novikov almost 8 years ago

  • Category changed from Tasks generation to Environment models
Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

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.

Actions

Also available in: Atom PDF