#1798 closed Bug (fixed)
TM crashes when receiving malformed JSON packet
Reported by: | KyleK | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | 1.50 |
Component: | libtransmission | Version: | 1.42 |
Severity: | Major | Keywords: | |
Cc: |
Description
I was sending a JSON packet of this format to Transmission:
{" "method": "torrent-add", "arguments": { "metainfo": "<metainfo>" "paused": 1 } }
Notice the missing comma after the metainfo value.
When adding the comma, everything is fine.
Unfortunately I couldn't pinpoint the correct spot where it crashed, due to gdb currently not working on my NAS.
Let me know if you need more info.
Attachments (2)
Change History (6)
Changed 12 years ago by charles
comment:1 Changed 12 years ago by charles
- Milestone changed from None Set to 1.50
- Status changed from new to assigned
comment:2 Changed 12 years ago by charles
fixed in trunk in r7853.
comment:3 Changed 12 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed
fixed in 1.5x in r7855.
comment:4 Changed 12 years ago by charles
- Severity changed from Normal to Major
Note: See
TracTickets for help on using
tickets.
backtrace of the crash