Mercurial > gnulib
view modules/modechange @ 40211:5f58d2ac35ea
unistr/u8-cmp: Fix undefined behaviour.
Reported by Jeffrey Walton <noloader@gmail.com>.
* lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 08 Mar 2019 20:38:22 +0100 |
parents | 62089e9fcc47 |
children |
line wrap: on
line source
Description: Manipulation of mode changes specified by strings (e.g. as first argument of chmod utility). Files: lib/modechange.h lib/modechange.c m4/modechange.m4 Depends-on: stat stat-macros stdbool sys_stat xalloc configure.ac: gl_MODECHANGE Makefile.am: lib_SOURCES += modechange.c Include: "modechange.h" License: GPL Maintainer: Jim Meyering