URL: <http://gna.org/bugs/?22854>
Summary: Wrong size passed to backtrace() Project: Freeciv Submitted by: pepeto Submitted on: mer. 22 oct. 2014 16:22:20 CEST Category: general Severity: 2 - Minor Priority: 5 - Normal Status: Ready For Test Assigned to: pepeto Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: GNU/Linux Planned Release: 2.4.4, 2.5.0, 2.6.0 _______________________________________________________ Details: The size argument passed to backtrace is sizeof(buffer). It should be MAX_NUM_FRAMES or ARRAY_SIZE(buffer). Fix attached. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: mer. 22 oct. 2014 16:22:20 CEST Name: backtrace_print_array_size.patch Size: 412 o By: pepeto <http://gna.org/bugs/download.php?file_id=22710> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22854> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev