[GHC] #9029: [CID43142] Check return value of sigaction

#9029: [CID43142] Check return value of sigaction ------------------------------------+------------------------------------- Reporter: nicolast | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.8.2 Keywords: coverity | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- Coverity pointed at a location where the return value of sigaction isn't checked, unlike other occurrences of the function call. This patch adds the call, in line with other code. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9029 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9029: [CID43142] Check return value of sigaction -------------------------------------+------------------------------------ Reporter: nicolast | Owner: thoughtpolice Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: coverity Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by simonmar): * owner: simonmar => thoughtpolice * milestone: => 7.8.3 Comment: Looks good to me. Austin, could you push please? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9029#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9029: [CID43142] Check return value of sigaction -------------------------------------+------------------------------------ Reporter: nicolast | Owner: thoughtpolice Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: coverity Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by nicolast): Austin: in case you find it more convenient to cherry-pick the patch from a git tree instead of applying a Trac attachment, the patches I submitted based on the Coverity results can be found at git://github.com/NicolasT/ghc.git in the 'coverity' branch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9029#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9029: [CID43142] Check return value of sigaction -------------------------------------+------------------------------------ Reporter: nicolast | Owner: thoughtpolice Type: bug | Status: closed Priority: normal | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: fixed | Keywords: coverity Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: Merged in HEAD and 7.8 this morning, thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9029#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC