Skip to content

Commit 764a846

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 839640a commit 764a846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private int getSize(VariableAccess va) {
7171
// Otherwise, we find the "outermost" object and compute the size
7272
// as the difference between the size of the type of the "outermost
7373
// object" and the offset of the field relative to that type.
74-
// For example, consider an access such as:
74+
// For example, consider the following structs:
7575
// ```
7676
// struct S {
7777
// uint32_t x;

0 commit comments

Comments
 (0)