[GH-ISSUE #976] [BUG] Crash when parsing HAR with invalid WS/WSS data #972

Open
opened 2026-03-03 19:23:27 +03:00 by kerem · 1 comment
Owner

Originally created by @NghiaTranUIT on GitHub (Sep 6, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/976

Originally assigned to: @NghiaTranUIT on GitHub.

Description

Proxyman might be crashed if we parse a malformed HAR file with invalid WS/WSS data. Basically, we define WebSocket Opcode as UInt8, but the data is out of range. Therefore, the app is crashed.

Acceptance Criteria

  • Add safe check and ignore the invalid WS/WSS message
Originally created by @NghiaTranUIT on GitHub (Sep 6, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/976 Originally assigned to: @NghiaTranUIT on GitHub. ### Description Proxyman might be crashed if we parse a malformed HAR file with invalid WS/WSS data. Basically, we define WebSocket Opcode as UInt8, but the data is out of range. Therefore, the app is crashed. ### Acceptance Criteria - Add safe check and ignore the invalid WS/WSS message
Author
Owner

@NghiaTranUIT commented on GitHub (Sep 6, 2021):

Fixed on Proxyman 2.32.1 👍

<!-- gh-comment-id:913630634 --> @NghiaTranUIT commented on GitHub (Sep 6, 2021): Fixed on Proxyman 2.32.1 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#972
No description provided.