[unixODBC-support] driver logging

Vinicius vpd at jppa.com.br
Wed Mar 2 18:32:13 GMT 2005


how I unsubscribe this list??

Eric Sharkey escreveu:

>>Yep. However beware, you have to make sure the varargs stuff and the 
>>vsnprintf works on some of the odd platforms that people use this stuff 
>>on.
>>    
>>
>
>I understand that very well.  (I sent you an OpenVMS patch, remember?)
>
>  
>
>>Maybe having a vlogPushMsg would be a way of doing this.
>>    
>>
>
>Yes, it absolutely would have to be a separate function.  I shouldn't
>have used the same name in the example I gave.
>
>The main problem with just changing the behavior of logPushMsg to
>expect a format string followed by additional arguments would be
>that any code using the current logPushMsg() would be exposed to
>format string security vulnerabilities, since they wouldn't be
>expecting to have to escape %'s.
>
>I can code this up, make sure it works on the platforms I support, and
>commit it if you like.
>
>Eric
>_______________________________________________
>unixODBC-support mailing list
>unixODBC-support at easysoft.com
>http://mail.easysoft.com/mailman/listinfo/unixodbc-support
>
>  
>



More information about the unixODBC-support mailing list