Bug 218605 - japanese/xdtp: Improve regex conformance
Summary: japanese/xdtp: Improve regex conformance
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks: 218495
  Show dependency treegraph
 
Reported: 2017-04-12 16:58 UTC by Kyle Evans
Modified: 2017-04-26 13:03 UTC (History)
1 user (show)

See Also:


Attachments
svn(1) diff of japanese/xdtp (579 bytes, patch)
2017-04-12 16:58 UTC, Kyle Evans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer freebsd_triage 2017-04-12 16:58:22 UTC
Created attachment 181732 [details]
svn(1) diff of japanese/xdtp

In EREs, left-brace is not to be interpreted as an ordinary character unless escaped. Using left-brace not as a part of a valid interval expression produces undefined results [1].

There is a patch-in-progress to fix our implementation to throw an error if left-brace is not used in a valid manner, it would be good to go ahead and address this before-hand. =)

[1] http://pubs.opengroup.org/onlinepubs/009696899/basedefs/xbd_chap09.html#tag_09_04_03
Comment 1 Larry Rosenman freebsd_committer freebsd_triage 2017-04-26 01:35:54 UTC
Take.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-04-26 13:02:35 UTC
A commit references this bug:

Author: ler
Date: Wed Apr 26 13:01:48 UTC 2017
New revision: 439448
URL: https://svnweb.freebsd.org/changeset/ports/439448

Log:
  japanese/xdtp: Improve regex conformance

  PR:		218605
  Submitted by:	Kyle Evans <bsdports@kyle-evans.net>
  Approved by:	adamw (mentor)
  Differential Revision:	https://reviews.freebsd.org/D10505

Changes:
  head/japanese/xdtp/Makefile
Comment 3 Larry Rosenman freebsd_committer freebsd_triage 2017-04-26 13:03:00 UTC
Committed, Thanks!