view modules/localeconv-tests @ 17780:4fbd46593c56

obstack: use size_t alignments and check for overflow * lib/obstack.c, lib/obstack.h (_obstack_begin, _obstack_begin_1): * lib/obstack.c (_obstack_begin_worker, _obstack_newchunk): * lib/obstack.h (struct obstack.alignment_mask): Use _OBSTACK_SIZE_T, not int, for alignments. * lib/obstack.c (_obstack_newchunk): Fail if the size calculation overflows, e.g., when adding the alignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 28 Oct 2014 23:58:42 -0700
parents ec061881e329
children
line wrap: on
line source

Files:
tests/test-localeconv.c
tests/signature.h
tests/macros.h

Depends-on:

configure.ac:

Makefile.am:
TESTS += test-localeconv
check_PROGRAMS += test-localeconv