Menu

#4972 (ok 4.4.11) Incorrect length computed for binary data

4.4.10
fixed
Low
2015-07-06
2015-06-29
No

I have table with LONGBLOB column type. When inserting 8192 bytes of binary data (though phpMyAdmin or with own PHP script - doesn't matter) phpMyAdmin shows that there are one 6.7 KiB of binary data (which is wrong), downloading binary data results in file of size 6855 bytes, which is less than 8192 bytes, obviously.
Inserting binary data with size 34152 bytes results in 33738 bytes.

I've tried to fetch data with simple PHP script directly and got all 8192 bytes without any truncation, so, this is bug in phpMyAdmin itself.

Ubuntu 15.10 x64
MariaDB 10.0.19
phpMyAdmin 4.4.9deb1 (Ubuntu package)
PHP 5.6.4-4ubuntu6 (Ubuntu package)

Sample of binary data attached.

1 Attachments

Discussion

  • Marc Delisle

    Marc Delisle - 2015-06-30
    • assigned_to: Marc Delisle
     
  • Marc Delisle

    Marc Delisle - 2015-06-30
    • summary: Bug when processing binary data --> (ok 4.4.11) Incorrect length computed for binary data
    • status: open --> resolved
    • Priority: Normal --> Low
     
  • Marc Delisle

    Marc Delisle - 2015-07-06
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.