Opened 13 years ago

Closed 13 years ago

#1177 closed Bug (fixed)

transmission-remote -a segfaults on nonexistent filenames

Reported by: der_lunz Owned by: charles
Priority: Normal Milestone: 1.33
Component: Daemon Version: 1.32
Severity: Normal Keywords:
Cc:

Description

When trying to add a torrent file using 'transmission-remote -a /pathto/nonexistingfile' transmission-remote segfaults.

It seems that nonexsisting files are not handled in daemon/remote.c. Especially remote.c:readargs:225 and remote.c:getEncodedMetaInfo:129.

Attachments (1)

fix-segfault-when-adding-nonexisting-file.diff (1.3 KB) - added by der_lunz 13 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 13 years ago by charles

  • Milestone changed from None Set to 1.33
  • Status changed from new to assigned

Thanks for the patch.

comment:2 Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

trunk: r6481 1.3x: r6482

Note: See TracTickets for help on using tickets.