[dev] [sandy][patch] f_syntax: set regexec nmatch to 0

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 18 Jul 2014 11:00:41 +0000

Attached is a patch that fixes a crash with musl.

Commit message:

"f_syntax: set regexec nmatch to 0.

this is correct according to POSIX with REG_NOSUB, but it doesn't make
much sense to set to > 0 when pmatch is NULL and will crash on musl"

I reported this to the musl project and a fix is commited:

Kind regards,

Received on Fri Jul 18 2014 - 13:00:41 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 18 2014 - 13:12:07 CEST