Share

gPhoto

Tracker: Bugs

5 remove hardcoded 1024 files limit - ID: 2055906
Last Update: Comment added ( ctarsoaga )

libgphoto2/gphoto2-list.c contains a hardcoded MAX_ENTRIES define, set to
1024.

This was the source of the following error: while importing images from my
camera (having 12xx images in a single folder), both digikam and gwenview
stopped with strange errors like "file limit exceeded" or "cannot list
folder /store/..." (I have a 4GB SD card)

I think, this is a bad approach (to limit the files list to such a size).
You could use a dynamically allocated vector, not something static
list....


Chris


Cristian Tarsoaga ( ctarsoaga ) - 2008-08-17 13:31

5

Closed

Fixed

Marcus Meissner

libgphoto2

None

Public


Comments ( 5 )

Date: 2009-11-30 21:02
Sender: ctarsoaga

thank guys! thanks a lot for your work!

Cristian


Date: 2009-11-17 16:26
Sender: anywebloco

It'd be awesome if you did!


Date: 2009-11-14 19:19
Sender: marcusmeissnerProject Admin

Depends on the new major 2.5 version. i was too afraid (and it was not
finished) the last months.

I probably just should start the release rpocess


Date: 2009-11-14 11:48
Sender: anywebloco

Any idea when the fix will be released? I'm still getting this error in
2.4.7


Date: 2008-08-19 06:45
Sender: marcusmeissnerProject Admin


its actually already fixed for quite some time, but we did not issue a
release yet (to clear up more stuff).

thanks for the report!


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2008-08-19 06:45 marcusmeissner
resolution_id None 2008-08-19 06:45 marcusmeissner
assigned_to nobody 2008-08-19 06:45 marcusmeissner
close_date - 2008-08-19 06:45 marcusmeissner
category_id None 2008-08-17 19:31 ctarsoaga