[omniORB] omninames 4.1.0 for VC8 crashes when -errlog is specified

John Stevenson-Hoare John.Stevenson-Hoare at ffei.co.uk
Wed May 23 11:19:58 BST 2007


We are trying to use the 4.1.0 version built for VC8 of the omninames
executable.

 

If the -errlog parameter is supplied the program simply crashes out.
After examining the code it appears that the following line in
omniNames.cc is to blame:

 

Line 159:   setvbuf(stderr, 0, _IOLBF, 0);

 

The Visual Studio 2005 documentation states that the 4th argument to
this function, ie size, must be in the range 2 <= size <= INT_MAX
(2147483647). Clearly 0 is not in this range!

 

Having set the value to 2 and re-compiled, the program runs without
error.

 

Regards

John Stevenson-Hoare

Consultant Engineer

FFEI Ltd.

 


______________________________________________________________________

CONFIDENTIALITY AND DISCLAIMER NOTICE

This message and any attachment is confidential and is protected by copyright. If you are not the intended recipient, please email the sender or telephone +44 (0)1442 213440 and delete this message and any attachment from your system. Dissemination and or copying of this email is prohibited if you are not the intended recipient.

We believe, but do not warrant, that this email and any attachments are virus free. You should take full responsibility for virus checking.

No responsibility is accepted by FFEI Ltd for personal emails or emails unconnected with FFEI Limited's business.
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070523/a3292d3c/attachment.htm


More information about the omniORB-list mailing list