Opened 16 years ago

Closed 16 years ago

#4741 closed defect (invalid)

Make sure all values w/in link struct are zeroed

Reported by: Erik Hovland <erik@…> 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)

initialize-link-values-in-dvdnav-vm.patch (884 bytes) - added by Erik Hovland <erik@…> 16 years ago.
Init link_t w/ zeros

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by Erik Hovland <erik@…>

Init link_t w/ zeros

comment:1 Changed 16 years ago by Anduin Withers

Owner: changed from Isaac Richards to Anduin Withers
Status: newassigned

comment:2 Changed 16 years ago by Anduin Withers

Resolution: invalid
Status: assignedclosed

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.