This creates some bad aliasing artifacts, but that is easily touched up with a blur. One can also use stencil buffer like with the shadow volume technique.
The occurrence of this results in some unwanted aliasing effects, which can be quickly resolved by using a blurring technique. Moreover, it is possible to utilize a stencil buffer in combination with an alternative method.