Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Mar 2017 14:33:02 +0100
From: Julien Ramseier <>
Subject: [PATCH] regex: fix newline matching with negated brackets

"A <newline> in string shall not be matched by a period outside
 a bracket expression or by any form of a non-matching list"

musl currently matches newlines with negated brackets, even if
REG_NEWLINE is used. Attached patch fixes the issue, although
I'm not sure if it's the best way to do it.

Also see similar glibc bug:

Download attachment "regcomp-newline-neg-bracket.patch" of type "application/octet-stream" (775 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.