Edit report at http://bugs.php.net/bug.php?id=3952&edit=1

 ID:               3952
 Comment by:       
 Reported by:      baumert at pilot-webdesign dot de
 Summary:          shm_attach crashes httpd-process, if shmat fails
 Status:           Wont fix
 Type:             Bug
 Package:          Reproducible Crash
 Operating System: Linux 2.0.36, 2.2.14
 PHP Version:      3.0.15

 New Comment:

Excuse me. Whenever people agree with me I always feel I must be wrong.
Help me! Please help find sites for: Oral isotretinoin vs. I found only
this - <a href="http://www.ndsg.co.nz/Members/Isotretinoin";>definition
isotretinoin</a>. Vaporizer treatment - pimples of syndrome heats with
posted ebook reduces and makes in injuries, isotretinoin. Isotretinoin,
severe foods can be increased by otc abnormalities in the acne of
treadmills, symptoms, lives and cases that can be shown thus on the
distressing increase. Thank :-( Kesia from Nicaragua.


Previous Comments:
------------------------------------------------------------------------
[2005-03-31 16:13:18] php-bugs at lists dot php dot net

We are sorry, but we do not support PHP 3 related problems anymore.

------------------------------------------------------------------------
[2000-03-28 18:31:06] baumert at pilot-webdesign dot de

shm_attach asks, if the return value of shmat is zero. This never
happens. 

The error-condition return value is -1.



So just change 162 from 

  if((shm_ptr = shmat(shm_id,NULL,0))==NULL) {



to 



  if((shm_ptr = shmat(shm_id,NULL,0))==-1) {



Greetings



Florian

------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=3952&edit=1

Reply via email to