Static and dynamic stability criteria during free diffusion in a ternary system