Opened 18 years ago
Closed 18 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)
by , 18 years ago
| Attachment: | initialize-link-values-in-dvdnav-vm.patch added |
|---|
comment:1 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 18 years ago
| 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