Johannes Schindelin
f729981369
UTF-8 environment: be a little bit more defensive
...
It is unlikely that we have an empty environment, ever, but *if* we do,
when `environ_size - 1` is passed to `bsearchenv()` it is misinterpreted
as a real large integer.
To make the code truly defensive, refuse to do anything at all if the
size is negative (which should not happen, of course).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2018-04-02 22:32:58 +02:00
..
2016-09-07 10:41:45 -07:00
2017-11-09 13:21:21 +09:00
2017-11-09 13:21:21 +09:00
2016-03-30 11:16:20 -07:00
2018-04-02 22:32:58 +02:00
2016-04-08 11:45:47 -07:00
2016-01-12 10:40:54 -08:00
2017-09-24 10:39:37 +09:00
2017-07-05 14:01:03 -07:00
2017-07-05 14:01:03 -07:00
2017-05-26 12:33:55 +09:00
2014-04-01 14:39:04 -07:00
2015-09-25 10:18:18 -07:00
2015-09-25 10:18:18 -07:00
2012-02-05 16:32:33 -08:00
2018-04-02 22:32:58 +02:00
2018-04-02 22:32:57 +02:00
2012-08-24 09:48:51 -07:00
2014-04-10 12:18:55 -07:00
2013-09-11 11:08:52 -07:00
2017-11-09 13:21:21 +09:00
2017-11-09 13:21:21 +09:00
2017-06-15 12:56:22 -07:00
2015-10-05 11:06:49 -07:00
2017-01-23 11:02:34 -08:00
2016-02-22 14:51:09 -08:00
2016-02-22 14:51:09 -08:00
2015-11-05 10:35:11 -08:00
2015-11-05 10:35:11 -08:00
2016-03-30 11:13:01 -07:00
2014-12-04 11:58:36 -08:00
2016-09-07 10:41:45 -07:00
2016-01-15 10:12:51 -08:00
2013-07-21 15:09:56 -07:00
2013-05-08 12:14:35 -07:00
2016-04-22 15:01:16 -07:00
2017-05-08 12:18:19 +09:00