Files
scylladb/auth
Avi Kivity 873e0f0e14 auth: password_authenticator: protect against NULL salted_hash
In case salted_hash was NULL, we'd access uninitialized memory when dereferencing
the optional in get_as<>().

Protect against that by using get_opt() and failing authentication if we see a NULL.

Fixes #4168.

Tests: unit (release)
Branches: 3.0, 2.3
Message-Id: <20190211173820.8053-1-avi@scylladb.com>
(cherry picked from commit da9628c6dc)
2019-02-11 23:55:53 +02:00
..
2018-02-14 14:15:58 -05:00
2018-02-14 14:15:58 -05:00
2018-02-14 14:15:58 -05:00
2018-02-14 14:15:58 -05:00
2018-02-14 14:15:58 -05:00
2018-03-14 01:32:43 -04:00