Replace the lines. Don't take any chances with brakes.
You can get pre flaired lines of many lengths at you local flaps and a cheap tubing bender for a couple of bucks.
Measure the lines and get a pre flaired line that is the next size longer. You can put a pigtail in the line near the master to take up the extra if you have to.
Going is good ...stopping is essential.
Rich