TGTGInsighttelegram intelligenceLIVE / telegram public index
← GitHub Trends

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @githubtrending · Post #14729 · May 21

#csharp#c_sharp#linq#unity ZLinq is a high-performance, zero-allocation LINQ library for .NET and game engines like Unity and Godot. It improves on regular LINQ by avoiding memory allocations during method chaining, boosting speed and efficiency, especially in demanding apps like games. You use it by calling `AsValueEnumerable()` on collections, enabling faster queries with almost full compatibility with .NET 10 LINQ features. It supports advanced operations on arrays, spans, trees (like file systems and JSON), and SIMD for parallel processing. ZLinq also offers drop-in replacements to accelerate existing LINQ code without rewriting. This means you get faster, more memory-efficient data processing with minimal code changes[1][3][4]. https://github.com/Cysharp/ZLinq

Results

1 similar post found

Search: #zipfile

当前筛选 #zipfile清除筛选
AIGC

@aigcrubbish · Post #6 · 08/23/2024, 06:57 AM

CPython zipfile 模块高危漏洞 CVE-2024-8088 CPython 的 zipfile 模块存在一个高危漏洞,编号为 CVE-2024-8088。该漏洞会导致在处理恶意构造的 zip 档案时,程序陷入无限循环。具体来说,当使用 zipfile.Path 类及其方法(如 namelist()`、`iterdir()`、`extractall() 等)遍历 zip 档案条目名称时,可能会触发无限循环。 此漏洞的根本原因在于 zipfile._path._ancestry() 方法中的路径处理不当。具体来说,代码中的 path.rstrip(posixpath.sep) 和 while 循环条件未正确处理路径,导致无限循环。例如,`posixpath.split("//") 返回 ("//", ""),而 "//" != posixpath.sep` 导致循环无法退出。 该漏洞已被修复,建议更新 CPython 并加强输入验证,以防止潜在的拒绝服务攻击。 原文链接:https://www.openwall.com/lists/oss-security/2024/08/22/1https://www.openwall.com/lists/oss-security/2024/08/22/4 标签:#CPython#漏洞#zipfile#无限循环 #AIGC