Don't crash reversing empty Vectors
commit17a8693f65ce2620edf03d45c86a0f590ec8b917
authorMark Williams <mwilliams@fb.com>
Tue, 30 Apr 2013 16:36:05 +0000 (30 09:36 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 1 May 2013 21:47:14 +0000 (1 14:47 -0700)
tree9b39149f7a0ccdc6637f7adb0d6b67c057b9d56b
parent2aa8ed4814bd62224ba5c37e52a300e71bb535e7
Don't crash reversing empty Vectors

In a new, empty vector start and end are null.
hphp/runtime/ext/ext_collections.cpp
hphp/test/slow/collection_classes/empty_vector.php [new file with mode: 0644]
hphp/test/slow/collection_classes/empty_vector.php.expect [new file with mode: 0644]