Commit 49cdc4e
Fix get_dtl to read full 4-byte nanosecond field and clean up fuzz test
get_dtl was reading only byte 8 as a raw integer for microseconds,
but the DTL format stores nanoseconds as a 4-byte big-endian uint32
in bytes 8-11. This fix reads the full field and converts ns to us.
Also removes unnecessary KeyError catch from PDU fuzz test.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 86c59d2 commit 49cdc4e
2 files changed
Lines changed: 29 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
659 | 682 | | |
660 | 683 | | |
661 | 684 | | |
662 | 685 | | |
663 | 686 | | |
664 | 687 | | |
665 | 688 | | |
666 | | - | |
667 | | - | |
| 689 | + | |
| 690 | + | |
668 | 691 | | |
669 | 692 | | |
670 | 693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 305 | + | |
| 306 | + | |
313 | 307 | | |
314 | 308 | | |
315 | 309 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| 310 | + | |
323 | 311 | | |
324 | 312 | | |
325 | 313 | | |
| |||
530 | 518 | | |
531 | 519 | | |
532 | 520 | | |
533 | | - | |
| 521 | + | |
534 | 522 | | |
535 | 523 | | |
536 | 524 | | |
| |||
0 commit comments