<p dir="auto">by <strong>jht5945</strong>:</p>
<pre class="notranslate">1. What is a short input program that triggers the error?
{{{
package main

import "fmt"

func GetValue(val bool) string {
    if val {
        return "true"
    } else {
        return "false"
    }
}

func main() {
    fmt.Println(GetValue(true))
}
}}}

2. What is the full compiler output?
`prog.go:5: function ends without a return statement`

3. What version of the compiler are you using?  (Run it with the -V flag.)
`go version go1.0.2`</pre>
<pre class="notranslate">12156:8086095a2f8e tip
Build with AddressSanitizer
(<a href="http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer)" rel="nofollow">http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer)</a>:
CC="clang -faddress-sanitizer -g -fno-omit-frame-pointer" ./make.bash

ERROR: AddressSanitizer global-buffer-overflow on address 
0x0000006e7ebe at pc 0x46ab3e bp 0x7fff80741d00 sp 0x7fff80741cf8 
READ of size 1 at 0x0000006e7ebe thread T0 
    #0 0x47643e in typ src/cmd/cc/sub.c:159
    #1 0x45a620 in fnproto1 src/cmd/cc/dcl.c:899
    #2 0x4546c7 in dodecl src/cmd/cc/dcl.c:77
    #3 0x485106 in yyparse src/cc.y:145
    #4 0x46798e in compile src/cmd/cc/lex.c:284
    #5 0x465ed5 in p9main src/cmd/cc/lex.c:156
    #6 0x494329 in main src/lib9/main.c:36
0x0000006e7ebe is located 10 bytes to the right of global variable 
'ewidth (src/cmd/6c/txt.c)' (0x6e7ea0) of size 20</pre>