Skip to content

Segfault on "failed to compile regex" #258

Open
@tomjakubowski

Description

@tomjakubowski

I wrote a glob where I was meant to write a regex, and got a segmentation fault.

% git rev-parse HEAD                         
6523b5fe7f0cc52e690e66f3903163204c30f194
% make
make: Nothing to be done for 'all'.
% LD_LIBRARY_PATH=. ./xdotool search "*foo*"
Defaulting to search window name, class, and classname
Failed to compile regex (return code 13): '*foo*'
zsh: segmentation fault (core dumped)  LD_LIBRARY_PATH=. ./xdotool search "*foo*"

I see the same crash on xdotool version 3.20160805.1, which ships with my distribution.

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