Modify

#1322 new defect

Null Dereference Error an

Reported by: juno@… Owned by:
Priority: major Milestone:
Component: Purple Version: Unspecified
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

Trigger

gdbus call -e -d :1.270 -o /im/pidgin/purple/PurpleObject -m im.pidgin.purple.PurpleInterface.PurpleAccountGetCurrentError 0

Root Cause

---

int64 fastcall purple_dbus_id_to_pointer_error(unsigned int input_integer, int64 a2, const char *a3, int64 a4) {

int64 v6; rbp

v6 = purple_dbus_id_to_pointer(input_integer, (_QWORD *)a2); if ( !v6 && input_integer )

dbus_set_error(a4, "im.pidgin.purple.InvalidHandle", "%s object with ID = %i not found", a3, input_integer);

return v6;

}

---

if v6 is null, purple_dbus_id_to_pointer_error must return an error. btw if our input (input_integer) is 0, it returns null (0) pointer, it causes null pointer dereference issue.

Attachments (0)

Change History (0)

Modify Ticket

Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.