Skip to content

runtime, mime/quotedprintable: possible memory corruption #11084

@kostya-sh

Description

@kostya-sh

Using tip (bbc4351):

The following failure happens fairly consistently (but not every time):

ok      mime/multipart  0.248s
--- FAIL: TestExhaustive-4 (0.88s)
    reader_test.go:202: Got:
        OK: 21576
        invalid bytes after =: 3397
        quotedprintable: invalid hex byte 0x0a: 1400
        quotedprintable: invalid hex byte 0x0d: 2700
        quotedprintable: invalid hex byte 0x20: 2490
        quotedprintable: invalid hex byte 0x3d: 384
        unexpected EOF: 3122
        �p�(�>=e������: 56
        Want:
        OK: 21576
        invalid bytes after =: 3397
        quotedprintable: invalid hex byte 0x0a: 1400
        quotedprintable: invalid hex byte 0x0d: 2700
        quotedprintable: invalid hex byte 0x20: 2490
        quotedprintable: invalid hex byte 0x3d: 440
        unexpected EOF: 3122
FAIL
FAIL    mime/quotedprintable    0.908s
ok      net 2.232s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions