summaryrefslogtreecommitdiff
path: root/chip/g/loader/launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/g/loader/launch.c')
-rw-r--r--chip/g/loader/launch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/g/loader/launch.c b/chip/g/loader/launch.c
index 077961fc67..7193f0f6b2 100644
--- a/chip/g/loader/launch.c
+++ b/chip/g/loader/launch.c
@@ -47,13 +47,13 @@ void tryLaunch(uint32_t adr, size_t max_size)
memset(&hashes, 0, sizeof(hashes));
- /* Sanity check image header. */
+ /* Validity check image header. */
if (hdr->magic != -1)
return;
if (hdr->image_size > max_size)
return;
- /* Sanity checks that image belongs at adr. */
+ /* Validity checks that image belongs at adr. */
if (hdr->ro_base < adr)
return;
if (hdr->ro_max > adr + max_size)