Skip to content

ParsePartialFromString error not handled in mutator.cc #205

@vabr-g

Description

@vabr-g

In

message->ParsePartialFromString(std::string(any.value()));
, the Boolean result of ParsePartialFromString is not handled (by returning null).

This seems like an oversight.

But OTOH, it just allowed us to catch a bug in the proto parser library. So maybe it's on purpose?

Filing this in any case, so that the libprotobuf-mutator maintainers can decide.

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