DotGNU Portable.NET - Bugs: bug #15345, strings created in a while loop...
You are not allowed to post comments on this tracker with your current authentication level.
bug #15345: strings created in a while loop are not made null each iteration
Submitter: | Andrew Yates <andrewy> | ||
Submitted: | Sat 31 Dec 2005 11:27:22 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Fri 25 May 2007 12:50:30 PM UTC, comment #2: |
Klaus Treichel <ktreichel> |
Sat 31 Dec 2005 11:29:31 PM UTC, comment #1: I'm attaching the test code as the formatting was removed and this makes it more difficult to understand. |
Andrew Yates <andrewy> |
Sat 31 Dec 2005 11:27:22 PM UTC, original submission:
Strings (and probably every other type) created in a while loop are not made null each iteration. Instead, their value is preserved across iterations.
|
Andrew Yates <andrewy> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-05-25 | ktreichel | Status | None | Invalid | |
Open/Closed | Open | Closed | |||
2005-12-31 | andrewy | Attached File | - | Added test.cs, #3234 |
Powered by Savane 3.13-4b48.
Corresponding source code
This is a problem that cscc doesn't check is the value is initialized before it's used. The behavior is is totally correct because you'll have to initialize test yourself.