In a landmark ruling Wednesday, a New York appeals court upheld the state's red-flag law against a challenge to the law's constitutionality, the first New York appeals court to address this question.