Support #265

xatmi.h TPEVCTL and TPSVCINFO service name length fixes

Added by Madars almost 5 years ago. Updated 9 months ago.

Status:ClosedStart date:12/19/2017
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

In xatmi.h:

struct clientid_t {

char clientdata[NDRX_MAX_ID_SIZE+1]; /* +1 for EOS */

< char clientdata[NDRX_MAX_ID_SIZE];
};

We need + EOS, but in current code upgrade compatibility the wrong version is left inside.

History

#1 Updated by Madars almost 5 years ago

  • Subject changed from Fixes for Enduro/X major release (i.e. 6.x) to Scheduled fixes for Enduro/X major release (i.e. 6.x)

#2 Updated by Madars over 1 year ago

struct tpevctl_t
{
    long flags;
    char name1[XATMI_SERVICE_NAME_LENGTH]; /**< +1? In next major release */
    char name2[XATMI_SERVICE_NAME_LENGTH]; /**< +1? In next major release */
};
typedef struct tpevctl_t TPEVCTL;

...

/*
 * service information structure
 */
typedef struct
{
    char        name[XATMI_SERVICE_NAME_LENGTH]; /**< +1? In next major release */
    char        *data;
    long        len;
    long        flags;
    int         cd;
    long    appkey;
    CLIENTID cltid;
    char        fname[XATMI_SERVICE_NAME_LENGTH+1]; /**< function name */
} TPSVCINFO;

#3 Updated by Madars 9 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Release notes

Fixed in Enduro/X version 8.0. WARNING this requires that all user applications are rebuilt to use this new version.

Available from Enduro/X version 8.0.1+.

#4 Updated by Madars 9 months ago

  • Status changed from Resolved to Closed

#5 Updated by Madars 9 months ago

  • Subject changed from Scheduled fixes for Enduro/X major release (i.e. 6.x) to xatmi.h TPEVCTL and TPSVCINFO service name length fixes

Also available in: Atom PDF