Project

General

Profile

Bug #8870

possible NULL dereference in dt_dev_get_processed_size

Added by Michal Babej almost 8 years ago.

Status:
Fixed
Priority:
Critical
Category:
-
Start date:
08/20/2012
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

in develop/develop.c line 774:

if dev->preview_pipe is NULL, scale gets assigned 1.0f, but in next 2 lines dev->preview_pipe is still dereferenced

Associated revisions

Revision 3fc3f5f8 (diff)
Added by Henrik Andersson over 7 years ago

Rewrote dt_dev_get_processed_size(), to be more error prone and
not assume some specific logic.

Fixes #8870

History

#1 Updated by Tobias Ellinghaus over 7 years ago

  • % Done changed from 0 to 20
  • Target version set to Candidate for next minor release
  • Priority changed from Low to Critical
  • Status changed from New to Triaged

#2 Updated by Henrik Andersson over 7 years ago

  • % Done changed from 20 to 100
  • Assignee set to Henrik Andersson
  • Status changed from Triaged to Fixed

Fixed in commit 3fc3f5f

Also available in: Atom PDF

Go to top