Follow-up Comment #1, bug #22048 (project freeciv):

I could reproduce the crash a couple of times without the attached patch, but
not once with it.

It initializes meta server scan result before new scan. Presumably it used to
get SCAN_STATUS_DONE from the previous scan, causing attempt to handle the
scan results even before they are created. Do not overwrite SCAN_STATUS_ABORT
with SCAN_STATUS_DONE.
 
Also get rid of scan->meta.state that was never used, only set at one place.

(file #20766)
    _______________________________________________________

Additional Item Attachment:

File name: InitMetaScanStatus.patch       Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22048>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to