[MacPorts] #60363: jq segfaults on regex because of old oniguruma version

MacPorts noreply at macports.org
Thu Apr 16 23:07:37 UTC 2020


#60363: jq segfaults on regex because of old oniguruma version
--------------------+--------------------
 Reporter:  bgdnlp  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.2
 Keywords:          |       Port:  jq
--------------------+--------------------
 When matching a REGEX in jq it crashes with a segfault if expressions like
 ".*" are used on long strings. That's because of a bug in the Oniguruma
 library it uses, which was fixed.

 Here's the jq Github issue: https://github.com/stedolan/jq/issues/1370

 Here's the corresponding Oniguruma pull request that fixes the problem:
 https://github.com/kkos/oniguruma/pull/51

 jq version 1.6 downloaded from the jq website works with no issues.

-- 
Ticket URL: <https://trac.macports.org/ticket/60363>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list