Mercurial > pidgin
view libpurple/protocols/msn/Makefile.am @ 24475:caf82c1cebf2
I've seen this crash a few times where cmd->param_count is 4 and
we try to access params[4] which is invalid.
The backtrace is:
#0 0x0000003c4c4341ca in ____strtoll_l_internal () from /lib64/libc.so.6
#1 0x0000003c4c431ab2 in atoi () from /lib64/libc.so.6
#2 0x00000000005f0abe in ubm_cmd (cmdproc=0xc86eb30, cmd=0xc832e00) at notification.c:494
#3 0x00000000005efef1 in msn_cmdproc_process_cmd (cmdproc=0xc86eb30, cmd=0xc832e00)
at cmdproc.c:321
#4 0x00000000005eff97 in msn_cmdproc_process_cmd_text (cmdproc=0xc86eb30,
command=0xcadb390 "UBM somebody1@yahoo.com 32 1 170") at cmdproc.c:343
#5 0x00000000005f9d8f in read_cb (data=0xc86ea90, source=9, cond=PURPLE_INPUT_READ)
at servconn.c:439
#6 0x00000000004db70c in pidgin_io_invoke (source=0xc8369f0, condition=G_IO_IN, data=0xc836570)
at gtkeventloop.cc:79
Here are some other values I've seen for command in frame 4:
UBM somebody1@yahoo.com 32 1 170
UBM somebody2@yahoo.com 32 2 91
UBM somebody3@yahoo.com 32 2 93
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 18 Nov 2008 07:16:49 +0000 |
parents | 2b62300d2c19 |
children | adf153852bcf |
line wrap: on
line source
EXTRA_DIST = \ directconn.c \ directconn.h \ Makefile.mingw pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) MSNSOURCES = \ cmdproc.c \ cmdproc.h \ command.c \ command.h \ contact.c\ contact.h\ dialog.c \ dialog.h \ error.c \ error.h \ group.c \ group.h \ history.c \ history.h \ httpconn.c \ httpconn.h \ msg.c \ msg.h \ msn.c \ msn.h \ nexus.c \ nexus.h \ notification.c \ notification.h \ object.c \ object.h \ oim.c\ oim.h\ page.c \ page.h \ servconn.c \ servconn.h \ session.c \ session.h \ slp.c \ slp.h \ slpcall.c \ slpcall.h \ slplink.c \ slplink.h \ slpmsg.c \ slpmsg.h \ soap.c \ soap.h \ state.c \ state.h \ switchboard.c \ switchboard.h \ sync.c \ sync.h \ table.c \ table.h \ transaction.c \ transaction.h \ user.c \ user.h \ userlist.c \ userlist.h \ msnutils.c \ msnutils.h AM_CFLAGS = $(st) libmsn_la_LDFLAGS = -module -avoid-version if STATIC_MSN st = -DPURPLE_STATIC_PRPL noinst_LTLIBRARIES = libmsn.la libmsn_la_SOURCES = $(MSNSOURCES) libmsn_la_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = libmsn.la libmsn_la_SOURCES = $(MSNSOURCES) libmsn_la_LIBADD = $(GLIB_LIBS) endif AM_CPPFLAGS = \ -I$(top_srcdir)/libpurple \ -I$(top_builddir)/libpurple \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS)