[Android] Do not decode picture blobs over 500k length

XilasZ xilasz at gmail.com
Fri Oct 19 13:28:04 CEST 2012


> > -            if (blob != null && blob.length > 1) {
> > +            if (blob != null && blob.length > 1 && blob.length <
> 500000) {
>
> You should rather remove the blob. If we're not going to use it at all
> what's the point of keeping it in the database?
>
>
It should not be put in the database in the first place :p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20121019/dbd9fe13/attachment.html>


More information about the Android mailing list