Skip to content

Commit

Permalink
QJST fix for 912 structure size change
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmmqmet committed Apr 29, 2019
1 parent 5d9daf9 commit b4c6395
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ Sep 2018 (v5.0.0)

Mar 2019 (v5.1.0)
* Add support for MQ 9.1.2 zHyperWrite

Apr 2019 (v5.1.1)
* The 912 changes broke QJST printing
Binary file modified bin/aix/convH
Binary file not shown.
Binary file modified bin/aix/mqsmfcsv
Binary file not shown.
Binary file modified bin/linux/convH
Binary file not shown.
Binary file modified bin/linux/mqsmfcsv
Binary file not shown.
Binary file modified bin/win/mqsmfcsv.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/printQCST.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void printQCST(qcst *p)
ADDU32 ("XmitQ_Empty_Count",p->qcstqetc);
ADDU32 ("Batch_Interval" ,p->qcstcbit);
ADDU32 ("Batch_Data_Limit",p->qcstcbdl);
ADDU32 ("Dispatcher_Numer",p->qcstdspn);
ADDU16 ("Dispatcher_Numer",p->qcstdspn);

SMFPRINTSTOP;
return;
Expand Down
2 changes: 1 addition & 1 deletion src/printQJST.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void printQJST(qjst *p)
}
}

if (conv16(p->qjstll)>=sizeof(qjst))
if (conv16(p->qjstll)>=offsetof(qjst,qjstio[0]))
{
for (i=0;i<2;i++)
{
Expand Down

0 comments on commit b4c6395

Please sign in to comment.