Project

General

Profile

Actions

Feature #2692

open

100: TTY should not be NULL when it is passed to TTY processing functions

Added by Evgeny Novikov about 12 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Start date:
04/03/2012
Due date:
% Done:

100%

Estimated time:
Published in build:

Description

TTY functions don't check whether a passed to them TTY is NULL or not (see this, for instance). Sometimes it leads to null pointer dereferences. We should verify that this cannot happen, i.e. determine the list of such the TTY functions and make corresponding rule.
BTW, I guess that we do need to change our rules naming scheme. Most obvious for me to use our bugs/rules classification. With help of it the given rule can be named specific:check_params:tty. Now I'm going to use name 100_1 to distinguish this rule from the previous ones...

Actions

Also available in: Atom PDF