We need to update the parser-line pointer on realloc and do not
initialize the token array til after the potensial realloc in
bb_get_chunk_with_continuation().
While here, also replace a realloc() with malloc() where pointer always
is NULL.
Signed-off-by: Natanael Copa natanael.c...@gmail.com
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Folks,
we are proud to announce the availability of prelink support for uClibc.
This work required a big effort from STMicroelectronics uClibc team,
especially my colleague Filippo Arcidiacono, and we really would like to
upstream.
We have just
This fixes issue introduced by 72e1a1ce186c39f07282398e2af9eb0253e60f15
This should also fix the following testcase to exit with error rather
than cause an endless loop.
int main(void) {
if (getservbyname(non-existing, udp) == NULL)
err(1, getservbyname);
return
We must always initialize line pointer since data pointer might
have changed due to a realloc (in getserv.c for example).
Signed-off-by: Natanael Copa natanael.c...@gmail.com
---
libc/misc/internals/parse_config.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git