Opened 14 years ago
Closed 14 years ago
#7150 closed defect (fixed)
memset might continue past end of struct
Reported by: | Owned by: | Janne Grunau | |
---|---|---|---|
Priority: | trivial | Milestone: | 0.22 |
Component: | MythTV - General | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
The number of bytes that memset might zero out is based on a different struct then the one being zeroed. So the patch switches to the struct that is being zeroed for the sizeof() call.
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | libs_libmythtv-suppress-overruns added |
---|
comment:1 Changed 14 years ago by
Milestone: | unknown → 0.22 |
---|---|
Owner: | changed from Isaac Richards to Janne Grunau |
Status: | new → accepted |
Note: See
TracTickets for help on using
tickets.
Use tmphead for sizeof() in memset