From 980c4cf5f4ce55bd7063a750c0655e509dfb9ba5 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Mon, 26 Jan 2026 19:12:38 +0000 Subject: [PATCH] Update cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll Co-authored-by: Copilot <175728472+Copilot@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 405eb44c7a9..0ea41672b5f 100644 --- a/cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll +++ b/cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll @@ -98,7 +98,7 @@ private int getSize(VariableAccess va) { // }; // ``` // Given an object `S2 s2` the size of the buffer `&s2.s.y` - // is the size of the base object type (i.e., `S2`) minutes the offset + // is the size of the base object type (i.e., `S2`) minus the offset // of `y` relative to the type `S2` (i.e., `4`). So the size of the // buffer is `12 - 4 = 8`. c = getRootType(va) and