summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2013-08-28 20:33:42 -0700
committerAdam Harvey <aharvey@php.net>2013-08-28 20:33:42 -0700
commit72027cd0848f1a5c580c601573448cdea9b095ca (patch)
tree03a5c6d9bf2a3cfe3b63dd94e49f86fdbd2ad7ad /sapi/cli/php_cli_server.c
parent3745bdadc03a146fd37a3528658abc86bc8494df (diff)
downloadphp-git-72027cd0848f1a5c580c601573448cdea9b095ca.tar.gz
Fix bug #65579 (Using traits with get_class_methods causes segfault).
Specifically, this checks if there are trait aliases defined in the class scope before attempting to dereference the first trait alias. This handles the case where a trait alias was used in a child trait but no aliases exist in the concrete class.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions