URL:
  <http://gna.org/bugs/?24611>

                 Summary: Uninitialized multipliers space sent over network
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 25 Apr 2016 04:52:23 PM EEST
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0, 3.0.0

    _______________________________________________________

Details:

Player info packet contains static size multipliers space for maximum
multiplier count. Those multipliers that are not used in the current ruleset,
are sent uninitialized (causing a lot of warnings on valgrind, makign delta
protocol to send unnecessary "changes")

Attached fix makes it to send only multipliers in use.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 25 Apr 2016 04:52:23 PM EEST  Name: MultipliersProtocol.patch  Size:
2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=27205>
-------------------------------------------------------
Date: Mon 25 Apr 2016 04:52:23 PM EEST  Name: MultipliersProtocol-S2_6.patch 
Size: 2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=27206>

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to