1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware
William Wilgus cab8cea0f0 lcd_putsxyofs 16 bit lcd_mono_bitmap_part [AS] part duex
'Bugfix' mono_bitmap_part reads ahead in the buffer,
if the height is <= char bit pixels other memory gets read
found with [Address Sanitizer]

also g#3332 since this is clearly a problem across the code
instead place the check for height < 8 in the lcd_mono_bitmap_part function

second try places the check above the negative y offset
this was causing glitches on the Q1 and likely other TS targets
since a negative y was added to height it made it < CHAR_BIT setting
stride = 0 even though the bitmap was >= CHAR_BIT high

Change-Id: I13bb8ab472c2ae61302a6de5d9e2c78243354460
2021-08-26 20:19:26 +00:00
..
asm Rename symbols of FiiO M3K Linux-based port 2021-02-27 23:53:28 +00:00
common file_internal.c guard file_cache_reset() from null pointer 2021-08-13 06:32:44 -04:00
drivers lcd_putsxyofs 16 bit lcd_mono_bitmap_part [AS] part duex 2021-08-26 20:19:26 +00:00
export xduoox3: Disable bootloader USB mode entirely 2021-08-26 11:59:01 -04:00
include inflate: fix public function pointers 2021-08-09 16:25:43 +00:00
kernel
libc libc: atoi() is supposed to return 0 if handed a NULL pointer 2021-07-30 01:41:13 +00:00
target x1000: trigger the virtual LED on disk activity 2021-08-18 23:17:07 +01:00
usbstack usb_storage: Fix a memset in SCSI_INQUIRY that overflowed its buffer 2021-07-23 00:26:35 +00:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c
bidi.c
buflib.c
COPYING
core_alloc.c
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make
font.c misc: Only include rbpaths.h and string-extra.h in places that need it 2021-04-10 12:08:12 -04:00
font_cache.c
general.c
hangul.c
load_code.c
logf.c logf: Fix an incorrect fix in 835d0c737a 2021-08-15 09:03:16 -04:00
lru.c
panic.c
pcm.c
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c move PCM_NATIVE_BITDEPTH definiton into global config code 2021-08-07 11:18:19 -04:00
powermgmt.c powermgmt: Clean up some convoluted #ifdefs 2021-08-04 09:39:37 -04:00
profile.c
README
rolo.c mi4: replace chksum_crc32 with crc_32r 2021-06-21 09:36:54 +00:00
rom.lds
screendump.c Fix path buffer overflow in screendump 2021-08-06 15:46:53 +00:00
scroll_engine.c
sdmmc.c
sound.c Revert "sound: add sound_numdecimals() to round out the sound setting query API" 2021-04-09 10:52:02 +00:00
SOURCES Remove the (very) incomplete port for the Tatung TPJ-1102 2021-08-14 16:29:39 -04:00
storage.c
system.c
timer.c
tuner.c
usb.c Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX 2021-04-26 07:41:51 -04:00

See docs/README