Aaron Oneal
e3f4e0d71a
Fix ISO scan crash from buffer overflow
...
Recent additions in commit #bbb2a7d6f to scan ISO files with ASCII characters overflowed the serial number buffer and caused a crash. This fix limits the read to 15 bytes which is all that is actually required.
2017-09-06 23:37:46 -07:00
twinaphex
50b838d8ed
Cleanups
2017-07-30 10:11:41 +02:00
Rob Loach
bbb2a7d6f4
Add serial detection for Wii
2017-07-29 23:23:05 -04:00
twinaphex
6c81007eb9
Should hopefully fix scanning of PS1 games
2017-06-07 11:12:11 +02:00
twinaphex
f5225a479e
(task_database_cue.c) Use string_is_equal instead
2017-06-06 10:20:34 +02:00
twinaphex
3d54afdc1b
Change to string_is_equal
2017-06-06 09:46:13 +02:00
twinaphex
cf2f8f6489
Prevent passing NULL/empty strings to memcmp
2017-05-28 18:07:00 +02:00
twinaphex
126a5bf121
Use string_is_equal_fast/string_is_not_equal_fast
2017-05-16 04:00:37 +02:00
twinaphex
8eca08c6ac
Start using string_is_equal_fast/string_is_not_equal_fast macros
...
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
aea00f1e00
Use memcmp instead of string_is_equal for more instances
2017-04-23 12:17:51 +02:00
twinaphex
6ebd4e139e
Rewrite more string_is_equal call invocations as memcmp
2017-04-22 08:51:16 +02:00
Jean-André Santoni
ff575a3460
PCE-CD magic number detection
2017-03-07 01:16:58 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -04:00
twinaphex
051c103ea1
Prevent implicit memsets
2016-10-16 01:31:06 +02:00
twinaphex
481ebced22
Prevent implicit memsets
2016-10-09 09:56:03 +02:00
twinaphex
1388220866
(tasks) Don't do implicit memsets in crucial performance-oriented code
2016-10-08 18:31:43 +02:00
twinaphex
6544b0bcd7
Get rid of HAVE_LIBRETRODB ifdefs
2016-09-18 21:50:39 +02:00
twinaphex
b93ef046a7
Header include cleanups
2016-09-11 16:31:23 +02:00
twinaphex
51b0e61712
Cleanups
2016-09-11 16:24:02 +02:00
Twinaphex
5f3d384a9c
Merge pull request #3483 from bparker06/magic_len
...
bin/cue magic number is 17 bytes instead of 16
2016-09-01 05:54:56 +02:00
Brad Parker
1a9e0ca6a8
bin/cue magic number is 17 bytes instead of 16
2016-08-31 23:53:28 -04:00
twinaphex
f38ce959e4
Remove some header includes
2016-09-01 05:30:07 +02:00
twinaphex
0547a71a52
Cleanups
2016-06-30 06:02:30 +02:00
twinaphex
fbc83640b6
More translatable strings
2016-06-30 05:58:05 +02:00
twinaphex
fa08613637
Indenting nits
2016-06-20 06:21:12 +02:00
twinaphex
620f541ca1
detect_ps1_game_sub - fix 'resource leak'
2016-06-05 18:32:26 +02:00
aliaspider
e23b39d2b5
(task_database_cue) ps1 scanning: the boot entry isn't always the first
...
one in SYSTEM.CNF
2016-06-03 20:09:23 +01:00
aliaspider
748a913a6d
(task_database_cue) more ps1 scanning fixes.
2016-06-03 11:36:48 +01:00
aliaspider
87788f0ffb
(task_database_cue) ps1 scanning fix.
2016-06-03 10:46:55 +01:00
twinaphex
ffdad57318
Fix double frees and resource leaks
2016-06-01 02:40:58 +02:00
twinaphex
e297da1b71
Take out this call to prevent another memory leak
2016-05-26 17:34:44 +02:00
twinaphex
0f954fd4c8
Resource leaks fixes (catched by Coverity)
2016-05-26 17:26:55 +02:00
twinaphex
42971febba
Fix resource leaks (pointed out by Coverity)
2016-05-24 22:01:43 +02:00
twinaphex
ec88b464c3
Silence 'side effect in assertion' warnings
2016-05-24 21:51:45 +02:00
twinaphex
1b289c0f05
(libretro-common) Update
2016-03-24 04:23:17 +01:00
twinaphex
e41127459e
Rename 'filestream' functions
2016-03-24 04:09:25 +01:00
twinaphex
ac6362cae4
Combine list_special files
2016-03-20 17:28:24 +01:00
twinaphex
3720cf87e7
Rename retro_file to file_stream
2016-03-20 16:29:14 +01:00
twinaphex
f8b866c8c1
Combine file_ops.c and content.c
2016-02-15 21:49:29 +01:00
twinaphex
4210ee197b
Rename tasks.c to task_queue.c
2016-02-09 17:55:15 +01:00
twinaphex
f1ca9604b7
Header include changes
2016-02-07 01:50:08 +01:00
twinaphex
9c547ab541
Move define to top of file
2016-02-04 10:30:12 +01:00
twinaphex
c57995b3eb
Style nits/cleanups
2016-02-03 17:41:04 +01:00
twinaphex
dbff4e52bc
Cleanups
2016-01-28 09:33:09 +01:00
twinaphex
d4d6788381
Use sizeof(variable) instead of hardcoded PATH_MAX_LENGTH
2016-01-26 04:58:40 +01:00
twinaphex
63e2d13b8f
Create string_is_equal_noncase - try not to use strcasecmp so much
2016-01-20 17:34:19 +01:00
twinaphex
454abdee48
stdstring - create string_is_equal
2016-01-20 04:07:24 +01:00
twinaphex
7a55ae3765
Start updating headers for 2016
2016-01-10 04:06:50 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
Higor Eurípedes
9770bc354c
(task_database_cue) Fix memory leak
2015-11-16 20:46:29 -03:00
Higor Eurípedes
dc3a561845
(task_database_cue) Fix buffer overflow
2015-11-16 20:46:29 -03:00
twinaphex
02a5d738fe
Static code analysis cleanups
2015-09-28 23:00:22 +02:00
twinaphex
d3792d9f66
(task_database_cue.c) Cleanups
2015-09-28 01:52:56 +02:00
Jean-André Santoni
d2d402ea1b
Refactor CD scanning, and detect PSP games before searching serials
2015-09-27 02:14:24 +02:00
Jean-André Santoni
1ffe9eae43
Implement PSP scanning
2015-09-27 00:12:17 +02:00
aliaspider
eb10e8b977
(PS1) serial lookup: improve error detection.
2015-09-26 01:27:17 +01:00
aliaspider
bdcc7c81ce
(PS1) convert serial to uppercase.
2015-09-26 00:44:47 +01:00
twinaphex
e280ff2767
(PS1) PS1 serial lookup fix
2015-09-26 01:29:17 +02:00
twinaphex
8c87f0bd31
Add alternative PS1 detect game code by aliaspider
2015-09-26 00:05:15 +02:00
Jean-André Santoni
c4450d29f0
Fix psx scanning, thanks to @aliaspider
2015-09-25 02:38:28 +02:00
Jean-André Santoni
938e89562b
Search the ps1 serial in the whole binary
2015-09-25 00:36:12 +02:00
twinaphex
432aac58a3
Get rid of more fcntl header includes
2015-09-18 04:03:11 +02:00
twinaphex
d74be88d0a
(tasks/database_cue.c) Use RFILE
2015-09-17 20:31:04 +02:00
twinaphex
78185be8bf
Build fixes
2015-09-16 22:44:16 +02:00
twinaphex
097da7ca9d
Add kivutar to copyrights
2015-09-16 22:40:49 +02:00
twinaphex
fad78d8b81
Split up code to task_database_cue.c
2015-09-16 22:39:47 +02:00