python / python/cpython

zipapps execute symlinks as if they are code

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

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

3.7 (EOL) 3.8 (EOL) 3.9 (EOL) interpreter-core type-bug
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

BPO 40525
Nosy @asottile, @FFY00
Files
  • zipimporter-symlink.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2020-05-05.22:55:41.298>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
    title = 'zipapps execute symlinks as if they are code'
    updated_at = <Date 2020-05-08.02:21:52.263>
    user = 'https://github.com/asottile'
    

    bugs.python.org fields:

    activity = <Date 2020-05-08.02:21:52.263>
    actor = 'FFY00'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2020-05-05.22:55:41.298>
    creator = 'Anthony Sottile'
    dependencies = []
    files = ['49140']
    hgrepos = []
    issue_num = 40525
    keywords = ['patch']
    message_count = 2.0
    messages = ['368212', '368403']
    nosy_count = 2.0
    nosy_names = ['Anthony Sottile', 'FFY00']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40525'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
    

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    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.

    Hướng nghiên cứu

    Bắt đầu với zipimporter-symlink.patch được liên kết và component Interpreter Core; tái hiện hành vi đã được báo cáo bằng một zipapp chứa symlink. Xác nhận patch hiện có của issue xử lý việc symlink bị thực thi dưới dạng mã như thế nào, và kiểm tra rằng hành vi đã được sửa được duy trì trên Python 3.7, 3.8 và 3.9.

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

    Đánh giá

    Công nghệ
    python
    Lĩnh vực
    operating-systems
    Loại issue
    Lỗi
    Độ khó
    4/5
    Thời gian dự kiến
    3-5 ngày
    Mức độ hoạt động
    Đình trệ
    Độ rõ ràng
    Cần làm rõ
    Mức phù hợp với người mới
    35/100

    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.