[Freeciv-Dev] [bug #20086] in astr_vadd() [astring.c::164]: assertion '(size_t) -1 != new_len' failed.

2013-02-20 Thread pepeto
Update of bug #20086 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20086] in astr_vadd() [astring.c::164]: assertion '(size_t) -1 != new_len' failed.

2013-02-18 Thread pepeto
Update of bug #20086 (project freeciv):

  Status: In Progress = Ready For Test 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20086] in astr_vadd() [astring.c::164]: assertion '(size_t) -1 != new_len' failed.

2013-02-17 Thread J. M. Gorbach
Follow-up Comment #3, bug #20086 (project freeciv):

Does this patch also solve your problem? 
Yes, problem solve. Thanks!

___

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


[Freeciv-Dev] [bug #20086] in astr_vadd() [astring.c::164]: assertion '(size_t) -1 != new_len' failed.

2013-02-17 Thread pepeto
Update of bug #20086 (project freeciv):

  Status:None = In Progress
 Assigned to:None = pepeto 
 Planned Release: = 2.4.0, 2.5.0   


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20086] in astr_vadd() [astring.c::164]: assertion '(size_t) -1 != new_len' failed.

2013-02-16 Thread pepeto
Follow-up Comment #2, bug #20086 (project freeciv):

Does this patch also solve your problem?


(file #17229)
___

Additional Item Attachment:

File name: astr_buffer_resizable.diff Size:2 KB


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20086] in astr_vadd() [astring.c::164]: assertion '(size_t) -1 != new_len' failed.

2012-08-20 Thread J. M. Gorbach
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