|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #287 Typo - bad use of variable (possible buffer overflow?)
Submitted: 1998-04-19 18:14 UTC Modified: 1998-04-19 18:21 UTC
From: miri at punknet dot cz Assigned: rasmus (profile)
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 4 OS: Linux
Private report: No CVE-ID: None
 [1998-04-19 18:14 UTC] miri at punknet dot cz
Probably typo at functions/head.c:491

-char *tempstr2=emalloc(strlen(str)+14);
+char *tempstr2=emalloc(strlen(tempstr)+14);
 sprintf(tempstr2,"Set-Cookie: %s\015\012",tempstr);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-19 18:21 UTC] rasmus
 [2014-09-26 16:17 UTC]
Automatic comment from SVN on behalf of datibbaw
Log: Added documentation for PR #287:

- add ability to use array keys with array_filter()
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Mar 30 14:03:40 2023 UTC