[Issue 21365] TypeInfo.swap must not allow reachable memory to be freed if interrupted by a garbage collection pass
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Nov  5 23:09:38 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=21365
Dlang Bot <dlang-bot at dlang.rocks> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3264 "TypeInfo.swap must not allow reachable
memory to be freed if interrupted by a garbage collection pass" was merged into
stable:
- 2c169c833cd2fe49f23b025032ff21bc6e8113e5 by Nathan Sashihara:
  Fix Issue 21365 - TypeInfo.swap must not allow reachable memory to be freed
if interrupted by a garbage collection pass
  If the type might contain pointers perform the swap in pointer-sized
  chunks in case a garbage collection pass interrupts the function.
  Directly affected TypeInfo subclasses that were not overriding swap:
  - TypeInfo_AssociativeArray
  - TypeInfo_Class
  - TypeInfo_Delegate
  - TypeInfo_Interface
  - TypeInfo_Struct
https://github.com/dlang/druntime/pull/3264
--
    
    
More information about the Digitalmars-d-bugs
mailing list