No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] Bug: Non-positional args with no value cause core dump
From: Schofield, Bryan \(GE Transportation\) <"Schofield,>
Date: Wed, 10 Nov 2004 09:17:19 -0500
Gustaf/Uwe -
I found a little bug in 1.3.3 that I downloaded on October 15th from=20
http://media.wu-wien.ac.at/download/xotcl-1.3.3.tar.gz
The following causes a core dump on my Solaris workstation:
Object o
o proc foo {{-foo 1}} {} {
puts "foo: $foo"
}
o foo
#--> "foo: 1"
o foo -foo 0
#--> "foo: 0"
o foo -foo
#--> BOOM!
Just thought I'd pass that on. Regards
-- bryan
Date: Wed, 10 Nov 2004 09:17:19 -0500
Gustaf/Uwe -
I found a little bug in 1.3.3 that I downloaded on October 15th from=20
http://media.wu-wien.ac.at/download/xotcl-1.3.3.tar.gz
The following causes a core dump on my Solaris workstation:
Object o
o proc foo {{-foo 1}} {} {
puts "foo: $foo"
}
o foo
#--> "foo: 1"
o foo -foo 0
#--> "foo: 0"
o foo -foo
#--> BOOM!
Just thought I'd pass that on. Regards
-- bryan