[ZODB-Dev] Some interesting (to some:) numbers

Lennart Regebro regebro at gmail.com
Tue May 11 08:53:51 EDT 2010


On Tue, May 11, 2010 at 14:47, Adam GROSZER <agroszer at gmail.com> wrote:
> Probably that crappy data would make the unpickler fail... or wait a
> second... the unpickler is a **SECURITY HOLE** in python, isn't it?
> That means feed it some random data... and stay tuned for the
> unexpected.

That a bitflip would generate random data that actually did anything
at all is a bit like if you shake a puzzle box and out comes a
dinosaur and bites your leg. :-)

> The thing is that a single bitflip could cause a LOT of crap.

Mostly likely it would generate an unpickling error. But yeah, in
theory at least you are right. I have no idea what the performance
penalty would be, but a checksum would feel good. :)

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64


More information about the ZODB-Dev mailing list