1--TEST-- 2Bug #71475: openssl_seal() uninitialized memory usage 3--SKIPIF-- 4<?php 5if (!extension_loaded("openssl")) die("skip openssl not loaded"); 6?> 7--FILE-- 8<?php 9$_ = str_repeat("A", 512); 10openssl_seal($_, $_, $_, array_fill(0,64,0)); 11?> 12DONE 13--EXPECTF-- 14Warning: openssl_seal(): not a public key (1th member of pubkeys) in %s%ebug71475.php on line %d 15DONE 16