#1417·sapling

serde_bser/mincode: 使用未检查的线缆提供的长度,在输入格式不正确时出现崩溃

作者: renz011tzar创建于 2026年8月15日更新于 2026年8月15日
  1. serde_bser — a negative wire length casts to usize::MAX

watchman/Rust/serde_bser parses BSER, Watchman's binary wire protocol. The length of a bytestring/utf8string is read as a signed integer:

内容来源: facebook/sapling