NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39132: /usr/bin/awk: free(): warning: junk pointer, too low to make sense.



>Number:         39132
>Category:       bin
>Synopsis:       /usr/bin/awk: free(): warning: junk pointer, too low to make 
>sense.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 11 20:30:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: 
Sun Jul 6 22:33:53 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
See "How-To-Repeat" section.
CURRENT version of awk works the same way.
>How-To-Repeat:
0 ~>cat /home/cheusov/tmp/2.awk    
#!/usr/bin/awk -f

function func2 (flag){
        flag = 0
}

BEGIN {
        func2(1)
        func2(2)
        func2(3)
}
0 ~>awk -f /home/cheusov/tmp/2.awk 
awk in free(): warning: junk pointer, too low to make sense.
awk in free(): warning: junk pointer, too low to make sense.
awk in free(): warning: junk pointer, too low to make sense.
0 ~>

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index