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

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


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 9e7bd632e4cd7243ad551e25114bc99915fdd05b
      https://github.com/MapServer/MapServer/commit/9e7bd632e4cd7243ad551e25114bc99915fdd05b
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2022-10-20 (Thu, 20 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: 1de5a97c5d4653cdfe84a07154963a89bba0eefe
      https://github.com/MapServer/MapServer/commit/1de5a97c5d4653cdfe84a07154963a89bba0eefe
  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:
  -----------
  Merge pull request #6733 from rouault/fix_ossfuzz_52480

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


Compare: https://github.com/MapServer/MapServer/compare/db31c5a36cb9...1de5a97c5d46


More information about the MapServer-commits mailing list