
Redis 7.0.0 核心模块重构与漏洞修复交付(重构 sds/adlist/intset/listpack,相似度≤20%;修复 CVE-2023-25155/28856、CVE-2024-31449、CVE-2022-36021、CVE-2022-31144 等漏洞)
Vulnerability Discovery and Fixing
The code repository under the code directory in the project contains several known vulnerabilities. You need to rewrite the core module of the project (the interface remains completely unchanged, the implementation approach changes, and the similarity before and after refactoring does not exceed 20%; all public/private method signatures, exception declarations, annotations, generics, and class inheritance relationships must be consistent with the original project, and the functionality before and after refactoring must remain consistent; verify the consistency of interface behavior and input/output for all known interfaces through testing). Additionally, fix all known bugs in the code repository. Performance degradation after fixing shall not exceed 5%. Place README.md in work/docs; its content is an AI refactoring process description (how to decompose modules, verify correctness, fix bugs, and reduce duplication), used for subjective evaluation by judges.
result/output.md is used to store the output information of successful execution of the work. logs/interaction.md is used to store records of human interactions. logs/trace is used to store inference logs. INSTRCUTION.md is the entry point for running the work; the platform loads this markdown to execute the work process and verify test case pass rates.