Dead pointer usage. Pointer 'fl' is dead if it has been assigned '&fl' at line 1702.


linux-3.15.8/fs/locks.c
422 /*
423  * Initialize a lease, use the default lock manager operations
424  */
425 static int lease_init(struct file *filp, long type, struct file_lock *fl)
426  {
427 	if (assign_type(fl, type) != 0)
428 		return -EINVAL;
429 
430 	fl->fl_owner = current->files;
431 	fl->fl_pid = current->tgid;

Classification:

True positive: Bug
True positive: Intentional code
False positive: Not a bug
Comment: