Debian Bug report logs - #569258
obex-data-server: segfault when trying to send a file

version graph

Package: obex-data-server; Maintainer for obex-data-server is Filippo Giunchedi <filippo@debian.org>; Source for obex-data-server is src:obex-data-server.

Reported by: Darren Salt <devspam@moreofthesa.me.uk>

Date: Thu, 11 Feb 2010 00:45:02 UTC

Severity: normal

Tags: patch

Found in version obex-data-server/0.4.5-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Filippo Giunchedi <filippo@debian.org>:
Bug#569258; Package obex-data-server. (Thu, 11 Feb 2010 00:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Darren Salt <linux@youmustbejoking.demon.co.uk>:
New Bug report received and forwarded. Copy sent to Filippo Giunchedi <filippo@debian.org>. (Thu, 11 Feb 2010 00:45:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Darren Salt <linux@youmustbejoking.demon.co.uk>
To: submit@bugs.debian.org
Subject: obex-data-server: segfault when trying to send a file
Date: Wed, 10 Feb 2010 23:54:30 +0000
[Message part 1 (text/plain, inline)]
Package: obex-data-server
Version: 0.4.5-1
Tags: patch

When trying to send a file to a phone (transfer initiated by the phone),
obex-data-server was reliably segfaulting. A debuggable build showed that
this was occurring in strcmp(), called from ods-obex.c:1019, due to
obex_content->type being NULL.

With that fixed, transfer was being reported as "not allowed"; this turned
out to be because both ->type and ->local were NULL. Setting ->local to the
full path of the file fixes this, allowing normal completion of the transfer.

(These problems were observed with two different Samsung phones.

-- 
| Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army
| + This comment has been censored.

How do frogs die? They ker-mit suicide...

[obex-samsung.patch (application/octet-stream, attachment)]

Changed Bug submitter to 'Darren Salt <devspam@moreofthesa.me.uk>' from 'Darren Salt <linux@youmustbejoking.demon.co.uk>' Request was from Darren Salt <devspam@moreofthesa.me.uk> to control@bugs.debian.org. (Fri, 08 Jun 2012 04:30:09 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 20:17:05 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.