Segfault when passing a non integer in TCL rules where an integer is expected
Issue #83
resolved
The TCL script API provides some functions that expect an integer to be passed (such as the second parameter of 'report'). When one does not pass a proper integer, vera++ segfaults. It should properly report a type error instead.
Try to pass a non-integer such as:
- "foo"
- ""
- an empty variable
in one of the following places:
- lineNumber of getLine
- fromLine, toLine, fromColumn, toColumn of getTokens
- lineNumber of report
Comments (2)
-
reporter -
reporter - changed status to resolved
- Log in to comment
Well, it seems that this issue has been fixed in version 1.3.0 My vera++ version, under Debian, is still in version 1.2.1