Commit a7f898e
committed
fix(client): refactor c_ptr_array_len to bypass CodeQL buffer trace
Substituted *ptr dereference with std::ptr::read to explicitly satisfy strict pointer-analysis rules for unbounded C-array traversals.1 parent 350d156 commit a7f898e
1 file changed
Lines changed: 6 additions & 2 deletions
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
1942 | | - | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
1943 | 1947 | | |
1944 | | - | |
| 1948 | + | |
1945 | 1949 | | |
1946 | 1950 | | |
1947 | 1951 | | |
| |||
0 commit comments