fnmatch, glob: fix exponential CPU use with repeated '*' operators
|Assignee:||Yuri Pankov||% Done:|
|Category:||lib - userland libraries|
OpenBSD, where our "new" glob(3C) code comes from, has a fix for the issues described in https://research.swtch.com/glob, pull it along with several other useful changes they did since we borrowed the code.
FreeBSD has the fix for the same issue for fnmatch(3C).
#2 Updated by Electric Monk 4 months ago
- % Done changed from 10 to 100
- Status changed from In Progress to Closed
commit 79d022da827bda94f470706ea9a9a8d6dbab9d07 Author: Yuri Pankov <firstname.lastname@example.org> Date: 2017-08-14T17:44:45.000Z 8568 fnmatch, glob: fix exponential CPU use with repeated '*' operators Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Andrew Stormont <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>
Also available in: Atom