A licensee that modifies a computer program, other than by using a capability of the program intended for that purpose in the ordinary course, does not invalidate any warranty regarding performance of an unmodified copy but does invalidate any warranties, express or implied, regarding performance of the modified copy. A modification occurs if a licensee alters code in, deletes code from, or adds code to the computer program.
Md. Code, CL § 22-407