FLAC__StreamDecoderTellStatus file_tell_callback_(const FLAC__StreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data)
{
 FLAC__off_t pos;
 (void)client_data;

 if(decoder->private_->file == stdin)
 return FLAC__STREAM_DECODER_TELL_STATUS_UNSUPPORTED;
 else if((pos = ftello(decoder->private_->file)) < 0)
 return FLAC__STREAM_DECODER_TELL_STATUS_ERROR;
 else {
 *absolute_byte_offset = (FLAC__uint64)pos;
 return FLAC__STREAM_DECODER_TELL_STATUS_OK;
 }
}

The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.