nim-lang / Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://nim-lang.org
Other
16.22k stars 1.46k forks source link

Check for nil in cstringArrayToSeq #23747

Closed yglukhov closed 5 days ago

yglukhov commented 1 week ago

This fixes crashes in some specific network configurations (as cstringArrayToSeq is used extensively in nativesockets).

github-actions[bot] commented 5 days ago

Thanks for your hard work on this PR! The lines below are statistics of the Nim compiler built from 2c83f94544b9acc6d06fd6b7fcf035e5cb0aa8eb

Hint: mm: orc; opt: speed; options: -d:release 179018 lines; 8.679s; 664.691MiB peakmem