[GRASS-dev] r.report seg faults on page widths < 28 chars

Glynn Clements glynn at gclements.plus.com
Mon Mar 1 11:13:21 EST 2010


Patton, Eric wrote:

> I don't know if this is worth filing a bug report for, so I'll check here first.
> 
> r.report seg faults if the page width parameter is set to values 27
> and less; a page width of 28 seems to invoke an infinite loop.

Sounds like a word-wrapping algorithm which fails if a "word" is wider
than the page.

> I can't think of any use for having page widths that narrow, but
> shouldn't the module trap out of bounds values? I can file this on
> trac if anyone thinks it's worth the trouble.

Please file a report.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list