8568 fnmatch, glob: fix exponential CPU use with repeated '*' operators
commit79d022da827bda94f470706ea9a9a8d6dbab9d07
authorYuri Pankov <yuri.pankov@nexenta.com>
Tue, 8 Aug 2017 07:57:15 +0000 (8 10:57 +0300)
committerRobert Mustacchi <rm@joyent.com>
Mon, 14 Aug 2017 17:44:45 +0000 (14 17:44 +0000)
treebef9ebc2c456b47136bf3db0030f986b5c5b04c4
parent02e2c3ed584d6e282e2f2f9ed1659ef2ba09b924
8568 fnmatch, glob: fix exponential CPU use with repeated '*' operators
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@joyent.com>
usr/src/lib/libc/port/locale/fnmatch.c
usr/src/lib/libc/port/regex/glob.c