There have been several non-security bugs. So far, I think there has been just one security bug in djbdns: http://securityandthe.net/2009/03/05/security-issue-in-djbdn...
As I understand, there has been less than 10 or so non-security bugs each in djbdns and qmail, defined as programming mistakes, not intentional design decisions people disagree with. This is comparable to (or even better than) Knuth.
I don't think there is a handy list of bugs though.
Or is it actually the case that, since the first public releases of djbdns and qmail, no bugs, security or otherwise, have been found?