]> Cypherpunks repositories - gostls13.git/commit
runtime: check for findmoduledatap returning nil
authorIan Lance Taylor <iant@golang.org>
Sat, 18 Jul 2015 20:35:12 +0000 (13:35 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 18 Jul 2015 21:26:59 +0000 (21:26 +0000)
commit692054e76e7686c6d5de385df69873e6427a35fb
treee0fb14db599152b78419b92d0b1e86b5720132e9
parente1ee31400a4258985647a6d699c7df56a81d7a98
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>
src/runtime/symtab.go