Use of uninitialized value in exiftool.pl executing listg6

Started by FrankB, August 20, 2024, 11:59:49 AM

Previous topic - Next topic

FrankB

This is really low prio. I was just trying to get info from tag and group names, that might be of use in ExifToolGui, and stumbled upon listg6. Seeing what listg6 does in 11.86 I dont think I have use for it, but I still want to report it.

It appears that somewhere between 11.86 and 12.92 this error was introduced. Sorry I did not go into the trouble of pinpointing exactly what version.

C:\temp>exiftool -ver -listg6
11.86
Groups in family 6:
  int8u string int16u int32u rational64u int8s undef int16s int32s rational64s
  float double ifd unicode complex int64u int64s ifd64

C:\temp>cd \

C:\>exiftool -ver -listg6
12.92
Groups in family 6:
  int8u string int16u int32u rational64u int8s undef int16s int32s rational64s
Use of uninitialized value $taglen in addition (+) at C:\Program Files\ExifToolGUI\exiftool_files\exiftool.pl line 4637.
Use of uninitialized value $tag in print at C:\Program Files\ExifToolGUI\exiftool_files\exiftool.pl line 4641.

Frank

Phil Harvey

Ah, great!  Thanks for this bug report!

I'll fix this ASAP.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

Ah.  The problem is due to the addition of format code 129 (utf8) in the EXIF 3.0 specification added to ExifTool 12.63.  This leaves a gap with a lot of missing EXIF format codes, which is the root of the problem.

Version 12.93 will fix this.

Thanks again.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

FrankB


Phil Harvey

(I just get really happy whenever anyone finds a bug in ExifTool.  :)  Sounds odd, but it's true.)
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).