diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-19 20:50:36 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-02 10:10:21 +0200 |
commit | d34adb2f9f0190398bf124e3c44384dd72094676 (patch) | |
tree | fc015954e3ff8df08e34754f1f009d7f5873b14d /openbsc/src/libcommon | |
parent | 8ae35c160692b18ac701edea43cfac675ca18bec (diff) |
nat: Fix authentication by-pass using shorter tokens
The token was compared with the configured one but only up to a
user supplied length. Compare the token sizes and then use memcmp
for the actual comparison to make sure to compare the right ammount
of characters.
There is no unit-test but there should be one.
Diffstat (limited to 'openbsc/src/libcommon')
0 files changed, 0 insertions, 0 deletions