ayttm-0.6.3 bug report
David Binderman <[email protected]> Tue, 7 May 2013 11:41:46 +0000
| Newsgroups | gmane.network.instant-messaging.ayttm.user |
|---|---|
| Message-ID | <[email protected]> |
Hello there, I just ran the static analyser "cppcheck" over the source code of ayttm. It said 1. [edit_list_window.c:342]: (error) Buffer is accessed out of bounds. The source code is =A0=A0=A0=A0=A0=A0=A0 sprintf(rdata, "rowdata%d", i); but =A0=A0=A0 char rdata[8]; rdata is one too small, because 9 > 8. Suggest increase size of rdata by at least one. 2. Some resource leaks on error handling paths. [action.c:173]: (error) Resource leak: output_fhtml [action.c:173]: (error) Resource leak: output_fplain [offline_queue_mgmt.c:128]: (error) Resource leak: queue [offline_queue_mgmt.c:267]: (error) Resource leak: queue Regards David Binderman = ---------------------------------------------------------------------------= --- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and = their applications. This 200-page book is written by three acclaimed = leaders in the field. The early access version is available now. = Download your free book today! http://p.sf.net/sfu/neotech_d2d_may