Skip to content

Commit

Permalink
[BZ #4074]
Browse files Browse the repository at this point in the history
	* nscd/pwdcache.c (cache_addpw): In case a record changed on
	refresh, adjust key_copy.
  • Loading branch information
Ulrich Drepper committed Feb 21, 2007
1 parent 0f7769f commit 61705e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
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]
* stdio-common/printf_fp.c (___printf_fp): Handle a few more
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
Expand Down
1 change: 1 addition & 0 deletions nscd/pwdcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ cache_addpw (struct database_dyn *db, int fd, request_header *req,
{
/* Adjust pointer into the memory block. */
cp = (char *) newp + (cp - (char *) dataset);
key_copy = (char *) newp + (key_copy - (char *) dataset);

dataset = memcpy (newp, dataset, total + n);
alloca_used = false;
Expand Down

0 comments on commit 61705e0

Please sign in to comment.