chiark / gitweb /
rand.c: Careful range checking on `block' and `mp'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 12 Sep 2016 21:26:09 +0000 (22:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 12 Sep 2016 21:33:23 +0000 (22:33 +0100)
  * For `mp', don't allow the `or' mask to be wider than the requested
    result.

  * For `range', insist that the limit is strictly positive, so that the
    output range is actually inhabited.

These parallel currently unreleased fixes to the underlying library,
which are required for things to work properly; so bump the dependency.


No differences found