Opened 16 years ago
Closed 16 years ago
#193 closed defect (fixed)
Bug in skipSection() of lgf_reader.h
Reported by: | Akos Ladanyi | Owned by: | Balazs Dezso |
---|---|---|---|
Priority: | critical | Milestone: | LEMON 1.1 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: | 62c1ed05e83f |
Description
void skipSection() { char c; while (readSuccess() && line >> c && c != '@') { readLine(); } line.putback(c); }
Here line.putback() puts back an uninitialized variable in case readSuccess() returns false.
Attachments (1)
Change History (4)
comment:1 Changed 16 years ago by
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to deba:
The patch is uploaded.
I re-parented the patch to the right place (see [33e9699c7d3a]) and merged to both branches.
Note: See
TracTickets for help on using
tickets.
This bug seems to affect the lemon 1.0.1 version, too. So the bugfix should go on the top of e.g [62f9787c516c].