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 2 months ago
- % Done changed from 10 to 100
- Status changed from In Progress to Closed
commit 79d022da827bda94f470706ea9a9a8d6dbab9d07 Author: Yuri Pankov <email@example.com> Date: 2017-08-14T17:44:45.000Z 8568 fnmatch, glob: fix exponential CPU use with repeated '*' operators Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Andrew Stormont <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>
Also available in: Atom