Mercurial > gnulib
view modules/popen-safer @ 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 | 637f3a63efbd |
children |
line wrap: on
line source
Description: popen function that avoids clobbering std{in,out,err}. Files: lib/stdio--.h lib/stdio-safer.h lib/popen-safer.c Depends-on: open popen unistd-safer configure.ac: gl_MODULE_INDICATOR([popen-safer]) Makefile.am: lib_SOURCES += popen-safer.c Include: "stdio-safer.h" License: GPL Maintainer: Eric Blake