gnu-efi/apps
Peter Jones 1b94cff100 Fix a minor coverity complaint in some apps
Coverity added a new kind of check, and it noticed some minor errors
with some types in two of the apps here, both of the same form:

1. gnu-efi-3.0.6/apps/lfbgrid.c:91: overflow_before_widen: Potentially
overflowing expression "info->VerticalResolution *
info->PixelsPerScanLine" with type "unsigned int" (32 bits, unsigned) is
evaluated using 32-bit arithmetic, and then used in a context that
expects an expression of type "UINTN" (64 bits, unsigned).

1. gnu-efi-3.0.6/apps/bltgrid.c:67: overflow_before_widen: Potentially
overflowing expression "info->VerticalResolution *
info->HorizontalResolution" with type "unsigned int" (32 bits, unsigned)
is evaluated using 32-bit arithmetic, and then used in a context that
expects an expression of type "UINTN" (64 bits, unsigned).

This resolves both issues.

Signed-off-by: Peter Jones <pjones@redhat.com>
2023-03-28 08:38:37 -04:00
..
AllocPages.c Fix some types gcc doesn't like 2018-03-14 14:50:22 -04:00
bltgrid.c Fix a minor coverity complaint in some apps 2023-03-28 08:38:37 -04:00
debughook.c Fix a sign error in the debughook example app 2018-03-14 14:50:23 -04:00
drv0_use.c Restore correct operation of BS driver test 2017-01-08 06:58:30 -05:00
drv0.c Restore correct operation of BS driver test 2017-01-08 06:58:30 -05:00
drv0.h Restore correct operation of BS driver test 2017-01-08 06:58:30 -05:00
exit.c add-Exit - Add Exit() library function which calls BS->Exit() 2017-02-17 16:30:28 -05:00
FreePages.c Fix some types gcc doesn't like 2018-03-14 14:50:22 -04:00
lfbgrid.c Fix a minor coverity complaint in some apps 2023-03-28 08:38:37 -04:00
Makefile apps: Fix Makefile install and ordering 2023-03-06 13:36:27 +00:00
modelist.c apps: simplify logical constraints 2021-06-23 22:53:26 +02:00
printenv.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
route80h.c Work around -Werror=maybe-uninitialized not being very bright. 2018-03-14 14:50:23 -04:00
setdbg.c Add debug helper applications 2018-03-14 14:50:23 -04:00
setjmp.c Do not include efisetjmp.h on efi.h 2019-05-15 05:32:24 +02:00
t2.c This -Wall -Wextra thing actually caught a real bug. 2016-03-03 16:55:26 -05:00
t3.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
t4.c This -Wall -Wextra thing actually caught a real bug. 2016-03-03 16:55:26 -05:00
t5.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
t6.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
t7.c This -Wall -Wextra thing actually caught a real bug. 2016-03-03 16:55:26 -05:00
t8.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
t.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
tcc.c apps/tcc: tcc marcked ok for non x86-64 archs 2017-03-10 16:02:03 -05:00
tpause.c The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it. 2014-11-25 10:09:50 -05:00
trivial.S */*.S: add non-executable GNU stack marking on ELF-linux 2022-08-08 11:35:10 -04:00
unsetdbg.c Add debug helper applications 2018-03-14 14:50:23 -04:00