Skip to content

modules/gui/wxwidgets/extrapanel.cpp:802: Overlapping data buffer psz_values

modules/gui/wxwidgets/extrapanel.cpp:802 variable psz_values is used for both input and output by sprintf().

        sprintf( psz_values, "%s %f", psz_values, f_val );

"If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined." http://www.opengroup.org/onlinepubs/000095399/functions/printf.html

This bug was found using cppcheck: http://cppcheck.wiki.sourceforge.net/

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information