Ticket #223 (closed defect: fixed)
Local Variable old_f not var scoped
| Reported by: | tobylaroni | Owned by: | sean@… |
|---|---|---|---|
| Type: | defect | Priority: | normal |
| Milestone: | Component: | Miscellaneous | |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
Couldn't find this as an existing ticket, so wasn't sure if it was on the radar or not.
In fuseboxDoFuseaction.cfc, in the compile method, the old_f variable isn't var scoped at the top of the method.
You have a var scoped old_p, which isn't used in the remainder of the method -- is this supposed to be old_f instead.
Not sure whether this is at all important, but it could, theoretically, lead to memory leaks, race conditions.
By the way, I didn't stumble upon this through intelligence, sheer force, or even luck. I used Mike Schierberl's varscoper tool.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
