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

                 Summary: read() / write() lengths considered signed values in
xz-compression handling
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 20 Jan 2016 11:23:05 AM EET
                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.5.3, 2.6.0, 3.0.0

    _______________________________________________________

Details:

Amount of data read/written is considered signed in xz-compression handling.

Attached fix changes related variables from type 'ssize_t' to 'size_t' and
other cleanup.

It's possible that this has affected handling of exceptionally large files.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 20 Jan 2016 11:23:05 AM EET  Name: SizeTXzSize.patch  Size: 2kB  
By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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