Project

General

Profile

Actions

Bug #6964

closed

base64: consumed bytes are incorrectly set for different modes

Added by Shivani Bhardwaj 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

For example, given a string 0YPhA d H and an ample buffer size, consumed bytes should be 4 in RFC2045 mode as there are only 3 valid bytes post 0YPh and that isn't enough to decode. Actually, looking further, it seems we want to decode all the bytes that we can as long as there is ample destination space but only for RFC 4648.


Related issues 1 (0 open1 closed)

Blocks Suricata - Task #6050: base64: make a fuzz targetClosedShivani BhardwajActions
Actions

Also available in: Atom PDF