1--TEST--
2Bug #69522 (heap buffer overflow in unpack())
3--FILE--
4<?php
5$a = pack("AAAAAAAAAAAA", 1,2,3,4,5,6,7,8,9,10,11,12);
6$b = unpack('h2147483648', $a);
7?>
8===DONE===
9--EXPECTF--
10Warning: unpack(): Type h: integer overflow in %s on line %d
11===DONE===
12