Skip to content

fix: guard mount info cache initialization failure#11717

Open
yinjiping wants to merge 1 commit into
mainfrom
mount_info_cache
Open

fix: guard mount info cache initialization failure#11717
yinjiping wants to merge 1 commit into
mainfrom
mount_info_cache

Conversation

@yinjiping
Copy link
Copy Markdown
Contributor

Prevent proc-events from accessing an uninitialized mount info bihash when mount_info_cache_init() fails. Propagate the initialization error from create_and_init_proc_info_caches() and add runtime guards before mount info cache lookup/stat/root-check paths.

This PR is for:

  • Agent

Affected branches

  • main

This PR is for:

@yinjiping yinjiping force-pushed the mount_info_cache branch 2 times, most recently from 47ce6d0 to 7701dff Compare May 11, 2026 06:25
Prevent proc-events from accessing an uninitialized mount info bihash when
mount_info_cache_init() fails. Propagate the initialization error from
create_and_init_proc_info_caches() and add runtime guards before mount info
cache lookup/stat/root-check paths.
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.

1 participant