Skip to content
Snippets Groups Projects
  1. Apr 18, 2023
  2. Apr 11, 2023
  3. Mar 24, 2023
  4. Mar 27, 2023
  5. Mar 29, 2023
  6. Mar 21, 2023
  7. Mar 15, 2023
  8. Feb 27, 2023
  9. Feb 13, 2023
  10. Feb 14, 2023
  11. Jan 27, 2023
  12. Jan 24, 2023
  13. Oct 18, 2022
  14. Dec 01, 2022
  15. Nov 18, 2022
  16. Nov 19, 2022
  17. Nov 04, 2022
  18. Nov 03, 2022
  19. Nov 02, 2022
  20. Oct 26, 2022
  21. Oct 17, 2022
    • Jon Coppeard's avatar
      Bug 1791975 - Don't sweep realms that were allocated during incremental GC r=jandem, a=dmeehan · bdedfc85
      Jon Coppeard authored
      When marking a BaseShape we mark its global, and we read the pointer to that
      global from the realm. If a realm doesn't have a live global we can sweep the
      realm but there may still be pointers to it in base shapes and these are left
      dangling.
      
      This happens when we hit OOM while creating a global during an incremental GC.
      The BaseShape survives because it was allocated after the start of the GC. The
      global itself is never successfully created and so the realm doesn't have a
      live global and is swept. In this case, we trigger UAF when we try to compact
      the heap and trace the base shape.
      
      The patch adds an extra case for keeping a realm alive if it was created during
      an incremental GC. This matches the way that GC things are not collected if
      they are allocated after the start of a GC.
      
      Differential Revision: https://phabricator.services.mozilla.com/D158022
      bdedfc85
  22. Oct 06, 2022
  23. Sep 21, 2022
  24. Sep 19, 2022
  25. Sep 06, 2022
  26. Jul 28, 2022
  27. Aug 19, 2022
  28. Aug 03, 2022
  29. Jul 28, 2022
  30. Jul 25, 2022
  31. Jul 23, 2022
  32. Jun 16, 2022
  33. Jun 24, 2022
  34. Jun 07, 2022
  35. Jun 08, 2022
  36. Jun 01, 2022
Loading