Project

General

Profile

Actions

Issue #832

closed
RA

Requirement #821: NCCC ISO8583 STIP Mock:建立可驗證的專業測試基準

問題:FrameDecoder 長度錯誤後仍保留殘餘 buffer

Issue #832: 問題:FrameDecoder 長度錯誤後仍保留殘餘 buffer

Added by Redmine Admin 6 days ago.

Status:
Closed
Priority:
P1-High
Assignee:
-
Category:
API
Start date:
10/19/2026
Due date:
10/19/2026
% Done:

100%

Estimated time:
Story Points:

Description

現象

收到不合法 frame 長度時拋錯,但 buffer 未清空,可能污染下一筆電文。

處置

  • 在拋錯前先清空 buffer。
  • 新增「錯誤長度後可正常解析下一筆」測試。

驗證

  • FrameDecoder 單元測試通過。

No data to display

Actions

Also available in: PDF Atom