Wait what? If you dispose of shares under a buyback you make a capital gain or loss. Yes 45 days but small shareholder exemption for credits <$5000