Bug #77450 [Fbk->NoF]: Segmentation fault 11 with multipart/form-data POST request without formData

From: Date: Sun, 18 Jul 2021 04:22:24 +0000
Subject: Bug #77450 [Fbk->NoF]: Segmentation fault 11 with multipart/form-data POST request without formData
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235114@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77450&edit=1 ID: 77450 Updated by: php-bugs@lists.php.net Reported by: sinewavz at gmail dot com Summary: Segmentation fault 11 with multipart/form-data POST request without formData -Status: Feedback +Status: No Feedback Type: Bug Package: *Web Server problem Operating System: OSX 10.14.2 PHP Version: Irrelevant Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-07-06 14:37:08] cmb@php.net If this is still an issue with any of the actively supported PHP versions[1], please provide the raw HTTP payload (not only the headers). [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2019-01-14 15:29:55] sinewavz at gmail dot com equest headers (534 B) Accept application/json, text/plain, */* Accept-Encoding gzip, deflate Accept-Language en-US,en;q=0.5 Authorization Bearer MWFmNDkxNWVlMDcwYTlhOWU…DlkOWRiZGMxODJkZjhi3MTY4NQ Connection keep-alive Content-Length 13 Content-Type multipart/form-data Host localhost:8000 Origin http://localhost:8080 Referer http://localhost:8080/admin/create-job User-Agent Mozilla/5.0 (Macintosh; Intel …) Gecko/20100101 Firefox/65.0 ------------------------------------------------------------------------ [2019-01-14 09:27:59] nikic@php.net Can you please provide the raw HTTP payload that is being sent? ------------------------------------------------------------------------ [2019-01-12 14:34:28] sinewavz at gmail dot com formData = subscriptionData, forgot to rename it ------------------------------------------------------------------------ [2019-01-12 14:32:41] sinewavz at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=77450&edit=1

« previous php.bugs (#235114) next »