Project

General

Profile

Actions

Bug #4670

closed

Resource leak in cots_listen_event() when set_addrmask() fails

Added by Marcel Telka about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2014-03-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

In a case the set_addrmask() call fails in cots_listen_event() both new_fd and conn_head (if any) will leak. This applies to both nfs_tbind.c and sndrd.c (the code is similar in both files).

Actions #1

Updated by Marcel Telka about 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Marcel Telka
Actions #2

Updated by Marcel Telka about 8 years ago

  • Status changed from In Progress to Pending RTI
Actions #3

Updated by Electric Monk about 8 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 0 to 100

git commit 5539384561c0efe744226d5e5d331f5546e500e4

commit  5539384561c0efe744226d5e5d331f5546e500e4
Author: Marcel Telka <marcel.telka@nexenta.com>
Date:   2014-05-01T00:56:20.000Z

    4670 Resource leak in cots_listen_event() when set_addrmask() fails
    Reviewed by: Andy Stormont <AStormont@racktopsystems.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF