Commit 59b149b
committed
Safely parse retimer version bytes
Don't implicitly panic if there are not enough bytes returned
Signed-off-by: Daniel Schaefer <dhs@frame.work>1 parent df304f2 commit 59b149b
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
| |||
0 commit comments