Commit Graph

9 Commits

Author SHA1 Message Date
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
David CARLIER
74da0eb115 Few grub/bochs fixes 2018-11-22 12:12:11 +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
SkUaTeR
28f785daa0 MSVC compile correctly (WIP) 2017-05-13 00:42:00 +02:00
pancake
4d157c3ca7 Fix JFS warning 2015-10-21 16:36:19 +02:00
pancake
747c7bbacb More fixes for io.mach.write 2015-10-11 03:07:53 +02:00
Anton Kochkov
811c493045 Move __attribute__(()) in the right place 2015-10-06 01:13:02 +03:00
pancake
6eb7a5ed2f Move grub into shlr 2013-12-14 03:51:18 +01:00