mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-03 22:53:37 +08:00
* inet/rexec.c (rexec_af): If we have no canonical name don't
proceed further [Coverity CID 86]. * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf, not to NULL [Coverity CID 88].
This commit is contained in:
parent
616d91335a
commit
053f7b2b47
@ -1,3 +1,11 @@
|
|||||||
|
2006-04-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* inet/rexec.c (rexec_af): If we have no canonical name don't
|
||||||
|
proceed further [Coverity CID 86].
|
||||||
|
|
||||||
|
* iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf,
|
||||||
|
not to NULL [Coverity CID 88].
|
||||||
|
|
||||||
2006-04-06 Ulrich Drepper <drepper@redhat.com>
|
2006-04-06 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* elf/ldconfig.c (main): Use rawmemchr instead of strchr.
|
* elf/ldconfig.c (main): Use rawmemchr instead of strchr.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Convert using charmaps and possibly iconv().
|
/* Convert using charmaps and possibly iconv().
|
||||||
Copyright (C) 2001, 2005 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
|
||||||
|
|
||||||
@ -488,7 +488,7 @@ process_fd (struct convtable *tbl, int fd, FILE *output)
|
|||||||
process it in one step. */
|
process it in one step. */
|
||||||
static char *inbuf = NULL;
|
static char *inbuf = NULL;
|
||||||
static size_t maxlen = 0;
|
static size_t maxlen = 0;
|
||||||
char *inptr = NULL;
|
char *inptr = inbuf;
|
||||||
size_t actlen = 0;
|
size_t actlen = 0;
|
||||||
|
|
||||||
while (actlen < maxlen)
|
while (actlen < maxlen)
|
||||||
|
@ -87,8 +87,11 @@ rexec_af(ahost, rport, name, pass, cmd, fd2p, af)
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
*ahost = ahostbuf;
|
*ahost = ahostbuf;
|
||||||
} else
|
} else {
|
||||||
*ahost = NULL;
|
*ahost = NULL;
|
||||||
|
__set_errno (ENOENT);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
ruserpass(res0->ai_canonname, &name, &pass);
|
ruserpass(res0->ai_canonname, &name, &pass);
|
||||||
retry:
|
retry:
|
||||||
s = __socket(res0->ai_family, res0->ai_socktype, 0);
|
s = __socket(res0->ai_family, res0->ai_socktype, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user