aboutsummaryrefslogtreecommitdiff
path: root/tools/build/options
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2025-08-03 05:42:23 +0000
committerRomain Tartière <romain@FreeBSD.org>2025-08-04 03:40:24 +0000
commitf90940ce6eb71df40538c35a65d77ad3093c679a (patch)
treed54fcbb1796eb451f404afda07341813d643f528 /tools/build/options
parent04764f21855a3a3bac3e3bbe4bc2778d0a6ae53e (diff)
vm_page: Fix handling of empty bad memory addresses fileHEADmain
If a file with bad memory addresses is configured but that file is empty (0 lines, 0 bytes), when loading it we end up returning an end pointer that is just _before_ the start of the (empty) file content. Adjust the code to make it clear what pre-condition are required to set the *list / *end pointers correctly, and explicitly set them to NULL when they are not matched. Reported by: marklmi@yahoo.com Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D51717
Diffstat (limited to 'tools/build/options')
0 files changed, 0 insertions, 0 deletions