Skip Menu |

This queue is for tickets about the X11-Protocol CPAN distribution.

Report information
The Basics
Id: 67848
Status: new
Priority: 0/
Queue: X11-Protocol

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: RenderQueryFilters() one too many num_filt
Date: Sat, 30 Apr 2011 06:56:47 +1000
To: bug-X11-Protocol [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
In X11::Protocol::Ext::RENDER I think RenderQueryFilters() tries to unpack num_filt+1 many filter name strings, where it should be num_filt,
--- RENDER.pm.orig 2004-04-04 09:16:29.000000000 +1000 +++ RENDER.pm 2011-04-29 15:55:35.000000000 +1000 @@ -478,7 +478,7 @@ push @aliases, $alias; } $index += padding($index); - for (0 .. $num_filt) { + for (1 .. $num_filt) { my $len = unpack("C", substr($data, $index, 1)); $index++; my $str = substr($data, $index, $len);