Skip to content

Commit

Permalink
Update cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll
Browse files Browse the repository at this point in the history
Co-authored-by: Jeroen Ketema <[email protected]>
  • Loading branch information
MathiasVP and jketema authored Jan 30, 2025
1 parent 9fa3ff7 commit 839640a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ predicate memberMayBeVarSize(Class c, MemberVariable v) {
* `this` expression.
*/
private Class getRootType(FieldAccess fa) {
// If the object is accessed inside a ember function then the root will
// If the object is accessed inside a member function then the root will
// be a(n implicit) `this`. And the root type will be the type of `this`.
exists(VariableAccess root |
root = fa.getQualifier*() and
Expand Down

0 comments on commit 839640a

Please sign in to comment.