On 16.07.2016 00:44, Hartmut Knaack wrote:
> Appearance
> ==========
> In my test case, ufraw crashes with the message "Segmentation fault (core 
> dumped)", when I open a Raw image of a camera which is unsupported by 
> lensfun, and select in the lens correction tab the model "PanoTools Lens 
> Model".
>

Thanks for your report.

> Details
> =======
> By debugging lfModifier::lfModifier I figured that crop is set to zero by 
> ufraw in case that no lensfun profile exists for the specific camera.

I don't understand why ufraw tries to run the lfModifier if there is no 
lensfun profile or crop factor available? Both are essential to get any 
meaningful output from the lfModifier.

BTW: Is the *lens argument set to NULL in this case?

> Suggested fix
> =============
> Check variables used as divisor for being non-zero before engaging a 
> division. Either return an error condition or set the variable to a sane 
> default value.
>

Well, the question is what happens afterwards. If ufraw feeds a crop 
factor of 0 without calibration data, what's the expected outcome?

Sebastian


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to