tobias_hippler

Show:

What's happening?

  • Possible Stack Corruption in TclX_RelativeExpr()

    TCL-Example: set x [list] lvarpop x 0. ; # intentionally non-int as 2nd argument This can really crash your app, since a bug in TclX_RelativeExpr() may trash the stack. The code that tests, whether the last argument is an integer, an expression or an expression in the form of "end" is faulty. --- tclXutil.c, line 364 --- if (!(STRNEQU (exprStr, "end", 3) ||...

    2009-04-09 12:33:53 UTC in Extended Tcl (TclX)

  • "lsearch -exact -integer ..." crashes

    "lsearch" crashes under certain circumstances: Condition 1: The list and the query object share the same Tcl_Obj. Condition 2: Options used for lsearch are "-exact" and "-integer" or "-real" crash example1: set x 0 set y $x lsearch -exact -integer $x $y crash example2: set x 0.2 set y $x lsearch -exact -real $x $y does not crash (example1 without -exact)...

    2007-12-05 12:42:33 UTC in Tcl

About Me

  • 2005-12-16 (4 years ago)
  • 1406290
  • thippler (My Site)
  • tobias_hippler

Send me a message