OK, the problem is a dumb ABI break. LibRaw version 0.19.3 added a new
member to class LibRaw but did not flag it as an ABI change. So existing
users of the library will now construct LibRaw objects slightly too
small, leading to the above heap overrun/corruption when assigning field
'metadata_blocks'.

https://github.com/LibRaw/LibRaw/commit/ec78e397a2

The only fix is to just rebuild users of LibRaw, such as freeimage, and
then the crash goes away.

** Changed in: libraw (Ubuntu)
       Status: In Progress => Won't Fix

** Changed in: libraw (Ubuntu)
       Status: Won't Fix => In Progress

** Bug watch added: github.com/LibRaw/LibRaw/issues #232
   https://github.com/LibRaw/LibRaw/issues/232

** Also affects: libraw via
   https://github.com/LibRaw/LibRaw/issues/232
   Importance: Unknown
       Status: Unknown

** Changed in: freeimage (Ubuntu)
   Importance: Low => Medium

** Changed in: libraw (Ubuntu)
   Importance: Low => Medium

** Changed in: freeimage (Ubuntu)
       Status: In Progress => Triaged

** Changed in: libraw (Ubuntu)
       Status: In Progress => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1838387

Title:
  i386 testAPI in freeimage 3.18.0+ds2 crashes with proposed libraw
  0.19.3-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/libraw/+bug/1838387/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to