Rocket/core/lib/tests
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
..
absolute-uris-okay-issue-443.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
catcher-cookies-1213.rs Set cookies even on error responses. 2020-01-23 21:10:04 -08:00
conditionally-set-server-header-996.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
derive-reexports.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
fairing_before_head_strip-issue-546.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
flash-lazy-removes-issue-466.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
form_method-issue-45.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
form_value_decoding-issue-82.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
guide.rs Test all guide code examples. 2020-02-15 04:02:19 -08:00
head_handling.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
limits.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
local_request_private_cookie-issue-368.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
local-request-content-type-issue-505.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
mount_point.rs Migrate core to Rust 2018. 2019-06-25 13:45:23 -04:00
nested-fairing-attaches.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
precise-content-type-matching.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
redirect_from_catcher-issue-113.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
responder_lifetime-issue-345.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
route_guard.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
segments-issues-41-86.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
strict_and_lenient_forms.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00
unsound-local-request-1312.rs Fix 'LocalRequest::clone()' soundness issue. 2020-05-27 01:09:12 -07:00
uri-percent-encoding-issue-808.rs Remove use of the 'decl_macro' feature. 2019-07-19 11:39:56 -07:00