Merge branch 'asctime-ub-asserts' into 'master'

Catch UB in asctime_r()

See merge request redox-os/relibc!312
5 jobs for master in 3 minutes and 52 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #29932
build:linux

00:01:43

passed #29933
build:redox

00:01:38

 
  Test
failed #29936
allowed to fail
fmt

00:00:42

passed #29934
test:linux

00:00:50

failed #29935
allowed to fail
test:redox

00:02:10

 
Name Stage Failure
failed
test:redox Test
Installing package ca-certificates
* Requesting https://static.redox-os.org/pkg/x86_64-unknown-redox/ca-certificates.sig
* Failure 404 Not Found
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: "https://static.redox-os.org/pkg/x86_64-unknown-redox/ca-certificates.sig not found" }', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/redox_installer-0.2.7/src/lib.rs:124:38
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make[1]: Leaving directory '/builds/plimkilde/relibc/tests'
make[1]: *** [Makefile:180: verify] Error 101
make: *** [Makefile:109: test] Error 2
ERROR: Job failed: exit code 1
failed
fmt Test
                 );
- if allocated == !0 as *mut c_void /* MAP_FAILED */ {
+ if allocated == !0 as *mut c_void
+ /* MAP_FAILED */
+ {
return !0 as *mut c_void;
}

ERROR: Job failed: exit code 1