Commit e4c7db8
committed
fix(sbi/processor): bounds-check decodeEapAkaPrime before slice/index access
Closes free5gc/free5gc#1030. Short eapPayload bytes panicked the AUSF /eap-session callback.
Signed-off-by: SAY-5 <say.apm35@gmail.com>1 parent cf2aba6 commit e4c7db8
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
727 | 730 | | |
728 | 731 | | |
729 | 732 | | |
730 | 733 | | |
731 | 734 | | |
732 | 735 | | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
| |||
0 commit comments