diff options
| author | Patrick Steinhardt <[email protected]> | 2015-05-22 09:50:16 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <[email protected]> | 2015-05-22 09:50:16 +0200 |
| commit | 1bd338af5e7a329c8ec5bd85500350795d0793d2 (patch) | |
| tree | a0fdf767486ee3cf51f893f462173ab704f718c1 /commit.go | |
| parent | d95932c84a2b9c926490def345d71d45bb19f344 (diff) | |
handles: do not store handles by uintptr
If we store values by uintptrs the GC may try to inspect their
values when it kicks in. As the pointers are most likely invalid,
this will result in an invalid pointer dereference, causing the
program to panic. We can fix this by storing values by an int
index value instead, returning pointers to those indices as
handles instead.
Diffstat (limited to 'commit.go')
0 files changed, 0 insertions, 0 deletions
