Hm, just a note. I don't think that the python version of the function
should even have the "length" parameter, unfortunately, it might be hard
to remove it at this point (it could instead be just ignored, and made
optional).
The bindings should just call len(data) themselves, instead of leaving
it to the binding user. This is a) less work for the user of the library
and b) fixes potential problems where the passed in length is wrong
(which could potentially cause crashes inside Poppler, I expect).

-- 
document_new_from_data() arg1 must be without null bytes
https://bugs.launchpad.net/bugs/312462
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to