Korruption des Handle-Speichers
Aus Mappedia
Bei einer Korruption des Handle-Speichers funktioniert die Verteilung der Handle-Adressen nicht mehr richtig und es kann zum Beispiel passieren, dass zwei verschiedene Objekte die gleiche Handle-Adresse bekommen. Bekannte Ursachen sind die falsche Verwendung des Return-Bugs und das Zerstören von Auslösern, inbesondere wenn der Auslöser noch läuft.
Erklärung von PipeDream
- You create a handle, e.g. a dummy unit for a spell
- You toss the unit into an integer storage, e.g. gamecache, with HtoI
- You use it for awhile by extracting the handle with ItoU, being careful to set locals to null to keep the reference count correct so that the handle won't leak
- You destroy the handle, or the handle gets destroyed inadvertently through game events (the unit dies). The handle reference count may now drop to zero, and the handle is returned to the free stack.
- Your code still has an illegal reference to the handle. You ItoU the integer and increment the reference count even though the handle is free and has a reference count of zero.
- You null your reference and the reference count of the handle drops to zero, which pushes a second copy of the handle onto the free stack.
- A swarm of locust clones eats all your wheat

russische Team, stehen wir nun im Halbfinale vor einem weiteren Giganten der e-Sports-Szene:
Finnland! Die Skandinavier hatten es im Gegensatz zu unserem