Fix for wrong fnmatch patttern
authorNobuyoshi Nakada <nobu@ruby-lang.org>
Wed, 12 Dec 2018 05:38:09 +0000 (14:38 +0900)
committerUtkarsh Gupta <utkarsh@debian.org>
Sun, 19 Sep 2021 03:40:46 +0000 (04:40 +0100)
commiteeafab2fc2593bbed063cd33f6e45b1bd070062b
treefb06ef9a763fdfa93c4649f7f1b5003a87e9930e
parentcb40c0469ffc89b7ead9309303a8117ac53e985b
Fix for wrong fnmatch patttern

Origin: https://github.com/ruby/ruby/commit/a0a2640b398cffd351f87d3f6243103add66575b
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2019-15845

* dir.c (file_s_fnmatch): ensure that pattern does not contain a
  NUL character.  https://hackerone.com/reports/449617

Gbp-Pq: Name Fix-for-wrong-fnmatch-patttern.patch
dir.c
test/ruby/test_fnmatch.rb