Commit 54c40e0
James Dong
Fixed a buffer overflow issue
The allocated array has one byte less than the required length. Allocating the size one byte larger fixes the issue.
contribution was originally from teng.hong@nxp.com
Change-Id: I3aa2e6b995fd18e30649a34f201646082aab44ee
related-to-bug: 63474651 parent 817a243 commit 54c40e0
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2623 | 2623 | | |
2624 | 2624 | | |
2625 | 2625 | | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
2626 | 2630 | | |
2627 | | - | |
2628 | | - | |
| 2631 | + | |
| 2632 | + | |
2629 | 2633 | | |
2630 | 2634 | | |
2631 | 2635 | | |
2632 | 2636 | | |
2633 | | - | |
| 2637 | + | |
2634 | 2638 | | |
2635 | 2639 | | |
| 2640 | + | |
2636 | 2641 | | |
2637 | 2642 | | |
2638 | 2643 | | |
| |||
0 commit comments