79 Commits

Author SHA1 Message Date
pancake
8e65149d88
Do not redefine assert in reiserfs.c (#16656) 2020-04-20 17:50:22 +08:00
Florian Märkl
0eb98d24be
Fix all Warnings for GCC 9 (#16223) 2020-03-17 13:31:28 +01:00
radare
72093ac706
Fix #16138 - Do not preincrement when it's not necessary (#16151) 2020-03-05 19:06:59 +01:00
pancake
6fdbf5b1c2 Fix static-build without GPL code 2019-08-02 09:51:09 -07:00
radare
dc0892a1a0
Towards emscripten build fix (update sdb) ##build 2019-07-07 16:52:41 +02:00
GustavoLCR
06ad8f651f Fix hfs mounting for Windows ##fs 2019-02-04 13:06:53 -06:00
David CARLIER
2eb706029c Few code/cleanups mem leaks potential (#12591) 2018-12-31 00:21:47 +01:00
GustavoLCR
7530895d0a Fix a few clang scan-build bugs (#12562)
* Removed unnecessary variable from libr/core/disasm.c
* Removed not necessary assignment in libr/core/casm.c
* Removed not used assignment in libr/bin/dwarf.c
* Rem. duplicate declaration and not used values
* Fixed potential memory leak in java/class.c
* Fixed potential memory leak in ragg2
* Removed unnecessary variable in visual.c
* Another potential memory leak in class.c
* Removed not used value assignment
* Fixed memory leak in dwarf.c
* Removed not needed assignments
* Remove more not used assignments
* Refactored where bin_sections gets arch & bits for clarity
* Removed more assignments that are not used
* Rem. more unused assignments
* Surround assignment with paranthesis
2018-12-26 12:54:12 +01:00
dav1901
f24556c189 Fix few clang-analyzer warnings (#12548) 2018-12-24 01:18:12 +01:00
pancake
fd2acacd2d Fix build 2018-12-15 17:36:26 +01:00
pancake
161f014369 Remove noisy warning in iso9660 2018-12-15 16:04:59 +01:00
pancake
f2c06575d8 Fix #12479 - negative disk_reads may not be allowed ##crash 2018-12-15 13:01:35 +01:00
dav1901
5b644dcb74 Minor cleanups/fixes (#12478) 2018-12-14 00:17:50 +01:00
David CARLIER
74da0eb115 Few grub/bochs fixes 2018-11-22 12:12:11 +01:00
pancake
53635d59a0 Fix #12141 - minor leaks in grub code 2018-11-19 12:14:01 +01:00
dav1901
dfb9b0e5ae Fix minor leaks in ufs and mz 2018-11-14 01:57:23 +01:00
David CARLIER
6c5d98b45c Fix grub minix plugin build. (#12131)
Using wrapper instead, and might be safe anyway
in case allocators impl change.
2018-11-12 16:57:16 +01:00
Young-X
99641414fd Fix multiple potential vulnerabilities (#12113)
* bin_xtr_fatmach0.c: fix memory leak in function extractall

Signed-off-by: Young_X <YangX92@hotmail.com>

* check return value of r_list_newf in function oneshotall

Signed-off-by: Young_X <YangX92@hotmail.com>

* ufs: prevent memory leak

Signed-off-by: Young_X <YangX92@hotmail.com>

* minix: prevent memory leak

Signed-off-by: Young_X <YangX92@hotmail.com>

* jfs: fix memory leak in grub_js_find_file

Signed-off-by: Young_X <YangX92@hotmail.com>

* r_anal_plugin_free: fix null pointer deference for para a

Signed-off-by: Young_X <YangX92@hotmail.com>

* fix null pointer deference in function fix_back_edge_dummy_nodes
since ptr from and to may be NULL

Signed-off-by: Young_X <YangX92@hotmail.com>
2018-11-12 12:08:24 +01:00
Lowly Worm
077b341a16 explicitly sign all bitfields 2018-11-11 16:10:15 -08:00
pancake
4eec87cdf6 More warnings fixed 2018-07-14 10:58:19 +02:00
David CARLIER
19160ff217 Fix macros redefinitions warning (#10284) 2018-06-07 09:41:55 +02:00
pancake
d43d2f738d Fix asm.immstr 2017-11-14 03:59:24 +09:00
pancake
561630745b Replace the zero-length array in iso9660 with a macro 2017-11-07 15:02:00 +01:00
pancake
69e1e99ff0 Do not use zero length arrays in iso9660 2017-11-07 14:40:19 +01:00
pancake
0c81ce3651 Fix uninitialized partition type issue in 'mp gpt' 2017-11-07 11:45:10 +01:00
pancake
20c0b83743 Avoid infinite loop in iso9660 2017-11-07 01:34:11 +01:00
pancake
7b96c1da23 Fix crash in iso9660 with rockridge extension 2017-11-07 00:52:19 +01:00
pancake
f873164060 Fix HFS plugin for r_fs 2017-11-06 22:28:01 +01:00
pancake
5f5b25ca8e Fix crash in HFS for GRUB 2017-11-06 18:49:54 +01:00
condret
2f201bded0 opsalamance - merge the big siol branch
- Thanks @MaskRay and @condret
2017-08-22 09:42:16 +02:00
pancake
fd7dfad154 More fixes 2017-08-19 17:16:54 +02:00
pancake
39e63acfe0 Fix last COVs (double free and memleak in grub code) 2017-07-05 13:13:53 +02:00
pancake
c57997e76e Fix r2_hbo_grub_memmove ext2 crash 2017-07-04 19:38:33 +02:00
Sajjad Pourali
efe373de18 add #include <stdlib.h> for free func (#7762) 2017-06-18 01:01:11 +02:00
pancake
65000a7fd9 Fix #7723 - crash in ext2 GRUB code because of variable size array in stack 2017-06-12 09:57:30 +02:00
pancake
608d10dc4b Fix grub warnings 2017-06-06 18:46:21 +02:00
pancake
796dd28aaa Fix ext2 buffer overflow in r2_sbu_grub_memmove 2017-06-05 12:38:39 +02:00
pancake
b15b3d71fb Return early on grub-ext2 error 2017-06-01 19:17:15 +02:00
pancake
9a21711c5d Fix #7650 - Division by zero in Ext2 code from Grub 2017-06-01 13:14:11 +02:00
pancake
6758e3753d Remove configure-plugins dependency for the make meson 2017-05-26 02:43:53 +02:00
pancake
3a262ba5d7 Fix file containing (null) issue in dwarf 2017-05-25 15:14:18 +02:00
SkUaTeR
28f785daa0 MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake
60f9667654 Remove support for bjam build system
- Delete all Jamroot files
2017-05-02 05:48:40 +02:00
pancake
fa671b9a16 Initial support for the Meson build system
- Integrated with current ACR
- Fix some stale fails got removed
2017-05-02 05:05:36 +02:00
pancake
a66cc10d46 Fix a huge list of null derefs from clang-analyzer 2017-04-17 22:02:04 +02:00
pancake
6b515cae6a Fix #6921 - FPE on ext2 filesystem 2017-03-09 21:37:09 +01:00
pancake
2a83f21a3e Make gcc6 warnings happy 2017-01-15 22:02:57 +01:00
pancake
3ca5f5f1f7 Fix #6327 - FPE (div-by-zero) in grub/ext2 2016-12-15 13:05:59 +01:00
Maijin
13ed2131ee Cleanup TODOs [ci skip] 2016-09-19 00:02:10 +02:00