libc

Tag

Cards List
#libc

POSIX wordexp(3) is dangerous

Lobsters Hottest ↗ · 5d ago Cached

一篇 TIL 博客指出 POSIX 的 wordexp(3) 默认启用命令替换,即使传入 WRDE_NOCMD,musl 和 macOS 的 libc 实现也可能被绕过,建议不要在不可信输入上使用它。

0 favorites 0 likes
#libc

Show HN: 18KB ls alternative in no_std rust and Libc

Hacker News Top ↗ · 2026-07-15

A minimal 18KB ls command alternative written in Rust using no_std and Libc.

0 favorites 0 likes
← Back to home

Submit Feedback