[mapserver-commits] [MapServer/MapServer] ba2b03: msMapComputeGeotransform(): avoid (harmless) poten...

Even Rouault noreply at github.com
Fri Oct 21 02:20:43 PDT 2022


  Branch: refs/heads/backport-6733-to-branch-8-0
  Home:   https://github.com/MapServer/MapServer
  Commit: ba2b036c04baabec4f440501ab7a5082455100eb
      https://github.com/MapServer/MapServer/commit/ba2b036c04baabec4f440501ab7a5082455100eb
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M mapobject.c
    M mapserver.h
    M mapwcs.cpp
    M mapwcs20.cpp
    M msautotest/renderers/expected/labelrot.png
    M msautotest/wxs/expected/wcs_20_getcov_trim_x_y_both_1px.tif
    M msautotest/wxs/expected/wcs_20_multi_getcov_trim_x_to_1px.tif
    M msautotest/wxs/expected/wcs_20_multi_getcov_trim_y_to_1px.tif
    M msautotest/wxs/expected/wcs_20_post_getcov_trim_x_y_both_1px.tif
    M msautotest/wxs/expected/wcs_mask_20_getcov_reproj.dat
    M msautotest/wxs/expected/wcs_mask_20_getcov_trim_x_y_both_1px.tif

  Log Message:
  -----------
  msMapComputeGeotransform(): avoid (harmless) potential floating-point division by zero

Also add msMapComputeGeotransformEx() that can be used to properly
generate rasters of width or height 1 (refs #3857)

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52480




More information about the MapServer-commits mailing list