Skip to content

Fix : Correct export_env array iteration in system.c - #12

Merged
michael105 merged 1 commit into
michael105:master_testfrom
T1anjiu:fix/p0-1-startup-crash
Aug 31, 2026
Merged

michael105 merged 1 commit into
michael105:master_testfrom
T1anjiu:fix/p0-1-startup-crash

Conversation

@T1anjiu

@T1anjiu T1anjiu commented Jul 29, 2026

Copy link
Copy Markdown
  • Fixed incorrect 2D array cast to 1D pointer array
  • Changed from pointer iteration to proper 2D array indexing
  • Prevents setenv() crash when NULL is passed as value
  • Tested: program starts without crash, environment variables set correctly

- Fixed incorrect 2D array cast to 1D pointer array
- Changed from pointer iteration to proper 2D array indexing
- Prevents setenv() crash when NULL is passed as value
- Tested: program starts without crash, environment variables set correctly
@michael105
michael105 changed the base branch from master to master_test August 31, 2026 02:02
@michael105
michael105 merged commit 72560e6 into michael105:master_test Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants