Skip to content

Commit aa3b1be

Browse files
committed
usrloc: fix cachedb contact match key size
Reported-by: Haruto Kimura (Stella) (cherry picked from commit 47e027c038d1c699bb1e5ed33731054f58aeffcc)
1 parent 33f4682 commit aa3b1be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/usrloc/urecord.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ static int cdb_build_ucontact_key(str* _ct, ucontact_info_t* _ci)
727727
}
728728

729729
params[np] = puri.u_val[i];
730-
len += pnp->s.len;
730+
len += params[np].len;
731731
}
732732

733733
len += np - 1; /* add separators */

0 commit comments

Comments
 (0)