Skip to content
Snippets Groups Projects
  1. Aug 26, 2024
  2. Aug 24, 2024
  3. Aug 08, 2024
  4. Jul 27, 2024
    • Kelsey Gilbert's avatar
      Bug 1885245 - Remove PlainOldDataSerializer. r=mccr8 a=RyanVM · 2b8bf0f7
      Kelsey Gilbert authored
      There's no sufficiently robust way to identify POD types in C++, such
      that we could rely on this kind of thing for serialization.
      
      As one example, `bool` must be carefully handled on deserialize, in case
      an attacker wants to exploit the UB of bool with value 2.
      Additionally, generally it's not viable to tell whether all the members
      of a struct are PODs as well, and we need that level of assurance
      recursively!
      
      So we instead lean on e.g. ParamTraits_TiedFields/_IsEnumCase for our
      extreme robustness requirements.
      
      Differential Revision: https://phabricator.services.mozilla.com/D217518
      2b8bf0f7
  5. Jul 24, 2024
  6. Aug 22, 2024
Loading