[BZ #4074]
* nscd/pwdcache.c (cache_addpw): In case a record changed on refresh, adjust key_copy.
This commit is contained in:
parent
0f7769f736
commit
61705e06e1
@ -1,5 +1,9 @@
|
|||||||
2007-02-21 Ulrich Drepper <drepper@redhat.com>
|
2007-02-21 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #4074]
|
||||||
|
* nscd/pwdcache.c (cache_addpw): In case a record changed on
|
||||||
|
refresh, adjust key_copy.
|
||||||
|
|
||||||
[BZ #4070]
|
[BZ #4070]
|
||||||
* stdio-common/printf_fp.c (___printf_fp): Handle a few more
|
* stdio-common/printf_fp.c (___printf_fp): Handle a few more
|
||||||
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
|
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
|
||||||
|
@ -274,6 +274,7 @@ cache_addpw (struct database_dyn *db, int fd, request_header *req,
|
|||||||
{
|
{
|
||||||
/* Adjust pointer into the memory block. */
|
/* Adjust pointer into the memory block. */
|
||||||
cp = (char *) newp + (cp - (char *) dataset);
|
cp = (char *) newp + (cp - (char *) dataset);
|
||||||
|
key_copy = (char *) newp + (key_copy - (char *) dataset);
|
||||||
|
|
||||||
dataset = memcpy (newp, dataset, total + n);
|
dataset = memcpy (newp, dataset, total + n);
|
||||||
alloca_used = false;
|
alloca_used = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user