[Issue 3925] Missed escaping reference of a local variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 29 15:37:15 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3925



--- Comment #7 from bearophile_hugs at eml.cc 2011-06-29 15:32:18 PDT ---
Two more cases of undetected escaping of reference:


int* ptr;
void foo1() {
    int local;
    ptr = &local;
}
void foo2(int** x) {
    int i;
    *x = &i;
}
void main() {}


See also bug 5541 and bug 1313

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list