diff options
| author | Simon Tatham <anakin@pobox.com> | 2018-06-21 18:54:08 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2018-06-21 18:54:08 +0100 |
| commit | 3618f6a07f71336ad5741836afb6aeb6cae3ff99 (patch) | |
| tree | 4ecd6edb0ba939e6acdbf434b84b86c022088e38 /html/rect.html | |
| parent | 506b07352ae225c74e79f6c6e7872bc2005bdb53 (diff) | |
| download | puzzles-3618f6a07f71336ad5741836afb6aeb6cae3ff99.zip puzzles-3618f6a07f71336ad5741836afb6aeb6cae3ff99.tar.gz puzzles-3618f6a07f71336ad5741836afb6aeb6cae3ff99.tar.bz2 puzzles-3618f6a07f71336ad5741836afb6aeb6cae3ff99.tar.xz | |
Fix NUL-termination bug in saving from Javascript.
The JS code that retrieves the save-file data from emcc.c doesn't
receive a separate length value, but instead expects the data to be in
the form of a NUL-terminated string. But emcc.c wasn't NUL-terminating
it, so the save data could come out with random cruft on the end.
Diffstat (limited to 'html/rect.html')
0 files changed, 0 insertions, 0 deletions