Bug #77450 [NEW]: Segmentation fault 11 with multipart/form-data POST request without formData
| From: | sinewavz at gmail dot com | Date: | Sat, 12 Jan 2019 14:32:41 +0000 |
| Subject: | Bug #77450 [NEW]: Segmentation fault 11 with multipart/form-data POST request without formData | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-218916@lists.php.net to get a copy of this message | ||
From: sinewavz at gmail dot com
Operating system: OSX 10.14.2
PHP version: Irrelevant
Package: *Data Exchange functions
Bug Type: Bug
Bug description:Segmentation fault 11 with multipart/form-data POST request without formData
Description:
------------
tested on php 7.28 and 7.2.9
error:
[ERROR] The process has been signaled with signal "11".
PHP crashes when sending post request with 'Content-Type':
'multipart/form-data' headers while attaching a plain javascript object
instead of a regular formData object
Environment
MAMPP PHP 7.28 and 7.2.9
Symfony 3.4
Vue.JS
Test script:
---------------
JAVASCRIPT CODE :
const formData = { subscription: this.form}
$http.post(config.api_url + config.subscription_path + '/create',
subscriptionData, {
headers: {
'Content-Type': 'multipart/form-data'
}
})
--
Edit bug report at https://bugs.php.net/bug.php?id=77450&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77450&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77450&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77450&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77450&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77450&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77450&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77450&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77450&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77450&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77450&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77450&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77450&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77450&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77450&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77450&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77450&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77450&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77450&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77450&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77450&r=mysqlcfg