Skip to content

Using the structure defined by Protocol Buffers, input checking of string fields is required in the use of the algorithm #5

@joyoFeng

Description

@joyoFeng

The algorithmic protocol data structure of the code repository uses Protocol Buffers definition,
which requires input checking for malicious inputs, such as over-long input string,
due to the extensive use of string-defined fields, which may lead to risky problems
such as resource overload, buffer overflow, and even system crash of the counterpart parties.

In fact, the message length can be calculated during MPC calculation (most of them are determined in advance), and different protocol implementations can be customized with corresponding input limits (From PlatON Cryptography Team).

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