diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-07 03:16:44 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-07 03:20:57 +0900 |
| commit | 625976d7931006bae7e960e561ecdaccb0cb6a28 (patch) | |
| tree | dc48458bff7a597b8f3d57bc5deaa09cc727db5d /src/vm.c | |
| parent | 3447162a4c5f1e5e7a1206deaacd8cb6ad2d3897 (diff) | |
| download | mruby-625976d7931006bae7e960e561ecdaccb0cb6a28.tar.gz mruby-625976d7931006bae7e960e561ecdaccb0cb6a28.zip | |
Fix integer overflow issue; fix #4108
I misunderstood the return value from `snprintf()`, which is NOT number
of characters written in buffer, but the number of character the buffer
has to have to write the complete output.
Diffstat (limited to 'src/vm.c')
0 files changed, 0 insertions, 0 deletions
