Skip to content

Commit

Permalink
CVE-2022-26691: An incorrect comparison in local admin authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
salgernon committed May 25, 2022
1 parent 696f74a commit 0bc9dc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scheduler/cert.c
Expand Up @@ -434,5 +434,9 @@ ctcompare(const char *a, /* I - First string */
b ++;
}

// either both *a and *b == '\0', or one points inside a string,
// so factor that in.
result |= (*a ^ *b);

return (result);
}

0 comments on commit 0bc9dc4

Please sign in to comment.