rizin/librz
Florian Märkl 9ed8ffd29a Make rz_strbuf_slice() truncate on excessive len (#2115)
It is often useful to get a slice of some maximum len, also accepting
smaller results if the source is not large enough.
This also makes the function always operate on byte indices. Before,
it was inconsistently skipping ansi codes sometimes.
This also fixes potential oob writes in panels.c
2021-12-24 20:27:50 +08:00
..
analysis Fix crash due to null pointer dereference in rz_analysis_block_recurse_depth_first() (#2093) 2021-12-24 20:27:50 +08:00
asm Fix coverity bugs (#1654) 2021-09-13 22:42:25 +08:00
bin Fix oob write for dwarf with abbrev with count 0 (Fix #2083) (#2086) 2021-12-24 20:27:50 +08:00
bp SPDX Copyright text for all files based on history 2021-03-05 19:39:15 +08:00
config Use PJ in config_print_node() (#1488) 2021-09-11 19:58:22 +08:00
cons Fixed 'ctrl+arrow' and 'alt+arrow key' in rizin shell 2021-10-18 12:33:46 +08:00
core Fix +/- in visual cursor mode (#2118) 2021-12-24 20:27:50 +08:00
crypto Fix potential buffer overflow in rc2 (#1792) 2021-10-18 12:33:46 +08:00
debug Fix -Wunused-function warning on Mac (#2070) 2021-12-24 20:27:50 +08:00
diff Add some rz-diff -t lines tests (#1177) 2021-06-02 19:25:28 +08:00
egg [rz-gg] check if there is actual code to compile before failing (#1476) 2021-08-18 12:12:01 +02:00
flag Rename RNum to the RzNum (#1539) 2021-08-29 21:06:29 +02:00
hash Fix nullptr due missing small_block method when openssl is used. (#1790) 2021-10-18 12:33:46 +08:00
include Make rz_strbuf_slice() truncate on excessive len (#2115) 2021-12-24 20:27:50 +08:00
io Fix wrong buffer size reporting with shm:// 2021-12-24 20:27:50 +08:00
lang Fix few clang-cl warnings 2021-09-04 12:06:07 +02:00
magic Fix use of unsafe localtime() and portable gmtime_r() (#1481) 2021-08-19 16:01:42 +02:00
main Fix usage typo (#2019) 2021-12-24 20:27:50 +08:00
parse Fix some of the RzType memory leaks (#1459) 2021-08-17 06:40:27 +08:00
reg RzArch: Fix clang-ci and Coverity warnings (#1302) 2021-07-13 10:15:11 +02:00
search Fix various Coverity bugs (#1569) 2021-09-02 14:10:00 +02:00
socket Add pid/pidfile on man/rz-run and make pid option a boolean (#1741) 2021-10-18 12:33:46 +08:00
syscall RzArch: Fix clang-ci and Coverity warnings (#1302) 2021-07-13 10:15:11 +02:00
type Fix self-referential typedef format (#2134) 2021-12-24 20:27:50 +08:00
util Make rz_strbuf_slice() truncate on excessive len (#2115) 2021-12-24 20:27:50 +08:00
config.h.in Few SPDX info addition and REUSE lint to CI (#1274) 2021-07-07 16:09:57 +08:00
librz.pc.in Rename .acr to .in and remove RZ_MESON_VERSION (#499) 2021-02-01 13:33:23 +00:00
meson.build UTF-16 be, UTF-32 be support (#1535) 2021-09-21 23:14:15 +08:00