[Poppler-bugs] [Bug 78831] [Patch] Faster AES decryption

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 21 02:38:35 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78831

--- Comment #4 from Fabio D'Urso <fabiodurso at hotmail.it> ---
Hi, I'm not sure that initializing the arrays through that MulTableInit class
is a good idea.

Relying on a global/static variable ctor is usually discouraged, because it's
hard to predict the order those variables are initialized. In order words, what
happens if you open an encrypted document from another global/static variable's
ctor? Has the decryption table been initialized already or not?

http://www.parashift.com/c++-faq/static-init-order-on-first-use.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140521/81a12e64/attachment-0001.html>


More information about the Poppler-bugs mailing list