This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 6461d67485abad0c348d6dc71d45bd80592aafe2
Author: cuiziwei <[email protected]>
AuthorDate: Thu Aug 7 18:06:21 2025 +0800

    mm/kasan: Increase the size of the g_region array to 16
    
    Increase CONFIG_MM_KASAN_REGIONS default from 8 to 16 to prevent
    data out-of-bounds when the heap grows.
    
    Signed-off-by: cuiziwei <[email protected]>
---
 mm/kasan/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/kasan/Kconfig b/mm/kasan/Kconfig
index 74c278f4f79..e3ce3e735b7 100644
--- a/mm/kasan/Kconfig
+++ b/mm/kasan/Kconfig
@@ -74,7 +74,7 @@ if MM_KASAN_INSTRUMENT
 
 config MM_KASAN_REGIONS
        int "Kasan region count"
-       default 8
+       default 16
 
 config MM_KASAN_WATCHPOINT
        int "Kasan watchpoint maximum number"

Reply via email to