|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: miri at punknet dot cz
New email:
PHP Version: OS:


 [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 23 21:03:37 2023 UTC