aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-19 20:50:36 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-02 10:10:21 +0200
commitd34adb2f9f0190398bf124e3c44384dd72094676 (patch)
treefc015954e3ff8df08e34754f1f009d7f5873b14d /debian
parent8ae35c160692b18ac701edea43cfac675ca18bec (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 'debian')
0 files changed, 0 insertions, 0 deletions