Skip to content

ADB crash under emulation  #3971

Description

@User-green

The discalmer:
The whole thing is done by Claude because I am nowhere near good enough to do it myself

The bug:
adb kill-server; adb start-server = crash with segfault

The problem (according to Claude):
box64 computes the emulated program_invocation_short_name as
strrchr(argv[0], '/') + 1, which is NULL + 1 == (char*)1 (a wild pointer)
whenever argv[0] contains no /.

The fix: #3972

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions