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()
Actions