Subject: bug#20998: Out of bounds global read in shred / genpattern()

From: Paul Eggert <[email-masked]>
Date: Mon, 06 Jul 2015 19:30:33 -0700

Pádraig Brady wrote:
> Nice one!

Yes, very nice.

> It looks like the restriction to the k patterns available
> was lost with v5.92-1462-g65533e1 and that this should
> fix it up.

And thanks for the fix; it looks good to me too.