Commit a849925
authored
Add null check for ApiKeyPair in getUserByApiKey
The function getUserByApiKey was not checking for null pointers. I think this is safe from the perspective of security, but this is a smell. And it can be easily addressed with the same solution used in line 3160.1 parent b6b5bfd commit a849925
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3828 | 3828 | | |
3829 | 3829 | | |
3830 | 3830 | | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
3831 | 3834 | | |
3832 | 3835 | | |
3833 | 3836 | | |
| |||
0 commit comments