Modify ↓
Ticket #650 (closed defect: fixed)
Bitlbee segfaults due to twitter protocol
| Reported by: | wahjava@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | BitlBee | Version: | 1.2.7 |
| Keywords: | Cc: | ||
| IRC client+version: | Client-independent | Operating System: | FreeBSD |
| OS version/distro: | 8.0-RELEASE-p3 |
Description
When the <status> tag in the timelines doesn't have an associated <user> tag (which happens due to a bug in StatusNet where user profile is deleted without deleting the notice), Bitlbee segfaults. The attached diff fixes this issue for me.
Thanks Ashish SHUKLA -- P.S. The issue isn't OS specific.
Attachments
Change History
Changed 22 months ago by wahjava@…
-
attachment
patch-protocols_twitter_twitter__lib.c
added
comment:1 Changed 22 months ago by wilmer
- Status changed from new to closed
- Resolution set to fixed
Whoops. Thanks for fixing that. Submitted in changeset:devel,607. I went for a slightly different approach, checking for NULL pointers inside the _free functions.
There may very well be more bugs like that there. :-/
Note: See
TracTickets for help on using
tickets.

diff for protocols/twitter/twitter_lib.c