flawz icon indicating copy to clipboard operation
flawz copied to clipboard

Program panicked while scrolling CVE list with mouse

Open DannyJJK opened this issue 1 month ago • 2 comments

Describe the bug

thread 'main' panicked at /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.26.2/src/text/line.rs:477:59: byte index 82 is not a char boundary; it is inside '\u{a0}' (bytes 81..83) of The vCenter Server contains an authenticated remote code execution vulnerability. A note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

To reproduce

I believe this is happening due to a specific CVE (hard to tell which one because it crashes before you can see it). If you search for The vCenter Server and then keep scrolling down, it should eventually panic.

Expected behavior

No crash

Software information

  • Operating system: macOS Sonoma 14.5 (23F79)
  • Rust version: I don't have Rust installed, this was installed from Homebrew
  • Project version: flawz 0.1.1

DannyJJK avatar May 21 '24 20:05 DannyJJK