Mercurial > gnulib
view modules/xomap @ 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 | eb287ca6dd6c |
children |
line wrap: on
line source
Description: Abstract ordered map data type, with out-of-memory checking. Files: lib/gl_xomap.h lib/gl_xomap.c Depends-on: omap extern-inline stdbool xalloc-die configure.ac: Makefile.am: lib_SOURCES += gl_xomap.h gl_xomap.c Include: "gl_xomap.h" License: GPL Maintainer: all