Branch: refs/heads/master
  Home:   https://github.com/Warzone2100/warzone2100
  Commit: 913aeb4299b26e33765bc40065da77b7c477a561
      
https://github.com/Warzone2100/warzone2100/commit/913aeb4299b26e33765bc40065da77b7c477a561
  Author: Cyp <[email protected]>
  Date:   2016-07-08 (Fri, 08 Jul 2016)

  Changed paths:
    M src/hci.cpp

  Log Message:
  -----------
  Fix crash.

Happend when saving and then loading a campaign game. Probably due to a 
left-over pointer.

=================================================================
==29775==ERROR: AddressSanitizer: heap-buffer-overflow on address 
0x61a0007842a8 at pc 0x694d8b bp 0x7ffed01f3700 sp 0x7ffed01f36f0
READ of size 4 at 0x61a0007842a8 thread T0
    #0 0x694d8a in hciUpdate() ../../src/hci.cpp:1113
    #1 0x740494 in gameStateUpdate ../../src/loop.cpp:668
    #2 0x740494 in gameLoop() ../../src/loop.cpp:707
    #3 0x745b37 in runGameLoop ../../src/main.cpp:886
    #4 0x745b37 in mainLoop() ../../src/main.cpp:992
    #5 0xe03152 in WzMainWindow::paintGL() ../../../lib/qtgame/wzapp_qt.cpp:285

AddressSanitizer can not describe address in more detail (wild memory access 
suspected).
SUMMARY: AddressSanitizer: heap-buffer-overflow ../../src/hci.cpp:1113 
hciUpdate()


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to