Issue metadata
Sign in to add a comment
|
blink::ContentSecurityPolicy is thread hostile, yet is used from multiple threads |
||||||||||||||||||||||
Issue descriptionIn particular calling AddPolicyFromHeaderValue is not something that is safe to do from multiple threads, even if different ContentSecurityPolicy instances are used, because: - it uses blink::CSPDirectiveList to parse the header - blink::CSPDirectiveList uses blink::SpaceSplitString to parse the string - blink::SpaceSplitString uses a DEFINE_STATIC_LOCAL singleton DataMap (to cache things I think?) with no consideration for multiple threads
,
Jun 22 2018
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by mek@chromium.org
, Jun 21 2018