Project

General

Profile

Actions

Feature #11825

closed

Allocate memory for tty_struct for tty_operations callbacks

Added by Evgeny Novikov over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Category:
Environment models
Target version:
Start date:
08/15/2022
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

At the moment EMG considers a result of ldv_undef_ptr() as a pointer to tty_struct when there is not the lookup callback of tty_operations. I suggest to explicitly allocate a memory for tty_struct and use a pointer to it in this case.

The issue was revealed with help of #11810.


Related issues 2 (1 open1 closed)

Blocks Klever - Feature #11810: Check whether the same resources are passed to various related callbacksNewEvgeny Novikov08/09/2022

Actions
Blocked by Klever - Feature #11826: Do not generate return values implicitly in case of missed callbacksClosedEvgeny Novikov08/15/2022

Actions
Actions

Also available in: Atom PDF