php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5728 HAVE_MEMMOVE not honored
Submitted: 2000-07-21 21:40 UTC Modified: 2000-08-20 02:20 UTC
From: cclarke at netcom dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: SunOS 4.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cclarke at netcom dot com
New email:
PHP Version: OS:

 

 [2000-07-21 21:40 UTC] cclarke at netcom dot com
These files (and perhaps more) unconditionally use memmove, without checking HAVE_MEMMOVE, and without #defining it to the bcopy equivalent.

    ext/ftp/ftp.c
    ext/xml/expat/xmlparse/xmlparse.c
    main/mergesort.c
    regex/regcomp.c

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-06 06:50 UTC] rasmus@php.net
Actually, HAVE_MEMMOVE is checked in php.h and all these files include php.h and define memmove appropriately if STDC_HEADERS and HAVE_MEMCPY are not set.  Are either of these defined in your php_config.h?
 [2000-08-20 02:20 UTC] sniper@php.net
No feedback from user.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 18:00:02 2026 UTC