1--TEST-- 2Memory leak on sodium_crypto_sign_ed25519_pk_to_curve25519() failure 3--EXTENSIONS-- 4sodium 5--FILE-- 6<?php 7 8try { 9 sodium_crypto_sign_ed25519_pk_to_curve25519(str_repeat("\x00", SODIUM_CRYPTO_SIGN_PUBLICKEYBYTES)); 10} catch (SodiumException $e) { 11 echo $e->getMessage(); 12} 13 14?> 15--EXPECT-- 16conversion failed 17