Engine: Prevent from buffer overflows
Posted by Janusz Krzysztofik on 2011-07-09 18:12
While using rather long alias names, combined with most options which
output additional information the the Heyu log reported signal
descriptions (like DISPLAY_SENSOR_INTV, ORE_DISPLAY_CHAN, SHOW_CHANGE,
etc.) turned on, it happened to me that my Heyu engine started breaking
regularly, reporting 'buffer overflow', after I rebuilt it with a recent
compiler version.
Thanks,
Janusz
output additional information the the Heyu log reported signal
descriptions (like DISPLAY_SENSOR_INTV, ORE_DISPLAY_CHAN, SHOW_CHANGE,
etc.) turned on, it happened to me that my Heyu engine started breaking
regularly, reporting 'buffer overflow', after I rebuilt it with a recent
compiler version.
Thanks,
Janusz
Home / Developer API / Tour / Get a Project - Solutions for Bug & Issue Tracking, Collaboration Tools, Subversion Hosting, Git Hosting
X10 automation for linux, unix, and mac os x is powered by Assembla.
1 Comments
By Janusz Krzysztofik on 2011-07-09 18:17
A new patch against stable (2.9.3) is available for on-line review or download. You are welcome to test it, especially if you happen to suffer from the problem it addresses.
While this patch can be seen as being far from a proper long-term solution, and should be rather considered as a simple, non-invasive preventive workaround, I'm no longer experiencing buffer overflows with it applied, so decided to push it as a fix.
Thanks,
Janusz