]> granicus.if.org Git - php/commitdiff
- add skipif
authorPierre Joye <pajoye@php.net>
Mon, 5 Sep 2011 19:59:42 +0000 (19:59 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 5 Sep 2011 19:59:42 +0000 (19:59 +0000)
ext/xmlrpc/tests/bug51288.phpt

index d9bdef822ef0ba188e47c0b5487b876de68efed0..ba341369bc8a7281f6039c6e4a53e61dfe3b0ece 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #51288 (CVE-2010-0397, NULL pointer deref when no <methodName> in request)
+--SKIPIF--
+<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
 --FILE--
 <?php
 $method = NULL;