[unixODBC-dev] non-NTS ini lib support?
sharkey at netrics.com
Mon Mar 7 21:00:44 GMT 2005
Does the ini library really not have any support for non-terminated
For example, the template driver's SQLDriverConnect just calls
iniElement() with a hard coded terminator of '\0' and seems to
ignore the nConnStrIn length argument, which will cause the driver
to read beyond the end of the buffer if the buffer is not null
As far as I can see, all other calls to iniElement are with terminated
strings (usually those returned by GetPrivateProfileString) so they
should be ok, but there needs to be an iniElement routine capable
of not reading past a predetermined length.
More information about the unixODBC-dev