Uploaded image for project: 'netX Transport DLL for Windows'
  1. netX Transport DLL for Windows
  2. NXTDLL-40

[netXAPI] - Missing calling convention definition on callbacks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V0.10.0.0
    • Fix Version/s: V0.10.1.0
    • Component/s: General
    • Labels:
      None
    • Account:
      SDO Transport, Diagnostic (SDOTRANSPO)

      Description

      Calling conventions are missing in PFN_NXAPI_PROGRESS_CALLBACK / PFN_NXAPI_BROWSE_CALLBACK are missing a calling convention. This may result in a stack corruption if a user uses cdecl instead of stdcall, as internally the function pointer is passed to xChannelDownload which expects a stdcall function pointer.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: