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

Jeff McKenna noreply at github.com
Fri Oct 21 07:41:34 PDT 2022


  Branch: refs/heads/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


  Commit: cd3a5f42e9c33f9ba6b80bf828ecfd571841cd88
      https://github.com/MapServer/MapServer/commit/cd3a5f42e9c33f9ba6b80bf828ecfd571841cd88
  Author: Jeff McKenna <jmckenna at gatewaygeomatics.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:
  -----------
  Merge pull request #6737 from MapServer/backport-6733-to-branch-8-0

[Backport branch-8-0] msMapComputeGeotransform(): avoid (harmless) potential floating-point division by zero


Compare: https://github.com/MapServer/MapServer/compare/de5be054aa85...cd3a5f42e9c3


More information about the MapServer-commits mailing list