mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-25 00:31:08 +00:00
Fix null deref in Lcj ##crash
This commit is contained in:
parent
48f3d80244
commit
9f2cc5e101
@ -624,8 +624,12 @@ static int cmd_plugins(void *data, const char *input) {
|
||||
pj_a (pj);
|
||||
r_list_foreach (core->rcmd->plist, iter, cp) {
|
||||
pj_o (pj);
|
||||
pj_ks (pj, "name", cp->meta.name);
|
||||
pj_ks (pj, "desc", cp->meta.desc);
|
||||
if (cp->meta.name) {
|
||||
pj_ks (pj, "name", cp->meta.name);
|
||||
}
|
||||
if (cp->meta.desc) {
|
||||
pj_ks (pj, "desc", cp->meta.desc);
|
||||
}
|
||||
if (cp->meta.version) {
|
||||
pj_ks (pj, "version", cp->meta.version);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user