Skip to content

pmap segfaults with bad parameters? #56

@mb706

Description

@mb706

I think we should sanitize our inputs, even if .mapply doesn't.

> mlr3misc::pmap(1:4, function(x) x)

 *** caught segfault ***
address 0x200000001, cause 'memory not mapped'

Traceback:
 1: .mapply(.f, .x, list(...))
 2: mlr3misc::pmap(1:4, function(x) x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions