From: Peter Howkins Date: Fri, 20 Apr 2018 01:36:24 +0000 (+0100) Subject: dtmail: resolve coverity warnings related to uninitialised members in C++ classes X-Git-Tag: 2.2.4a~72 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f905d253927dad2f5b2675a4bd00d1f2c667d5e0;p=oweals%2Fcde.git dtmail: resolve coverity warnings related to uninitialised members in C++ classes --- diff --git a/cde/programs/dtmail/MotifApp/Application.C b/cde/programs/dtmail/MotifApp/Application.C index c7065151..46c04840 100644 --- a/cde/programs/dtmail/MotifApp/Application.C +++ b/cde/programs/dtmail/MotifApp/Application.C @@ -149,6 +149,10 @@ Application::Application ( char *appClassName ) : _numWindows = 0; _shutdownEnabled = 1; _applicationClass = strdup ( appClassName ); + _appWorkspaceList = NULL; + _lastInteractiveEventTime = 0; + _originalEgid = 0; + _originalRgid = 0; } void Application::initialize ( int *argcp, char **argv ) diff --git a/cde/programs/dtmail/MotifApp/BusyPixmap.C b/cde/programs/dtmail/MotifApp/BusyPixmap.C index a1382da6..42163530 100644 --- a/cde/programs/dtmail/MotifApp/BusyPixmap.C +++ b/cde/programs/dtmail/MotifApp/BusyPixmap.C @@ -69,7 +69,9 @@ #define PIXMAPSIZE 50 BusyPixmap::BusyPixmap ( Widget w ) : - PixmapCycler ( NUMPIXMAPS, PIXMAPSIZE, PIXMAPSIZE ) + PixmapCycler ( NUMPIXMAPS, PIXMAPSIZE, PIXMAPSIZE ), + _gc(NULL), + _inverseGC(NULL) { _w = w; } diff --git a/cde/programs/dtmail/MotifApp/Cmd.C b/cde/programs/dtmail/MotifApp/Cmd.C index 70eba133..ba43a0df 100644 --- a/cde/programs/dtmail/MotifApp/Cmd.C +++ b/cde/programs/dtmail/MotifApp/Cmd.C @@ -82,6 +82,7 @@ Cmd::Cmd ( char *name, char *label, int active ) _activationList = NULL; _deactivationList = NULL; _hasUndo = TRUE; + _previouslyActive = 0; if (label) { _label = strdup(label); diff --git a/cde/programs/dtmail/MotifApp/CmdList.C b/cde/programs/dtmail/MotifApp/CmdList.C index d29c19a8..3793d27d 100644 --- a/cde/programs/dtmail/MotifApp/CmdList.C +++ b/cde/programs/dtmail/MotifApp/CmdList.C @@ -82,6 +82,7 @@ CmdList::CmdList(char *name, char *label ) : Cmd(name, label, 1) _contents = 0; _numElements = 0; + _pane = NULL; } CmdList::~CmdList() diff --git a/cde/programs/dtmail/MotifApp/MainWindow.C b/cde/programs/dtmail/MotifApp/MainWindow.C index 4ec2dd9f..25b184aa 100644 --- a/cde/programs/dtmail/MotifApp/MainWindow.C +++ b/cde/programs/dtmail/MotifApp/MainWindow.C @@ -107,6 +107,10 @@ MainWindow::MainWindow( char *name, Boolean allowResize ) : UIComponent ( name ) _window_invert = NULL; _icon = 0; _allow_resize = allowResize; + _last_state = 0; + _flash_owin = 0; + _flash_iwin = 0; + memset(&_window_attributes, 0, sizeof(XWindowAttributes)); assert ( theApplication != NULL ); // Application object must exist // before any MainWindow object diff --git a/cde/programs/dtmail/MotifApp/SelectFileCmd.C b/cde/programs/dtmail/MotifApp/SelectFileCmd.C index 84678781..f163151b 100644 --- a/cde/programs/dtmail/MotifApp/SelectFileCmd.C +++ b/cde/programs/dtmail/MotifApp/SelectFileCmd.C @@ -108,6 +108,8 @@ SelectFileCmd::SelectFileCmd (const char * name, _cancel_clientData = NULL; _fileBrowser = NULL; _parentWidget = parent; + _hidden_button = NULL; + _directory = NULL; } SelectFileCmd::SelectFileCmd (const char * name, @@ -130,6 +132,8 @@ SelectFileCmd::SelectFileCmd (const char * name, _cancel_clientData = cancel_clientData; _fileBrowser = NULL; _parentWidget = parent; + _hidden_button = NULL; + _directory = NULL; } SelectFileCmd::~SelectFileCmd() diff --git a/cde/programs/dtmail/dtmail/AttachArea.C b/cde/programs/dtmail/dtmail/AttachArea.C index c4848173..b0999008 100644 --- a/cde/programs/dtmail/dtmail/AttachArea.C +++ b/cde/programs/dtmail/dtmail/AttachArea.C @@ -162,6 +162,34 @@ AttachArea::AttachArea ( _attach_area_selection_state = AA_SEL_NONE; _cache_single_attachment = NULL; + _no_selected_label = NULL; + _selected_label = NULL; + rowOfAttachmentsStatus = NULL; + _attachments_status = NULL; + _attachments_summary = NULL; + _mailbox = NULL; + _attachAreaWidth = 0; + _attachAreaHeight = 0; + _rc = NULL; + _sw = NULL; + _vsb = NULL; + _message = NULL; + _clipWindow = NULL; + _open = NULL; + _saveas = NULL; + _selectall = NULL; + _unselectall = NULL; + _menuBar = NULL; + _background = 0; + _foreground = 0; + _appBackground = 0; + _appForeground = 0; + _fileCmdList = NULL; + _editCmdList = NULL; + _size_selected_label = NULL; + _format_button = NULL; + + } void diff --git a/cde/programs/dtmail/dtmail/Attachment.C b/cde/programs/dtmail/dtmail/Attachment.C index 74a91da2..47136515 100644 --- a/cde/programs/dtmail/dtmail/Attachment.C +++ b/cde/programs/dtmail/dtmail/Attachment.C @@ -183,6 +183,24 @@ Attachment::Attachment( _label = XmStringCreateLocalized(strrchr(name, '/')+1); _key = theRoamApp.session()->session()->newObjectKey(); + + myIcon = NULL; + _background = 0; + _foreground = 0; + _attachmentWidth = 0; + _attachmentHeight = 0; + _positionX = 0; + _positionY = 0; + _deleted = false; + _selected = false; + _row = 0; + _saveAsFilename = NULL; + _ce_name = NULL; + _ce_type = NULL; + _type = 0; + _binary = false; + _executable = false; + } Attachment::~Attachment( diff --git a/cde/programs/dtmail/dtmail/ComposeCmds.C b/cde/programs/dtmail/dtmail/ComposeCmds.C index 0a6d695d..dfac3ae2 100644 --- a/cde/programs/dtmail/dtmail/ComposeCmds.C +++ b/cde/programs/dtmail/dtmail/ComposeCmds.C @@ -337,6 +337,7 @@ ComposeCmd::ComposeCmd( RoamMenuWindow *window ) : ComposeFamily( name, label, active, window ) { + _parent = NULL; } // Put up a blank compose window. @@ -367,6 +368,7 @@ ForwardCmd::ForwardCmd( ) : ComposeFamily(name, label, active, window) { _forward = forward; + _parent = NULL; } // Forward or Include selected messages. @@ -439,6 +441,7 @@ ReplyCmd::ReplyCmd ( ) : ComposeFamily ( name, label, active, window ) { _include = include; + _parent = NULL; } // For each message selected, reply to sender. @@ -574,6 +577,7 @@ ReplyAllCmd::ReplyAllCmd( ) : ComposeFamily( name, label, active, window ) { _include = include; + _parent = NULL; } // For each message selected, reply to everybody. diff --git a/cde/programs/dtmail/dtmail/DmxMailbox.C b/cde/programs/dtmail/dtmail/DmxMailbox.C index c0912c00..a37640a6 100644 --- a/cde/programs/dtmail/dtmail/DmxMailbox.C +++ b/cde/programs/dtmail/dtmail/DmxMailbox.C @@ -82,6 +82,7 @@ DmxMailbox::DmxMailbox (char *filename) _mbox = NULL; _messageCount = 0; _fileName = strdup_n(filename); + _message = NULL; } DmxMailbox::~DmxMailbox (void) diff --git a/cde/programs/dtmail/dtmail/DmxPrintOptions.C b/cde/programs/dtmail/dtmail/DmxPrintOptions.C index c7a4736b..18d1ca0a 100644 --- a/cde/programs/dtmail/dtmail/DmxPrintOptions.C +++ b/cde/programs/dtmail/dtmail/DmxPrintOptions.C @@ -217,6 +217,7 @@ DmxPrintOptions::DmxPrintOptions ( _propui_array = new DtVirtArray(10); _propui_array_iterator = 0; _parent = parent; + _prop_source = NULL; // // Create form to hold the printing options diff --git a/cde/programs/dtmail/dtmail/DtMailEditor.C b/cde/programs/dtmail/dtmail/DtMailEditor.C index 9eae4f42..edbc682b 100644 --- a/cde/programs/dtmail/dtmail/DtMailEditor.C +++ b/cde/programs/dtmail/dtmail/DtMailEditor.C @@ -107,6 +107,7 @@ DtMailEditor::DtMailEditor( _dragX = -1; _dragY = -1; _editable = FALSE; + _container = NULL; } diff --git a/cde/programs/dtmail/dtmail/DtMailGenDialog.C b/cde/programs/dtmail/dtmail/DtMailGenDialog.C index 35946165..595cefa3 100644 --- a/cde/programs/dtmail/dtmail/DtMailGenDialog.C +++ b/cde/programs/dtmail/dtmail/DtMailGenDialog.C @@ -88,6 +88,7 @@ DtMailGenDialog::DtMailGenDialog(char *name, Widget parent, int style) _textField = (Widget) NULL; _maxTextlen = 0; _clearText = NULL; + _shroudText = 0; _parentshell = parent; while (_parentshell && !XtIsShell(_parentshell)) diff --git a/cde/programs/dtmail/dtmail/FindDialog.C b/cde/programs/dtmail/dtmail/FindDialog.C index e8f9cf4f..52a6f6f1 100644 --- a/cde/programs/dtmail/dtmail/FindDialog.C +++ b/cde/programs/dtmail/dtmail/FindDialog.C @@ -133,6 +133,7 @@ FindDialog::FindDialog(RoamMenuWindow *parent) : Dialog("find", parent) _roamWindow = parent; _num_text_fields = 4; _num_buttons = 5; + _status_text = NULL; // // Allocate storage for labels, widgets, and data. diff --git a/cde/programs/dtmail/dtmail/IndexedOptionMenu.C b/cde/programs/dtmail/dtmail/IndexedOptionMenu.C index f00b7409..d80f38ea 100644 --- a/cde/programs/dtmail/dtmail/IndexedOptionMenu.C +++ b/cde/programs/dtmail/dtmail/IndexedOptionMenu.C @@ -96,6 +96,9 @@ IndexedOptionMenu::IndexedOptionMenu ( Widget menu; XmString xms; + _strings = NULL; + _data = NULL; + _nmenu_items = nmenu_items; if (nmenu_items && strings != NULL) { diff --git a/cde/programs/dtmail/dtmail/MailRetrievalOptions.C b/cde/programs/dtmail/dtmail/MailRetrievalOptions.C index 1c7f6404..d1719955 100644 --- a/cde/programs/dtmail/dtmail/MailRetrievalOptions.C +++ b/cde/programs/dtmail/dtmail/MailRetrievalOptions.C @@ -130,6 +130,33 @@ MailRetrievalOptions::MailRetrievalOptions ( XmString xms; char *propkey = new char[MAXPATHLEN]; + _password_pui = NULL; + _inboxpath_label = NULL; + _inboxpath_tf = NULL; + _checkfornewmail_label = NULL; + _checkfornewmail_sb = NULL; + _system_tb = NULL; + _server_frame = NULL; + _server_tb = NULL; + _serverframe_form = NULL; + _serverprotocol_label = NULL; + _serverprotocol_iom = NULL; + _servername_label = NULL; + _servername_tf = NULL; + _username_label = NULL; + _username_tf = NULL; + _password_label = NULL; + _password_tf = NULL; + _rememberpassword_tb = NULL; + _removeafterdelivery_tb = NULL; + _retrieveold_tb = NULL; + _custom_frame = NULL; + _custom_tb = NULL; + _customframe_form = NULL; + _customcommand_label = NULL; + _customcommand_tf = NULL; + + _propui_array = new DtVirtArray(10); _propui_array_iterator = 0; _parent = parent; diff --git a/cde/programs/dtmail/dtmail/MsgHndArray.hh b/cde/programs/dtmail/dtmail/MsgHndArray.hh index 726ac99e..e6eb606c 100644 --- a/cde/programs/dtmail/dtmail/MsgHndArray.hh +++ b/cde/programs/dtmail/dtmail/MsgHndArray.hh @@ -33,7 +33,7 @@ extern "C" { class MsgStruct { public: - MsgStruct() {}; + MsgStruct() : indexNumber(0), sessionNumber(0), message_handle(NULL), is_deleted(false) {}; ~MsgStruct() {}; int indexNumber; diff --git a/cde/programs/dtmail/dtmail/OptCmd.C b/cde/programs/dtmail/dtmail/OptCmd.C index 39114eff..7e0dc716 100644 --- a/cde/programs/dtmail/dtmail/OptCmd.C +++ b/cde/programs/dtmail/dtmail/OptCmd.C @@ -147,6 +147,21 @@ OptCmd::OptCmd ( char *name, char *label, int active, Widget parent) : catstr = NULL; CurrentPane = NULL; + mh_pane_list = NULL; + msg_view_pane_list = NULL; + compose_pane_list = NULL; + msg_filing_pane_list = NULL; + vacation_pane_list = NULL; + template_pane_list = NULL; + aliases_pane_list = NULL; + advanced_pane_list = NULL; + mailretrieval_pane_list = NULL; + vaca_sub = NULL; + vaca_msg = NULL; + generalDialog = NULL; + _PrintingOptions = NULL; + _MailRetrievalOptions = NULL; + } void diff --git a/cde/programs/dtmail/dtmail/PasswordDialogManager.C b/cde/programs/dtmail/dtmail/PasswordDialogManager.C index 6eb139d9..e4208969 100644 --- a/cde/programs/dtmail/dtmail/PasswordDialogManager.C +++ b/cde/programs/dtmail/dtmail/PasswordDialogManager.C @@ -55,6 +55,8 @@ PasswordDialogManager::PasswordDialogManager ( char *name ) : { // Empty _pwd[0] = 0; + _user = NULL; + _password = NULL; } Widget PasswordDialogManager::createDialog ( Widget parent ) diff --git a/cde/programs/dtmail/dtmail/RoamApp.C b/cde/programs/dtmail/dtmail/RoamApp.C index 88680d94..647fc4e3 100644 --- a/cde/programs/dtmail/dtmail/RoamApp.C +++ b/cde/programs/dtmail/dtmail/RoamApp.C @@ -1516,6 +1516,33 @@ RoamApp::RoamApp(char *name) : Application (name), _activePrintDisplays(5) { DebugPrintf(2, "RoamApp::RoamApp(%p \"%s\")\n", name, name); theRoamApp = *this; + + _busy_count = 0; + _dialog = NULL; + _errorPrintDisplay = NULL; + _firstSaveYourselfArrived = false; + _options = NULL; + _optionsHandle = NULL; + _mailview = NULL; + _quitSilently = false; + _quitQuickly = false; + _vacation = NULL; + session_fp = NULL; + _shutdownWorkprocID = 0; + _appTimeoutId = 0; + _default_mailbox = NULL; + _glyph_font = NULL; + _glyph_name = NULL; + _mailfiles_folder = NULL; + _mail_session = NULL; + _mail_transport = NULL; + _print_script = NULL; + _system_font = NULL; + _system_fontlist = NULL; + _tt_fd = 0; + _user_font = NULL; + _user_fontlist = NULL; + _default_x_error_handler = NULL; } // Let the destructor of parent Application class handle the diff --git a/cde/programs/dtmail/dtmail/RoamCmds.C b/cde/programs/dtmail/dtmail/RoamCmds.C index da48bca2..666d32b2 100644 --- a/cde/programs/dtmail/dtmail/RoamCmds.C +++ b/cde/programs/dtmail/dtmail/RoamCmds.C @@ -318,6 +318,8 @@ OpenContainerCmd::OpenContainerCmd ( ) : RoamInterruptibleCmd (name, label, active) { _menuWindow = window; + _open_create_flag = DTM_FALSE; + _open_lock_flag = DTM_FALSE; } // Parent's execute() ends up calling derived class's doit() @@ -423,6 +425,10 @@ ConvertContainerCmd::ConvertContainerCmd( _num_converted = 0; _num_to_be_converted = 0; _dialog = NULL; + _criteria = NULL; + _conv_cb = NULL; + _src = NULL; + _dest = NULL; } void @@ -615,6 +621,7 @@ ChooseCmd::ChooseCmd( ) : NoUndoCmd( name, label, active ) { _menuwindow = window; + _msgno = NULL; } void @@ -655,6 +662,7 @@ DeleteCmd::DeleteCmd( ) : Cmd ( name, label, active ) { _menuwindow = window; + _msgno = NULL; } void @@ -892,6 +900,8 @@ UnifiedSelectMailboxCmd::UnifiedSelectMailboxCmd ( this, parent) { + _only_show_mailboxes = DTM_FALSE; + if (! _is_initialized) { FORCE_SEGV_DECL(DtMail::Session, m_session); @@ -1393,6 +1403,8 @@ UndeleteCmd::UndeleteCmd ( _menuwindow = window; _undelFromList = NULL; _fromList = viaDeleteList; + _clientData = NULL; + _num_deleted = 0; } UndeleteCmd::~UndeleteCmd() @@ -1496,6 +1508,9 @@ MoveCopyCmd::MoveCopyCmd( char *name, _menuwindow = menu_window; _copy_button = NULL; _move_button = NULL; + _file_list = NULL; + _file_text = NULL; + _default_button = NULL; } MoveCopyCmd::~MoveCopyCmd() @@ -2240,6 +2255,7 @@ SaveAttachCmd::SaveAttachCmd ( char *name, parent) { _parent = clientData; + _name = NULL; } SaveAttachCmd::SaveAttachCmd ( @@ -2261,6 +2277,7 @@ SaveAttachCmd::SaveAttachCmd ( parent ) { _parent = clientData; + _name = NULL; } SaveAttachCmd::SaveAttachCmd ( @@ -2282,6 +2299,7 @@ SaveAttachCmd::SaveAttachCmd ( parent ) { _parent = clientData; + _name = NULL; } void @@ -3240,6 +3258,7 @@ OtherAliasesCmd::OtherAliasesCmd( int active) : NoUndoCmd (name, label, active) { + _header = NULL; } void diff --git a/cde/programs/dtmail/dtmail/SendMsgDialog.C b/cde/programs/dtmail/dtmail/SendMsgDialog.C index 310adfbf..a00187eb 100644 --- a/cde/programs/dtmail/dtmail/SendMsgDialog.C +++ b/cde/programs/dtmail/dtmail/SendMsgDialog.C @@ -158,6 +158,7 @@ SendMsgDialog::HeaderList::HeaderList(const HeaderList & other) { label = NULL; header = NULL; + value = NULL; show = other.show; form_widget = other.form_widget; label_widget = other.label_widget; diff --git a/cde/programs/dtmail/dtmail/Undelete.C b/cde/programs/dtmail/dtmail/Undelete.C index 9cfd4742..e7fc1712 100644 --- a/cde/programs/dtmail/dtmail/Undelete.C +++ b/cde/programs/dtmail/dtmail/Undelete.C @@ -236,6 +236,13 @@ UndelFromListDialog::UndelFromListDialog ( { assert (theApplication != NULL); _list = NULL; + _undelete_button = NULL; + _close_button = NULL; + _undel_list_button = NULL; + rowOfLabels = NULL; + rowOfButtons = NULL; + rowOfMessageStatus = NULL; + my_owner = NULL; } UndelFromListDialog::~UndelFromListDialog() diff --git a/cde/programs/dtmail/dtmail/ViewMsgDialog.C b/cde/programs/dtmail/dtmail/ViewMsgDialog.C index cbd01ed0..e08ba98b 100644 --- a/cde/programs/dtmail/dtmail/ViewMsgDialog.C +++ b/cde/programs/dtmail/dtmail/ViewMsgDialog.C @@ -98,6 +98,16 @@ DialogShell ("DtMail_SecWin", parent, wc) _attachmentPopupMenuList = NULL; _textPopupMenuList = NULL; + _main = NULL; + _overview = NULL; + _tasks = NULL; + _reference = NULL; + _on_item = NULL; + _using_help = NULL; + _about_mailer = NULL; + _text = NULL; + _msgno = NULL; + assert( theApplication != NULL ); } diff --git a/cde/programs/dtmail/dtmailpr/message.C b/cde/programs/dtmail/dtmailpr/message.C index 314b34de..d76ec4ba 100644 --- a/cde/programs/dtmail/dtmailpr/message.C +++ b/cde/programs/dtmail/dtmailpr/message.C @@ -69,6 +69,10 @@ DmxMsg::DmxMsg (void) isCurrent = B_FALSE; hasAttachments = B_FALSE; isNew = B_FALSE; + msgHandle = NULL; + msgHeader.header_values = NULL; + msgHeader.number_of_names = 0; + bodyParts = NULL; return; } diff --git a/cde/programs/dtmail/libDtMail/Common/DtMailError.C b/cde/programs/dtmail/libDtMail/Common/DtMailError.C index 4650b7b4..c758b9ec 100644 --- a/cde/programs/dtmail/libDtMail/Common/DtMailError.C +++ b/cde/programs/dtmail/libDtMail/Common/DtMailError.C @@ -397,6 +397,7 @@ DtMailEnv::DtMailEnv() _client = NULL; _implClearFunc = NULL; _fatal = DTM_FALSE; + _error_minor_code = DTME_NoError; } #ifdef hpV4 diff --git a/cde/programs/dtmail/libDtMail/Common/DtMailMailBox.C b/cde/programs/dtmail/libDtMail/Common/DtMailMailBox.C index d856dd64..adf1b2a5 100644 --- a/cde/programs/dtmail/libDtMail/Common/DtMailMailBox.C +++ b/cde/programs/dtmail/libDtMail/Common/DtMailMailBox.C @@ -68,6 +68,8 @@ DtMail::MailBox::MailBox(DtMailEnv & error, _callback = cb; _cb_data = clientData; _obj_mutex = MutexInit(); + _mail_box_writable = DTM_FALSE; + _default_mode = 0; } DtMail::MailBox::~MailBox(void) diff --git a/cde/programs/dtmail/libDtMail/Common/Threads.C b/cde/programs/dtmail/libDtMail/Common/Threads.C index f1059b1c..565205cb 100644 --- a/cde/programs/dtmail/libDtMail/Common/Threads.C +++ b/cde/programs/dtmail/libDtMail/Common/Threads.C @@ -246,8 +246,11 @@ Condition::Condition(void) #if defined(POSIX_THREADS) _condition = malloc(sizeof(cond_t)); cond_init((cond_t *)_condition, USYNC_THREAD, NULL); +#else + _condition = NULL; #endif + _state = 0; } Condition::~Condition(void) diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCFormat.C b/cde/programs/dtmail/libDtMail/RFC/RFCFormat.C index afd927f1..046d4117 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCFormat.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCFormat.C @@ -53,6 +53,7 @@ RFCFormat::RFCFormat(DtMail::Session * session) { _session = session; _is_write_bcc = DTM_FALSE; + _use_cr = DTM_FALSE; } RFCFormat::~RFCFormat(void) diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C b/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C index 23360212..c6c23134 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCMailValues.C @@ -71,6 +71,7 @@ RFCValue::RFCValue(const char * str, int size) : DtMailValue(NULL) _value[size] = 0; _decoded = NULL; + _session = NULL; } RFCValue::RFCValue(const char * str, int size, DtMail::Session *s) : DtMailValue(NULL) diff --git a/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C b/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C index 72c9c59c..cd9e4ae2 100644 --- a/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C +++ b/cde/programs/dtmail/libDtMail/RFC/RFCTransport.C @@ -129,6 +129,9 @@ RFCTransport::RFCTransport(DtMailEnv & error, // Set up the handlers so that we are notified when a child // process exits and do the right thing. signalRegister(); + + _error_proc = NULL; + _smd = NULL; } RFCTransport::~RFCTransport(void)