Bug 486 - Server crash due to fooling the typechecker
Summary: Server crash due to fooling the typechecker
Status: RESOLVED FIXED
Alias: None
Product: UPPAAL
Classification: Unclassified
Component: Engine (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Assignee: Alexandre David
URL:
Depends on:
Blocks:
 
Reported: 2010-04-06 18:46 CEST by Alexandre David
Modified: 2010-04-06 18:48 CEST (History)
0 users

See Also:
Architecture:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre David 2010-04-06 18:46:24 CEST
An if-statement without an else clause ending a function that is supposed to return something will fool the typechecker and cause a stack overflow at run time if the condition evaluates to false.
Comment 1 Alexandre David 2010-04-06 18:48:32 CEST
Fixed in rev. 4510.