]> granicus.if.org Git - php/commit
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)
authorJelle van der Waa <jelle@vdwaa.nl>
Mon, 9 Oct 2017 18:35:53 +0000 (20:35 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 15 Oct 2017 11:57:44 +0000 (13:57 +0200)
commit5acb8381b22f4acf629d8fc89b4e0872f1a0825c
tree79d07cc0d5cd5d205f114dd93bb241d5309ceed1
parentfb0902143291c8b605997a6b2a8f8717289a44d1
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)

enchant_broker_get_dict_path segfaults when the dict path is not setup,
instead of segfaulting return false instead.
NEWS
ext/enchant/enchant.c
ext/enchant/tests/bug53070.phpt [new file with mode: 0644]