[Pdns-users] wildcard throws signal 11
Chris Seufert
chris at shopa.com.au
Wed May 23 04:46:46 UTC 2007
Your a champ, cheers mate. Spend 2 days looking for that problem.
-Chris
bert hubert wrote:
> On Tue, May 22, 2007 at 02:39:31PM +1000, Chris Seufert wrote:
>
>> May 22 11:33:06 /lib/tls/libc.so.6(snprintf+0x35) [0xb7db3365]
>> May 22 11:33:06
>> /usr/sbin/pdns_server(_ZN11GSQLBackend6lookupERK5QTypeRKSsP9DNSPacketi+0x19e)
>> [0x811b18e]
>>
>
>
>> gmysql-basic-query=select * from vpowerdns WHERE dnstype='%s' and data='%s'
>> gmysql-id-query=select * from vpowerdns WHERE dnstype='%s' and data='%s'
>> and siteid='%s'
>> gmysql-any-query=select * from vpowerdns WHERE data='%s'
>> gmysql-any-id-query=select * from vpowerdns WHERE data='%s' and siteid='%s'
>>
>
> Please check all of these queries against the templates in the
> documentation. I think many times where you use %s, you should be using %d
> for a numerical argument. This is sure to cause crashes!
>
> The queries need to match the order, and kind of % statements *exactly*.
>
>
>> Any patch in the works, this is killing me.
>>
>
> In this case, the problem can probably be solved without a aptch.
>
> Good luck!
>
>
More information about the Pdns-users
mailing list