diff options
| author | Ian Lance Taylor <iant@golang.org> | 2015-07-18 13:35:12 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2015-07-18 21:26:59 +0000 |
| commit | 692054e76e7686c6d5de385df69873e6427a35fb (patch) | |
| tree | e0fb14db599152b78419b92d0b1e86b5720132e9 /src/runtime/debug | |
| parent | e1ee31400a4258985647a6d699c7df56a81d7a98 (diff) | |
| download | go-692054e76e7686c6d5de385df69873e6427a35fb.tar.xz | |
runtime: check for findmoduledatap returning nil
The findmoduledatap function will not return nil in ordinary use, but
check for nil to try to avoid crashing when we are already crashing.
Update #11783.
Change-Id: If7b1adb51efab13b4c1a37b6f3c9ad22641a0b56
Reviewed-on: https://go-review.googlesource.com/12391
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions
