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

                 Summary: in astr_vadd() [astring.c::164]: assertion '(size_t)
-1 != new_len' failed.
                 Project: Freeciv
            Submitted by: gorb
            Submitted on: lun 20 ago 2012 13:47:20 GMT
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.3.2/2.4.0-beta1/trunk
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 

    _______________________________________________________

Details:

256*256 (or 16*16*16*16) = 65536

static char buf[65536] in 2.3
static char buf[65536] in 2.4
static char buf[65536] in trunk v.21813

My scenario file: Formatted string bigger than 2 bytes.

I don't know if is a correct value, but I increased buf at 16777216
(256*256*256) and the error disappear. Maybe the correct value is 1048576
(16*16*16*16*16). 

Is it possible increase the buf for s2_4?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: lun 20 ago 2012 13:47:20 GMT  Name: limit_buf_trunk.patch  Size: 537B  
By: gorb

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Gna!
  http://gna.org/


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

Reply via email to