-
Notifications
You must be signed in to change notification settings - Fork 81
libtgl: crash on processing some query errors #431
Comments
Can you follow https://developer.pidgin.im/wiki/TipsForBugReports#WhattodoifPidgincrashes to get the Pidgin.rpt and attach to this issue? Edit: And also the plugin version information from Help->Plugin Information (from the buddy list) |
I think that nothing of this is required. Because I wrote why this error appears and where. It is required to fix the tglq_query_error() function for checking params(). Here is my plugins list:
|
Here is a content of pidgin.rpt, I think it will say to you smaller than I had said :)
|
I found some strange code here .\tgl-master\queries.c (my comments are started with "//"):
He cannot defererence q->methods here, because q is nullptr! Created this ticket: vysheng/tgl#134 |
This issue was already fixed in 1.3.1, see majn/tgl@ac2e73b |
libtgl: crash on processing some query errors
How it was on practice? I had sent a few messages to a secret chat. After passing one, pidgin is crashed.
Details:
libtelegram.dll have no version info, it is bad. For better debugging it is recommended to add VERSION_INFO structure and use it build to build.
libtelegram.dll size 4'499'627 bytes, md5: 6d91bffa725bb21ef2cc7ed8e76c7dc5
(to identify)
This is a crash inside that function:
It seems, that "q" argument is a null pointer, not a pointer to an object, or if it pointer, than object is damaged, but there is a pointer using without a null-check.
It is required to review tglq_query_error() function regarding this code.
Details:
The text was updated successfully, but these errors were encountered: