mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
0b96303fda
Prevent getenv() from being called in interrupt context by adding up_interrupt_context() check. This ensures thread-safe access to environment variables in multi-threaded scenarios. Signed-off-by: hujun5 <hujun5@xiaomi.com>