david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/core
Michael Brown 966a960a83 [pixbuf] Avoid potential division by zero
Avoid potential division by zero when performing the check against
multiplication overflow.  (Note that if the width is zero then there
can be no overflow anyway, so it is then safe to bypass the check.)

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2017-03-22 14:11:19 +02:00
..
acpi.c [acpi] Add support for ACPI power off 2016-07-11 14:05:18 +01:00
ansicol.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
ansicoldef.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
ansiesc.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
asprintf.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
assert.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
base16.c [base16] Add buffer size parameter to base16_encode() and base16_decode() 2015-04-24 14:41:32 +01:00
base64.c [base64] Add buffer size parameter to base64_encode() and base64_decode() 2015-04-24 15:32:04 +01:00
basename.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
bitmap.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
blockdev.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
blocktrans.c [block] Add generic block device translator 2015-08-16 00:48:34 +01:00
console.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
cpio.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
ctype.c [libc] Rewrite unrelicensable portions of ctype.h 2015-03-02 16:35:37 +00:00
cwuri.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
debug.c [debug] Allow debug colourisation to be disabled 2016-01-12 15:39:14 +00:00
debug_md5.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
device.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
downloader.c [downloader] Treat redirection failures as fatal 2016-07-04 16:20:01 +01:00
edd.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
errno.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
exec.c [libc] Make sleep() interruptible 2016-03-22 16:18:42 +00:00
fault.c [fault] Add inject_corruption() to randomly corrupt data 2015-07-22 21:17:47 +01:00
fbcon.c [fbcon] Move margin calculations to fbcon.c 2015-10-14 22:16:45 +01:00
fnrec.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-05 11:40:13 +00:00
gdbserial.c [gdb] Allow gdbstub to be started on an arbitrary serial port 2015-06-29 16:44:16 +01:00
gdbstub.c [gdb] Add support for x86_64 2016-03-22 08:44:32 +00:00
gdbudp.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-05 11:40:13 +00:00
getkey.c [efi] Work around broken UEFI keyboard drivers 2016-05-25 23:28:41 +01:00
getopt.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:50:42 +00:00
hw.c [hw] Eliminate polling while waiting for window to open 2011-06-28 14:45:11 +01:00
i82365.c Initial revision 2005-03-08 18:53:11 +00:00
image.c [pixbuf] Enable PNG format by default 2016-07-29 16:04:09 +01:00
init.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
interface.c [interface] Provide the ability to shut down multiple interfaces 2017-02-02 15:49:21 +00:00
iobuf.c [iobuf] Improve robustness of I/O buffer allocation 2016-02-11 19:04:23 +00:00
iomap_virt.c [ioapi] Split ioremap() out to a separate IOMAP API 2016-02-26 15:33:40 +00:00
isqrt.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
job.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
linebuf.c [linebuf] Support buffering of multiple lines 2015-07-28 16:59:11 +01:00
lineconsole.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
list.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
log.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
main.c [test] Allow self-tests to report exit status when running under Linux 2015-08-21 15:46:28 +01:00
malloc.c [malloc] Guard against unsigned integer overflow 2016-02-06 10:47:45 +00:00
memmap_settings.c [settings] Extend numerical setting tags to "unsigned long" 2016-05-20 16:51:56 +01:00
menu.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
monojob.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
null_nap.c [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
null_reboot.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:50:42 +00:00
null_sanboot.c [block] Centralise "san-drive" setting 2017-03-07 13:40:35 +00:00
null_time.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
nvo.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
open.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
params.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
parseopt.c [time] Allow timer to be selected at runtime 2017-01-26 08:17:37 +00:00
pc_kbd.c [console] Move include/console.h to include/ipxe/console.h 2011-03-09 20:09:26 +00:00
pcmcia.c [console] Move putchar() and getchar() declarations to stdio.h 2012-03-26 14:43:52 +01:00
pending.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
pinger.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
pixbuf.c [pixbuf] Avoid potential division by zero 2017-03-22 14:11:19 +02:00
pool.c [pool] Add a generic concept of a pooled connection 2015-07-28 16:37:00 +01:00
posix_io.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
process.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
profile.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
random.c [libc] Always use a non-zero seed for the (non-crypto) RNG 2016-06-09 08:44:32 +01:00
refcnt.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
resolv.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
sanboot.c [block] Quell spurious Coverity size mismatch warning 2017-03-22 11:45:28 +02:00
serial.c [serial] Add missing #include <string.h> 2016-03-12 18:02:20 +00:00
settings.c [dhcp] Allow vendor class to be changed in DHCP requests 2017-03-20 13:58:59 +02:00
string.c [libc] Avoid implicit assumptions about potentially-optimised memcpy() 2016-05-09 16:23:38 +01:00
stringextra.c [libc] Remove unused string functions 2015-02-16 16:25:20 +00:00
time.c [time] Allow system clock to be adjusted at runtime 2016-06-13 15:29:05 +01:00
timer.c [time] Report attempts to use timers before initialisation 2017-02-01 15:30:41 +00:00
uart.c [serial] Check for UART existence in uart_select() 2015-07-31 11:19:19 +01:00
uri.c [uri] Support "file:" URIs describing relative paths 2016-03-14 18:03:13 +00:00
uuid.c [build] Return const char * from uuid_ntoa() 2017-01-22 13:45:00 +00:00
version.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
vsprintf.c [libc] Print "<NULL>" for wide-character NULL strings 2016-04-12 11:53:06 +01:00
wchar.c [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 14:17:31 +00:00
xfer.c [xfer] Ensure va_end() is called on failure path 2017-03-21 13:38:39 +02:00
xferbuf.c [build] Fix compiler warnings on some gcc versions 2015-07-27 15:21:17 +01:00