wok-current diff linld/stuff/src/LOAD.CPP @ rev 25725
Patch openssh CVE-2024-6387
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jul 01 15:09:44 2024 +0000 (2 months ago) |
parents | 217c02cbbe8d |
children |
line diff
1.1 --- a/linld/stuff/src/LOAD.CPP Sun Mar 14 19:55:20 2021 +0000 1.2 +++ b/linld/stuff/src/LOAD.CPP Mon Jul 01 15:09:44 2024 +0000 1.3 @@ -215,7 +215,7 @@ 1.4 struct image_himem *m = &initrd; 1.5 open_image(m, initrd_name); 1.6 1.7 - if ((m->fallback=(memtop()-m->size)&(~PAGE_MASK))-m[-1].fallback < m[-1].size) { 1.8 + if ((m->fallback=(topload()-m->size)&(~PAGE_MASK))-m[-1].fallback < m[-1].size) { 1.9 loadfailure(); 1.10 return; 1.11 }