Skip to content
Snippets Groups Projects
Commit 137748e4 authored by Luca Bruno's avatar Luca Bruno Committed by Quanah Gibson-Mount
Browse files

ITS#8198 Fix an always-true check


Fixed asprintf return value check, in order to properly catch
error conditions. This has been caught by clang -Wtautological-compare:

pw-pbkdf2.c:132:17: warning: comparison of unsigned expression < 0 is always false
        if(msg->bv_len < 0){
           ~~~~~~~~~~~ ^ ~

Signed-off-by: default avatarLuca Bruno <luca.bruno@rocket-internet.de>
parent b567d098
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment