From: Paul Floyd Date: Thu, 28 Dec 2023 09:47:29 +0000 (+0100) Subject: Darwin: Fix another bad merge of coregrind/m_debuginfo/debuginfo.c X-Git-Tag: VALGRIND_3_23_0~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71468d7419c85f42b77e63b5d9959c1e8bd44534;p=thirdparty%2Fvalgrind.git Darwin: Fix another bad merge of coregrind/m_debuginfo/debuginfo.c --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index 6fec43e869..d6ed5dc347 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -1385,7 +1385,7 @@ ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd ) } if (sr_Res(preadres) == 0) return 0; - vg_assert(sr_Res(preadres) > 0 && sr_Res(preadres) <= sizeof(buf1k) ); + vg_assert(sr_Res(preadres) > 0 && sr_Res(preadres) <= sizeof(buf4k) ); rw_load_count = 0;