URL: <http://gna.org/bugs/?15778>
Summary: cat_snprintf() unable to handle returned value -1 Project: Freeciv Submitted by: pepeto Submitted on: samedi 03.04.2010 à 18:20 Category: general Severity: 2 - Minor Priority: 3 - Low Status: Ready For Test Assigned to: pepeto Originator Email: Open/Closed: Open Release: trunk, S2_2, S2_1 Discussion Lock: Any Operating System: None Planned Release: 2.1.12, 2.2.1, 2.3.0 _______________________________________________________ Details: If fc_vsnprintf() returns -1, then the result will be the old lenght - 1, instead of -1. Fix attached. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: samedi 03.04.2010 à 18:20 Name: trunk_cat_snprintf.diff Size: 432 o By: pepeto <http://gna.org/bugs/download.php?file_id=8790> ------------------------------------------------------- Date: samedi 03.04.2010 à 18:20 Name: S2_2_S2_1_cat_snprintf.diff Size: 434 o By: pepeto <http://gna.org/bugs/download.php?file_id=8791> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?15778> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev