Its show run time error(SIGSEGV). Please help me

#include <stdio.h>
#include<string.h>

int main()
{
int t,k;
scanf("%d",&t);

for(k=0;k<t;k++)
{

int safe_mark_x,safe_mark_y,address_x,address_y,movment_no;
scanf("%d %d",&safe_mark_x,&safe_mark_y);
scanf("%d %d",&address_x,&address_y);
scanf("%d",&movment_no);

char move[movment_no];
scanf("%s",move);

int i=0,r_count=0,l_count=0,u_count=0,d_count=0;
while(move[i]!='\0')
{
    if(move[i]=='R')
    {
        r_count++;
    }
    else if(move[i]=='L')
    {
        l_count++;
    }
    else if(move[i]=='U')
    {
        u_count++;
    }
    else if(move[i]=='D')
    {
        d_count++;
    }
    i++;
}

int x_position=(r_count - l_count);
int y_position=(u_count - d_count);

if(x_position<0 || y_position<0 || x_position>safe_mark_x || y_position>safe_mark_y)
{
	printf("Case %d:DANGER\n",k+1);
}
else if(x_position==address_x && y_position==address_y)
{
    printf("Case %d:REACHED\n",k+1);
}
else
{
    printf("Case %d:SOMEWHERE\n",k+1);
}
}

return 0;

}