
Every time we read an empty string we accidentally issue a read for 0 bytes at address 0, this is fine for real memory but the core file reader doesn't like it. Fixes an issue reported on the mailing list.
9 lines
86 B
Go
9 lines
86 B
Go
package main
|
|
|
|
func main() {
|
|
s := ""
|
|
t := "test"
|
|
panic("panic!!!")
|
|
println(s, t)
|
|
}
|