Skip to content

Decoding stdout is unsafe #1

@JonathanFoo0523

Description

@JonathanFoo0523
func-30.5.11909 func-30.5.11922 func-30.5.11935 func-30.5.11948 func-30.5.11961 func-30.5.11974 func-30.5.11987 func-30.5.12000 func-30.5.12013 func-30.5.12026 func-30.5.12039 func-30.5.12052 func-30.5.12065 func-30.5.12078 func-30.5.12091 func-30.5.12104 func-30.5.12117 func-30.5.12130 func-30.5.12143 func-30.5.12156 func-30.5.12169 func-30.5.12182 func-30.5.12195 func-30.5.12208 func-30.5.12221 func-30.5.12234 func-30.5.12247 func-30.5.12260 func-30.5.12273 func-30.5.12286 func-30.5.12299 func-30.5.12312 func-30.5.12325 func-30.5.12338 func-30.5.12351 func-30.5.12364 func-30.5.12377 func-30.5.12390 func-30.5.12403 func-30.5.12416 func-30.5.12429 func-30.5.12442 func-30.5.12455 func-30.5.12468 func-30.5.12481 func-30.5.12494 func-30.5.12507 func-30.5.12520 func-30.5.12533 func-30.5.12546 func-30.5.12559 func-30.5.12572 func-30.5.12585 func-30.5.12598 func-30.5.12611 func-30.5.12624 func-30.5.12637 func-30.5.12650 func-30.5.12663 func-30.5.12676 func-30.5.12689 func-30.5.12702 func-30.5.12715 func-30.5.12728 func-30.5.12741 func-30.5.12754 func-30.5.12767 func-30.5.12780 func-30.5.12793 func-30.5.12806 func-30.5.12819 func-30.5.12832 func-30.5.12845 func-30.5.12858 func-30.5.12871 func-30.5.12884 func-30.5.12897 func-30.5.12910 func-30.5.12923 func-30.5.12936 func-30.5.12949 func-30.5.12962\nAll memory allocations freed - no leaks\nMemory used:          now          0  max    3404600  max-size    1000012\nAllocation count:     now          0  max       1185\nPage-cache used:      now          0  max          0  max-size       1296\nPage-cache overflow:  now          0  max    1269008\nMaximum memory usage: 3404600 bytes\nCurrent memory usage: 0 bytes\nNumber of malloc()  : -1 calls\n', 47523, 47524, 'invalid continuation byte')>
Traceback (most recent call last):
  File "/home/ubuntu/dredd-sqlite3/runner/dredd_test/async_worker.py", line 94, in mutation_test_task
    status, description = await self.run_testfixture(test, mutant=mutant, timeout=timeout)
  File "/home/ubuntu/dredd-sqlite3/runner/dredd_test/async_worker.py", line 73, in run_testfixture
    output = ''.join(stdout.decode())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 47523: invalid continuation byte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions