Opened 6 years ago

Closed 6 years ago

#3502 closed defect (fixed)

Calling "sigaction" function without checking return value

Reported by: wlodekwencel Owned by: stephen
Priority: very low Milestone: Kea0.9
Component: Unclassified Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

Coverity bug CID 1224385

Unchecked return value in file /src/lib/util/signal_set.cc, line 116:

116 sigaction(sig, &prev_sa, 0);
117 isc_throw(SignalSetError?, "onreceipt_handler failed for signal "
118 << sig << ": " << ex.what());

Subtickets

Change History (6)

comment:1 Changed 6 years ago by tomek

  • Milestone changed from Kea-proposed to Kea0.9
  • Priority changed from medium to very low

comment:2 Changed 6 years ago by stephen

  • Owner set to stephen
  • Status changed from new to accepted

comment:3 Changed 6 years ago by stephen

  • Owner changed from stephen to UnAssigned
  • Status changed from accepted to reviewing

Ready for review. No ChangeLog entry is planned as this is not a user-visible change.

comment:4 Changed 6 years ago by tmark

  • Owner changed from UnAssigned to tmark

comment:5 Changed 6 years ago by tmark

  • Owner changed from tmark to stephen

Change looks fine. Please merge.

comment:6 Changed 6 years ago by stephen

  • Resolution set to fixed
  • Status changed from reviewing to closed

Merged in commit 81df8441e506fb47f825b9f3a727935939073eb0

Note: See TracTickets for help on using tickets.