gchq / gchq/CyberChef

Bug report: zlib inflate doesn't work under fork

Open
#1,913 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**
[A clear and concise description of what the bug is.](https://gchq.github.io/CyberChef/#recipe=Fork('%5C%5Cn','%5C%5Cn',false/disabled)From_Hex('Auto')Zlib_Inflate(0,0,'Adaptive',false,false)&input=Nzg5YzMzMzRiMDAwMDAwMTJlMDA5YQ0KNzg5Y2IzMzQwNzAwMDBhYjAwNzENCg&ieol=CRLF)

Using fork should solve the 2-numbered

108 and 97。

But now there's only one number, 108.

![Snipaste_2024-09-25_17-36-34.png](https://s2.loli.net/2024/09/25/b57UoLy2evJjEVm.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CyberChef reproduction using Fork, From Hex, and Zlib Inflate, and compare the output for the two input lines. Trace how the forked inputs reach Zlib Inflate; done means both expected numbers, 108 and 97, are produced rather than only 108.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.