Bug #985

Crash when opening a door

Added by kervala about 8 years ago. Updated about 8 years ago.

Status:Closed Start date:06/15/2010
Priority:High Due date:
Assignee:kervala % Done:

100%

Category:Client: General
Target version:Version 0.8.0

Description

When opening a door, there is a crash in void CDoorManager::getPACSTriggers() at line 492.

nUserDataDoor is a uint64 and it contains a 16 bits mask + a pointer. In 32 bits,it's working fine because 32 + 16 < 64 and, in 64 bits, it's not working because 64 + 16 > 64 :p

History

#1 Updated by rti about 8 years ago

r375 solves it for you? o.O

#2 Updated by kervala about 8 years ago

No, it was only a test :)

Server cast the pointer to a sint32 :p

#3 Updated by kervala about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to kervala
  • Priority changed from Normal to High

#4 Updated by kervala about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r377.

#5 Updated by kervala about 8 years ago

  • Target version set to Version 0.8.0

#6 Updated by kervala about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF