Fix incorrect dereference in formUpdateBuffer when MENU_SELECT
cf. ec9eb22e00
This commit is contained in:
2
form.c
2
form.c
@@ -461,9 +461,11 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif /* MENU_SELECT */
|
#endif /* MENU_SELECT */
|
||||||
|
{
|
||||||
if (!form->value)
|
if (!form->value)
|
||||||
break;
|
break;
|
||||||
p = form->value->ptr;
|
p = form->value->ptr;
|
||||||
|
}
|
||||||
l = buf->currentLine;
|
l = buf->currentLine;
|
||||||
if (!l)
|
if (!l)
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user