Update cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2025-01-30 16:09:44 +00:00
committed by GitHub
parent 839640a82f
commit 764a84601f

View File

@@ -71,7 +71,7 @@ private int getSize(VariableAccess va) {
// Otherwise, we find the "outermost" object and compute the size
// as the difference between the size of the type of the "outermost
// object" and the offset of the field relative to that type.
// For example, consider an access such as:
// For example, consider the following structs:
// ```
// struct S {
// uint32_t x;