[added to the 4.1 stable tree] 509: fix printing uninitialized stack memory when OID is empty