Skip to content

Commit

Permalink
- fixed missing memcpy in setting rules attrs (related to yesterday w…
Browse files Browse the repository at this point in the history
…ork)

git-svn-id: svn+ssh://svn.code.sf.net/p/opensips/svn/trunk@7135 689a6050-402a-0410-94f2-e92a70836424
  • Loading branch information
bogdan-iancu committed Aug 13, 2010
1 parent a9f176a commit cbc5ec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/drouting/routing.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ build_rt_info(
if (attrs && strlen(attrs)) {
rt->attrs.s = (char*)(rt+1);
rt->attrs.len = strlen(attrs);
memcpy(rt->attrs.s,attrs,rt->attrs.len);
}
tmp=dstlst;
n=0;
Expand Down

0 comments on commit cbc5ec6

Please sign in to comment.