when using SQLBrowseConnect an access violation occurs under NT and unices.

 SQLBrowseConnect
  calls apucpar with NULL driverName_ptr 
   calls pa08GetProfileString( ,,,driverName_ptr(==NULL),, )
which doesn expect to be passed a NULL pointer.

fix: 
in vpa08msc replace
<1515:  ret = (SWORD)API_STRLEN(lpszReturnBuffer);
>1515:  ret = cbReturnBuffer ? (SWORD)API_STRLEN(lpszReturnBuffer) : 0;
<1675:  ret = (SWORD)sp81UCS2strlen ((tsp81_UCS2Char*) lpszReturnBuffer) * charSize;
>1675:  ret = cbReturnBuffer ? (SWORD)sp81UCS2strlen ((tsp81_UCS2Char*) 
>lpszReturnBuffer) * charSize : 0;


nb: this is flagged "PTS 1108230", this seems to be a trouble ticket, is there a way 
to read the memos / browse this infos ? 


regards

wolf nuecker

________________________________________________________________
Lotto online tippen! Egal zu welcher Zeit, egal von welchem Ort.
Mit dem WEB.DE Lottoservice. http://tippen2.web.de/?x=13


Reply via email to