Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 00:29:22 +0200 (CEST)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170897: libgphoto2: crash listing files from Canon camera
Message-ID:  <20120822222922.F01C63F4A@melamine.cuivre.fr.eu.org>
Resent-Message-ID: <201208222230.q7MMU1uW077420@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170897
>Category:       ports
>Synopsis:       libgphoto2: crash listing files from Canon camera
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 22 22:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Quinot
>Release:        FreeBSD 8.3-STABLE amd64
>Organization:
>Environment:
System: FreeBSD melamine.cuivre.fr.eu.org 8.3-STABLE FreeBSD 8.3-STABLE #4: Sat Jul 14 15:27:47 CEST 2012 thomas@melamine.cuivre.fr.eu.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	With libgphoto2-2.4.13, any attempt to enumerate all images from
	a Canon camera (e.g. "gphoto2 -L", but also occurs with GUI frontends
	such as Digikam) enters an infinite recursion, and ultimately causes
	a crash due to stack exhaustion.
>How-To-Repeat:
	Connect Canon camera. Execute "gphoto2 -L".
>Fix:

	This was fixed upstream:
	http://gphoto.svn.sourceforge.net/viewvc/gphoto/trunk/libgphoto2/libgphoto2/gphoto2-filesys.c?revision=13932&view=markup

	so the solution is to either include this patch in the port, or simply
	upgrade the port to upstream release 2.4.14.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120822222922.F01C63F4A>