]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: check that password is not null
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 12 Jun 2014 20:50:04 +0000 (22:50 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 12 Jun 2014 22:30:40 +0000 (00:30 +0200)
commitf268f57f6344d3a2ccf447352ff3ed1313c4a199
tree37edf8f2694dcaad7e1e4187ac90357353e36465
parentf8b5d99408e016ecb3d9bcffcee8c65ef6bc26f6
cryptsetup: check that password is not null

Beef up the assert to protect against passing null to strlen.

Found with scan-build.
src/cryptsetup/cryptsetup.c