[Fix] Harden MTP codec, transport, and SDK security
This commit is contained in:
parent
188caf56cc
commit
a7e804c603
73 changed files with 11892 additions and 5756 deletions
|
|
@ -41,6 +41,10 @@ pub enum CodecError {
|
|||
InvalidEncoding,
|
||||
#[error("Too many entries to encode")]
|
||||
TooManyEntries,
|
||||
#[error("Missing negotiated type map")]
|
||||
MissingTypeMap,
|
||||
#[error("Type-map mismatch: expected {expected}, actual {actual}")]
|
||||
TypeMapMismatch { expected: String, actual: String },
|
||||
#[error("Crypto failed: {0}")]
|
||||
CryptoFailed(String),
|
||||
#[error("Missing required field: {0}")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue