Project

General

Profile

Actions

Bug #8568

closed

fnmatch, glob: fix exponential CPU use with repeated '*' operators

Added by Yuri Pankov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-08-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

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).

Actions

Also available in: Atom PDF