From 764a84601fd90f42c0f1d44ae3e2b3e82d795aa3 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Thu, 30 Jan 2025 16:09:44 +0000 Subject: [PATCH] Update cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com> --- cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll b/cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll index 5cc15c26392..df2d04a97d7 100644 --- a/cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll +++ b/cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll @@ -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;