Message234598
Raising dbm.dumb.error is behavior change. It would be safer not apply this part in maintained releases.
If add sanity checks in 3.5, note that following line "key = key.encode('Latin-1')" can raise an exception too (AttributeError or UnicodeEncodeError). And incorrect data can cause an error later in __getitem__ if pos_and_siz_pair is not a pair of two integers.
I think it is worth to split this issue on two issues and fix only security issue here. |
|
Date |
User |
Action |
Args |
2015-01-24 09:15:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, gvanrossum, vstinner, r.david.murray, Claudiu.Popa, Guido.van.Rossum, stephen.farris |
2015-01-24 09:15:16 | serhiy.storchaka | set | messageid: <1422090916.86.0.0209477352925.issue22885@psf.upfronthosting.co.za> |
2015-01-24 09:15:16 | serhiy.storchaka | link | issue22885 messages |
2015-01-24 09:15:16 | serhiy.storchaka | create | |
|