mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
Fix core dump in dbus-message-internal
* src/dbusbind.c (Fdbus_message_internal): Don’t go past array end (Bug#33530).
This commit is contained in:
parent
e02d375cb6
commit
cef3f8fbf9
1 changed files with 1 additions and 1 deletions
|
|
@ -1423,7 +1423,7 @@ usage: (dbus-message-internal &rest REST) */)
|
|||
for (; count < nargs; ++count)
|
||||
{
|
||||
dtype = XD_OBJECT_TO_DBUS_TYPE (args[count]);
|
||||
if (XD_DBUS_TYPE_P (args[count]))
|
||||
if (count + 1 < nargs && XD_DBUS_TYPE_P (args[count]))
|
||||
{
|
||||
XD_DEBUG_VALID_LISP_OBJECT_P (args[count]);
|
||||
XD_DEBUG_VALID_LISP_OBJECT_P (args[count+1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue