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

2014-07-18 Thread Dimitris Zervas
On July 18, 2014 7:59:26 PM EEST, Hiltjo Posthuma wrote: >On Fri, Jul 18, 2014 at 4:33 PM, Dimitris Zervas >wrote: >> On July 18, 2014 2:00:41 PM EEST, Hiltjo Posthuma > wrote: >> >> We (rafael & me) have no access to the sl repo, so we'll apply the >patch at bitbucket: http://bitbucket.org/rafa

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

2014-07-18 Thread Hiltjo Posthuma
On Fri, Jul 18, 2014 at 4:33 PM, Dimitris Zervas wrote: > On July 18, 2014 2:00:41 PM EEST, Hiltjo Posthuma > wrote: > > We (rafael & me) have no access to the sl repo, so we'll apply the patch at > bitbucket: http://bitbucket.org/rafaelgg/sandy Ah cool stuff. Any chance of the development con

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

2014-07-18 Thread Dimitris Zervas
On July 18, 2014 2:00:41 PM EEST, Hiltjo Posthuma wrote: >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 cr

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

2014-07-18 Thread Hiltjo Posthuma
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 comm