The Attorney-Client Privelege is not "everything between lawyer and client is secret", there are exceptions. One expection that's been around for awhile is that the client can't use the the lawyer to do other crimes- one of which might be with holding knowledge of a future terrorist act.