[Freeciv-Dev] [bug #23616] cmp_buffer0/1 not big enough?

2015-06-24 Thread Marko Lindqvist
Update of bug #23616 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

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


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


[Freeciv-Dev] [bug #23616] cmp_buffer0/1 not big enough?

2015-06-21 Thread Marko Lindqvist
Update of bug #23616 (project freeciv):

Category:None = general
  Status:None = Ready For Test 
 Planned Release: = 3.0.0  

___

Follow-up Comment #1:

Fix

(file #24592)
___

Additional Item Attachment:

File name: CmpBufferUchars.patch  Size:3 KB


___

Reply to this item at:

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

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


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


[Freeciv-Dev] [bug #23616] cmp_buffer0/1 not big enough?

2015-05-25 Thread Jacob Nevins
URL:
  http://gna.org/bugs/?23616

 Summary: cmp_buffer0/1 not big enough?
 Project: Freeciv
Submitted by: jtn
Submitted on: Mon 25 May 2015 21:55:42 BST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: trunk r29124
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

The new ICU-based string comparison stuff allocates cmp_buffer0/1 as
cmp_buffer_size chars, but passes cmp_buffer_size to u_strFromUTF8() in an
argument that's documented
http://icu-project.org/apiref/icu4c/ustring_8h.html#a5f9ff224b11166a106d1b3ac26454cd4
as The size of the buffer (number of UChars). sizeof(UChar) probably 
sizeof(char).

(I went looking because my trunk freeciv-gtk2 is segfaulting on quit in
cmp_buffers_free(). Haven't determined whether this is the cause.)




___

Reply to this item at:

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

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


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