|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8306 incorrect error-detection for shmat();
Submitted: 2000-12-17 22:15 UTC Modified: 2000-12-18 07:23 UTC
From: Robert dot Siemer at gmx dot de Assigned:
Status: Closed Package: Semaphore related
PHP Version: 4.0.3pl1 OS: Linux 2.4.0-test9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: Robert dot Siemer at gmx dot de
New email:
PHP Version: OS:


 [2000-12-17 22:15 UTC] Robert dot Siemer at gmx dot de
is one call to shmat(). The return value is compared against NULL instead of -1 to detect an error.
At least Linux returns (int) -1 on errors.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-18 07:23 UTC]
fixed in CVS
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 08:03:33 2022 UTC