Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: out of bounds memory access in setValue function (opentibiabr#785)
This fix addresses a SonarCloud warning regarding an out-of-bounds memory access in the setValue function. Specifically, it checks that the row and col values passed to the function are within the bounds of the data_ array before performing the assignment. This ensures that the program will not attempt to access memory that is outside the allocated memory block, preventing potential crashes or other errors.
- Loading branch information