mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-31 21:01:23 -08:00
Fix core dump in dbus-message-internal
Backport from master. * src/dbusbind.c (Fdbus_message_internal): Don’t go past array end (Bug#33530).
This commit is contained in:
parent
cc3ad9a3d1
commit
7ecf49b5a5
1 changed files with 1 additions and 1 deletions
|
|
@ -1419,7 +1419,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