Okay, turns out this one is fairly easy to reproduce, using:

- Ubuntu 16.04
- MariaDB Server (not tested on mysql, but I expect similar results)
- php 7.0 (7.0.15)
- phpMyAdmin


Configuration:
MariaDB: max_allowed_packet      = 128M
php: post_max_size and upload_max_filesize raised to 128M

Import the some SQL data, for instance: https://we.tl/vb37KISpUU. 
This will build you a MyISAM table with 4 columns, 3x varchar(1) and 1 
longblob. The table will have one big blob in it, with 32Mbyte worth of 0x20 
(space)

Downloading the binary through phpMyAdmin on 7.0.15 will produce a file
with a null-character inserted at (for my setup) 0xFFFFF6, the rest of
the file is as expected.

I'll try to get the testbuild working next...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668017

Title:
  Large mysql requests broken after security update, null character
  inserted close to 16MB boundary

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1668017/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to