Opened 16 years ago
Closed 16 years ago
#4741 closed defect (invalid)
Make sure all values w/in link struct are zeroed
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | trivial | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
When using the link_t the dvdnav vm code does not zero out all of the members of the struct. This isn't a problem per se. But it means that the struct could float around with unknown values in some of the members. It is good practice to zero it out after declaration.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | initialize-link-values-in-dvdnav-vm.patch added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from Isaac Richards to Anduin Withers |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
If you follow link_t link_values to vmEval_CMD() it will be initialized there or in eval_command(). Feel free to reopen if I’m missing something.
Note: See
TracTickets for help on using
tickets.
Init link_t w/ zeros