Opened 8 years ago

Closed 8 years ago

#6455 closed defect (fixed)

gdal_translate -scale random behaviour

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.5
Component: Utilities Version: 1.11.0
Severity: normal Keywords:
Cc:

Description

Reported as https://lists.osgeo.org/pipermail/gdal-dev/2016-April/044100.html

Basically -scale without arguments (no src_min, src_max or src_min, src_max, dst_min, dst_max) relies on unitialized memory, that can sometimes believe that src_min/src_max is specified and use random bounds.

The issue exists since GDAL 1.11.0

Change History (1)

comment:1 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

trunk r33966, branches/2.1 r33967, branches/2.0 r33968, branches/1.11 r33969 "gdal_translate: fix random behaviour when -scale is used without source bounds (#6455)"

Note: See TracTickets for help on using tickets.