[GRASS-git] [OSGeo/grass] 8070c6: lib: Use the full string length in strncmp() calls...

Denis Ovsienko noreply at github.com
Tue Nov 17 08:53:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 8070c64c3aa4fb7ad5f0efbe0f4acedd6e6399ee
      https://github.com/OSGeo/grass/commit/8070c64c3aa4fb7ad5f0efbe0f4acedd6e6399ee
  Author: Denis Ovsienko <denis at ovsienko.info>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M lib/gis/open.c
    M lib/vector/Vlib/ascii.c
    M lib/vector/Vlib/header.c

  Log Message:
  -----------
  lib: Use the full string length in strncmp() calls (#1060)

The counts were off by one. Checking all characters now.




More information about the grass-commit mailing list