Misa
ea8053303d
Initialize x to 0 in ss_toi()
...
This fixes a source of undefined behavior, where the int returned by
ss_toi() would be random garbage memory if the string passed into it
would be empty. That's because if the string is empty, there are no
characters to parse, so nothing simply gets put into x.
The easiest way to pass an empty string in to ss_toi() would be to use
script commands with empty arguments.
2020-02-20 00:05:55 -05:00
..
2020-01-11 08:53:32 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-02-17 13:17:36 -05:00
2020-02-11 06:02:35 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-02-05 22:08:48 +01:00
2020-01-31 15:53:29 -08:00
2020-01-08 10:37:50 -05:00
2020-02-08 18:49:03 -05:00
2020-02-08 18:49:03 -05:00
2020-02-08 23:54:20 -05:00
2020-01-08 10:37:50 -05:00
2020-02-16 09:30:00 -05:00
2020-02-11 23:45:58 -05:00
2020-01-13 11:15:22 -05:00
2020-02-11 06:02:35 -05:00
2020-02-11 06:02:35 -05:00
2020-01-29 07:58:23 -05:00
2020-01-29 07:58:23 -05:00
2020-02-09 22:31:33 -04:00
2020-01-08 10:37:50 -05:00
2020-02-11 23:45:58 -05:00
2020-01-08 10:37:50 -05:00
2020-01-31 13:25:37 -05:00
2020-01-29 07:58:23 -05:00
2020-02-08 23:54:20 -05:00
2020-01-08 10:37:50 -05:00
2020-02-09 23:31:44 -05:00
2020-01-08 10:37:50 -05:00
2020-02-19 12:44:36 -05:00
2020-02-09 10:42:03 -05:00
2020-02-09 23:31:44 -05:00
2020-02-09 23:31:44 -05:00
2020-01-08 10:37:50 -05:00
2020-02-12 21:52:25 -05:00
2020-01-29 07:58:23 -05:00
2020-01-13 11:27:16 -05:00
2020-01-13 11:15:22 -05:00
2020-02-08 23:54:20 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-01-08 10:37:50 -05:00
2020-02-09 23:31:44 -05:00
2020-01-08 10:37:50 -05:00
2020-02-08 00:10:56 -05:00
2020-01-10 15:07:29 -07:00
2020-01-08 10:37:50 -05:00
2020-02-08 23:54:20 -05:00
2020-01-08 10:37:50 -05:00
2020-01-13 23:31:14 -05:00
2020-01-15 22:05:37 -08:00
2020-01-31 13:25:37 -05:00
2020-01-08 10:37:50 -05:00
2020-02-11 23:45:58 -05:00
2020-01-08 10:37:50 -05:00
2020-02-08 23:54:20 -05:00
2020-01-08 10:37:50 -05:00
2020-02-20 00:05:55 -05:00
2020-01-29 07:58:23 -05:00
2020-02-08 23:54:20 -05:00
2020-01-08 10:37:50 -05:00