Koen Zandberg
b024ff1cb8
sock_util: Add checks to port number parsing
...
Add additional checks to the port number parsing in str2ep to validate
the port number supplied in the string. This only verifies that the port
number is no longer than 5 chars and the resulting number fits in a
uint16_t.
It is still possible to supply up to 5 random chars.
2018-07-19 22:07:19 +02:00
..
2018-04-16 13:53:49 +02:00
2018-05-04 11:16:48 +02:00
2018-07-05 15:44:16 +02:00
2018-06-11 19:12:02 +02:00
2018-01-31 13:55:36 +01:00
2018-04-05 14:39:59 +02:00
2018-02-22 19:13:39 +01:00
2018-05-28 15:43:41 -04:00
2018-05-01 11:12:39 +02:00
2016-12-27 00:58:11 +01:00
2017-09-06 08:49:05 +02:00
2018-06-11 19:12:02 +02:00
2018-06-11 19:12:02 +02:00
2016-09-05 02:22:37 +02:00
2018-06-15 00:34:33 +02:00
2018-04-19 16:41:13 +02:00
2018-05-23 15:13:31 +02:00
2018-06-14 11:57:11 +02:00
2018-06-11 19:12:02 +02:00
2018-03-06 16:18:26 +01:00
2018-07-19 22:07:17 +02:00
2018-04-05 14:39:59 +02:00
2016-12-16 09:48:08 +01:00
2017-05-24 17:54:02 +02:00
2018-03-22 20:43:15 +01:00
2017-02-27 11:01:20 +01:00
2018-04-28 08:03:35 +02:00
2018-04-10 14:37:29 +02:00
2016-11-09 11:59:45 +01:00
2018-07-19 22:07:19 +02:00
2018-06-21 13:55:38 +02:00
2017-11-14 09:22:02 +01:00
2018-05-18 15:41:07 +02:00
2018-06-11 15:46:46 +02:00
2016-09-21 21:12:58 +02:00
2018-02-01 06:55:49 +01:00
2018-06-11 19:12:02 +02:00
2018-06-12 10:07:07 +02:00
2018-07-04 17:55:16 +02:00
2017-05-24 17:54:01 +02:00
2018-07-04 17:55:16 +02:00
2018-02-27 18:16:24 -08:00
2018-02-18 11:30:46 +01:00
2017-03-06 18:03:27 +01:00
2018-06-27 08:58:00 +02:00
2017-07-03 10:55:35 +02:00
2018-05-28 13:04:55 -04:00
2018-05-17 10:40:12 +02:00
2018-05-17 17:03:27 +02:00
2017-05-24 17:54:02 +02:00
2017-04-14 14:36:15 +02:00
2018-05-23 16:31:01 +02:00
2018-02-13 18:05:28 +01:00
2018-06-11 19:12:02 +02:00
2017-06-27 18:05:14 +02:00
2018-07-05 15:44:16 +02:00
2018-05-29 18:40:58 +02:00
2018-06-12 14:08:29 +02:00