Opened 10 years ago

Closed 10 years ago

#1688 closed defect (duplicate)

tordnsel 0.0.6 does not compile on GHC6.8.

Reported by: nejucomo Owned by:
Priority: Medium Milestone:
Component: Applications/GetTor Version:
Severity: Keywords: tordnsel ghc haskell
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


GHC changed various compiler flag requirements as well as APIs between ghc6.6 and ghc6.8.

This patch allows tordnsel to compile against ghc6.8 (which is on lenny).

This patch deserves security review. I'm not certain what implications the compiler flags have.

The most dubious change is using "unsafePerformIO . Data.ByteString.Unsafe.unsafePackAddress" which could conceivably introduce buffer overflow issues. I have a feeling this is not likely as long as unsafePackAddress is idempotent (in which case the order of side effects hopefully does not matter).

Child Tickets

Change History (1)

comment:1 Changed 10 years ago by nickm

Resolution: duplicate
Status: newclosed

Looks like a duplicate of #1689. That one has a patch, so I'll close this one.

Note: See TracTickets for help on using tickets.