Actions
Bug #2022
closedlibnisdb mis-compares strings
Start date:
2012-01-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
libnisdb uses == to compare strings with string constants. It's in theory possible that this does, or has, worked, since if they are equal they will be so by being literally assigned from the constant and, depending on compiler, this might be enough. It's not guaranteed to be though, it should be using strcmp()
Updated by Rich Lowe almost 12 years ago
- Status changed from New to Resolved
- % Done changed from 60 to 100
- Tags deleted (
needs-triage)
Resolved in r13582 commit:64b0427edfc3
Actions