https://github.com/scilab/scilab
Revision bec4aedeb3d5170154921df4810a70b9aeb63919 authored by Vincent COUVERT on 01 July 2010, 15:14:28 UTC, committed by Pierre MARECHAL on 01 July 2010, 15:19:31 UTC
Using the same buffer as input and output of sprintf can cause input/output erasing.

Change-Id: I3d6c18ac1dc462db63ee33b5d8120a9a20247445
1 parent b166075
History
Tip revision: bec4aedeb3d5170154921df4810a70b9aeb63919 authored by Vincent COUVERT on 01 July 2010, 15:14:28 UTC
Make a copy of the buffer before calling sprintf.
Tip revision: bec4aed

back to top