TORONTO (Reuters) - BlackBerry Ltd has agreed to offer anti-hacking software from a startup that last year discovered a major Android bug, it said on Wednesday, as the once-dominant smartphone company seeks to leverage ties to corporate and government clients to boost its software revenue.