The probability of undetected error when a code is used for error correction and detection

We study the probability of having an undetected error when a linear block code is used to correct up to t errors on a symmetric channel, and the remaining power of the code is used for error detection.