Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm/adb: a more reliable way to delete broken symlinks #4372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 1, 2023

  1. vm/adb: a more reliable way to delete broken symlinks

    When fuzzing Android, the executor sometimes leaves broken symlinks that
    point to non-existent directories. The command that adb.go was using to
    delete the leftover symlinks:
      `find /data/syzkaller* -type l -exec unlink {} \;`
    actually choked on such files and led to syzkaller rebooting the device
    indefinitely.
    Parse the output of `find /data/syzkaller*` to obtain the list of broken
    symlinks and pass them to `unlink` one by one.
    
    Fixes #2831.
    ramosian-glider committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    78b0f6e View commit details
    Browse the repository at this point in the history