This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 370 - Crash with invalid arguments to constant reference template parameters
Summary: Crash with invalid arguments to constant reference template parameters
Status: RESOLVED FIXED
Alias: None
Product: UPPAAL
Classification: Unclassified
Component: libutap (show other bugs)
Version: 4.0.3
Hardware: All All
: P2 normal
Assignee: Gerd Behrmann
URL:
Depends on:
Blocks:
 
Reported: 2006-11-13 19:52 CET by Gerd Behrmann
Modified: 2006-11-14 23:11 CET (History)
0 users

See Also:
Architecture:


Attachments
Test case (629 bytes, text/xml)
2006-11-13 19:52 CET, Gerd Behrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerd Behrmann 2006-11-13 19:52:27 CET
For a template with a constant reference parameter like 'const int &', the parameter 'j[k]', for k being a non-constant integer variable, causes libutap to segfault.
Comment 1 Gerd Behrmann 2006-11-13 19:52:47 CET
Created attachment 125 [details]
Test case
Comment 2 Gerd Behrmann 2006-11-13 19:57:08 CET
Fixed on the trunk from rev. 2803.
Comment 3 Gerd Behrmann 2006-11-14 23:11:15 CET
Fixed on the 4.0 branch from rev. 2808.