On 01/30/2012 03:43 PM, Lionel Elie Mamane wrote:
I attach here the "less invasive" variant originally meant for
libreoffice-3-5.

My SQL knowledge is actually zero. For example, I have no idea where to look to verify that for some SQL_ATTR_CURSOR_TYPE, say, SQLGetStmtAttr expects to find a buffer of type SQLULEN to write into.

That said, looking at the less invasive patch, it appears to always replace towards potentially larger types (sal_uInt32/SQLUINTEGER -> SQLULEN), so should at least resolve any buffer overruns.

So you can count this in as a layman's "looks good, with fingers crossed."

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to