Wiktionary
fencepost problem
n. (context computing English) In computer programming, a problem dealing with how to treat the initial or boundary values of a discrete problem.