]> granicus.if.org Git - php/commitdiff
sodium ext: restore sodium_remove_param_values_from_backtrace() call
authorFrank Denis <github@pureftpd.org>
Thu, 24 Aug 2017 09:01:08 +0000 (11:01 +0200)
committerFrank Denis <github@pureftpd.org>
Thu, 24 Aug 2017 09:01:08 +0000 (11:01 +0200)
ext/sodium/libsodium.c

index 6b230e0589627e5160952d76e5e82c8df506e149..b1128d9c29072b46c8e0d49cfad25ac5d46761f0 100644 (file)
@@ -3066,6 +3066,7 @@ PHP_FUNCTION(sodium_crypto_kdf_derive_from_key)
                                                          &subkey_id,
                                                          &ctx, &ctx_len,
                                                          &key, &key_len) == FAILURE) {
+               sodium_remove_param_values_from_backtrace(EG(exception));
                return;
        }
        if (subkey_len < crypto_kdf_BYTES_MIN) {