Message73294
I've written a new patch, which works a bit better. You can find the new
patch attached.
I've restructed the patch to prevent code duplication. Also, it now
works with other chunks than bext (I had a file with a list chunk which
triggered my interest in this bug). This is done with a hardcoded list
of valid chunks. However, it seems that there is no complete list of
valid chunk types, so it might be better to remove the chunk type check
alltogether.
Also, this patch explicitly checks for overflow, since taking a slice of
a sequence does not seem to trigger an IndexError, but just return an
empty sequence. |
|
Date |
User |
Action |
Args |
2008-09-16 11:39:04 | matthijs | set | recipients:
+ matthijs, georg.brandl, klankschap |
2008-09-16 11:39:03 | matthijs | set | messageid: <1221565143.96.0.798153397652.issue1611944@psf.upfronthosting.co.za> |
2008-09-16 11:38:47 | matthijs | link | issue1611944 messages |
2008-09-16 11:38:47 | matthijs | create | |
|