Rocket/core/lib
Sergio Benitez b8f9011c04 Fix 'LocalRequest::clone()' soundness issue.
The existing implementation of 'LocalRequest::clone()' mistakenly copied
the internal 'Request' pointer from the existing 'LocalRequest' to the
cloned 'LocalRequest'. This resulted in an aliased '*mut Request'
pointer, a clear soundness issue. The fix in this commit is to clone the
internal 'Request', replacing the internal pointer with the newly cloned
'Request' when producing the cloned 'LocalRequest'. A fix that removes
all 'unsafe' code should be explored.

Fixes #1312.
2020-05-27 01:09:12 -07:00
..
benches Fix and update benchmarks. 2019-11-16 13:08:36 -08:00
src Fix 'LocalRequest::clone()' soundness issue. 2020-05-27 01:09:12 -07:00
tests Fix 'LocalRequest::clone()' soundness issue. 2020-05-27 01:09:12 -07:00
Cargo.toml Update 'time' to 0.2 in 'contrib'. 2020-03-25 14:39:55 -07:00
build.rs Migrate core to Rust 2018. 2019-06-25 13:45:23 -04:00