data truncated while reading big file from zip

Bug #1821866 reported by Kushal Agrawal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glare
Fix Released
Critical
Kushal Agrawal

Bug Description

While extracting zip and saving it in database, if any of the fize size is biggger than 65535 it is getting truncated during save.

Changed in glare:
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Kushal Agrawal (kushal2605)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glare (master)

Fix proposed to branch: master
Review: https://review.openstack.org/648095

Changed in glare:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glare (master)

Reviewed: https://review.openstack.org/648095
Committed: https://git.openstack.org/cgit/openstack/glare/commit/?id=4f7543a2a07c217b1e252a56ba982e31d3ebedfe
Submitter: Zuul
Branch: master

commit 4f7543a2a07c217b1e252a56ba982e31d3ebedfe
Author: Kushal Agrawal <email address hidden>
Date: Wed Mar 27 17:06:33 2019 +0530

    Added chunked data together in database read

    While extracting zip and saving it in database, if any of the fize size
    is biggger than 65535 it is getting truncated during save.
    It is because of the data which is a LimitingReader object has
    BlobIterator as internal content iterator which has internal
    chunk limit of 65535.

    Change-Id: I3220abcd7cbc38db821478989c4c226a6f3366b5
    closes-bug: #1821866

Changed in glare:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.