summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-01-04 16:29:18 +0100
committerJim Meyering <meyering@redhat.com>2008-01-30 21:34:33 +0100
commit79f0ffc240ee3fe6789a90ec01ae0503aced7927 (patch)
treefd6d5a9c9f487c6f869c2abddf4be05c9c51da72 /COPYING
parent3cda817f6cd73abfed5bdcc567735ad633904d41 (diff)
downloadidutils-79f0ffc240ee3fe6789a90ec01ae0503aced7927.tar.gz
idutils-79f0ffc240ee3fe6789a90ec01ae0503aced7927.tar.bz2
idutils-79f0ffc240ee3fe6789a90ec01ae0503aced7927.zip
Allocate safely.
* libidu/dynvec.c (make_dynvec, dynvec_freeze, dynvec_append): Use xnmalloc, not xmalloc (n * sizeof T). Use xnrealloc, not xrealloc (p, n * sizeof T). * libidu/walker.c (append_strings_to_vector, vectorize_string): Likewise. * libidu/scanners.c (tokenize_args_string): Likewise.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions