View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001245 | Ecere SDK | extras | public | 2022-01-10 11:54 | 2022-01-10 13:15 |
Reporter | mingodad | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | -crossplatform | OS | - | OS Version | - |
Summary | 0001245: Invalid use of stack variable in samples/net/browse | ||||
Description | In the sample "samples/net/browse/browser.ec" there is an invalid usage of a stack variable: ===== bool PageOpened() { char caption[MAX_LOCATION]; strcpy(caption, "Ecere Web Browser - "); strcat(caption, htmlView.title); text = caption; ////<<<<<<<<<<<<!!!!! caption is out of scope/invalid when the function return addressBar.address.Clear(); addressBar.address.PutS(htmlView.fileName); return true; } ===== | ||||
Tags | No tags attached. | ||||