Descriptionruntime: fix go of nil func value
Currently runtime derefences nil with m->locks>0,
which causes unrecoverable fatal error.
Panic instead.
Fixes issue 8045.
Patch Set 1 #Patch Set 2 : diff -r 4a839bf01b58 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r 4a839bf01b58 https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r 4b3cdcb02f2d https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 5 : diff -r 4b3cdcb02f2d https://dvyukov%40google.com@code.google.com/p/go/ #MessagesTotal messages: 9
|