|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-24 10:31 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu May 07 11:00:01 2026 UTC |
Description: ------------ fgetcsv($fp, 2147483647) will cause segfault, this behavior is same as fgets ...... Reproduce code: --------------- <?php $fp =fopen("1.txt", "r"); fgetcsv($fp, 2147483647); ?> Actual result: -------------- FATAL: emalloc(): Unable to allocate -2147483648 bytes Segmentation fault