php8-fpm is crashing with CommonCrypto on 10.11 El Capitan

Đang mở
#25,450 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, macos, php
Lĩnh vực
backend, security

Hướng nghiên cứu

Start with ext/random/csprng.c and the HAVE_COMMONCRYPTO_COMMONRANDOM_H condition mentioned in the report. Reproduce the first id call crash with php8.4-fpm on macOS 10.11, then compare behavior with the reported conditional disabled. Done means the crash is resolved without breaking random-number generation on the supported systems.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug Status: Needs Triage
Description

Hello,
please look at the ticket https://trac.macports.org/ticket/74304
php8.4-fpm will compile without errors, but crash on the first id call (I run Nginx)
summary, replacing #if HAVE_COMMONCRYPTO_COMMONRANDOM_H with #if 0 in /ext/random/csprng.c heals the crash.
From my understanding this is necessary before 10.12
I tried 8.3 and 8.4 the patch works for both.
cheers
Matthias

PHP Version
PHP 8.4.27 (cli) (built: Oct 22 2026 16:13:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.27, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.27, Copyright (c), by Zend Technologies
note: php-fpm is the same version.
Operating System

macOS 10.11 elCapitan

Ngôn ngữ chính
C
Star
41.8k
Fork
8.6k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
125

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của php/php-src

Tất cả issue của php/php-src

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.