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>
Thu, 1 Oct 2020 13:24:55 +0000 (14:24 +0100)
commit266727a7e51c1fe6a19ccae0e99c8967e1a356b9
treea099fbab638ae28c59bc44e8562fa782184fe1be
parente7fb608e9b9f6e8186b0bd03b7294859d4b690ef
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