<div dir="ltr"><div><div><div>Hi Michael,<br><br></div>Thanks very much for this patch, I will integrate it and it should be available in the next release. I trust you've fixed up your version, and are OK for now?<br><br></div>Thanks again,<br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 13, 2017 at 7:05 AM, Michael Kuhn <span dir="ltr"><<a href="mailto:michael.kuhn@informatik.uni-hamburg.de" target="_blank">michael.kuhn@informatik.uni-hamburg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
since updating to GCC 7, I noticed some sporadic errors when compiling<br>
ncl. The problem comes from a buffer overflow in ymake-filter: The line<br>
buffer is currently hardcoded to be 2048 bytes large but some Makefiles<br>
contain lines longer than that. This caused the Makefiles to sometimes<br>
not be generated, consequently failing parts of the build.<br>
<br>
The attached patch replaces the static buffer with a dynamic one. It<br>
starts out at 2048 bytes and grows by 1024 bytes at a time if required.<br>
<br>
<br>
Best regards,<br>
Michael<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>