[SCM] OCE packaging branch, upstream, updated. OCE-0.6.0-230-g17bea23
tpaviot
tpaviot at gmail.com
Fri Feb 24 18:50:44 UTC 2012
The following commit has been merged in the upstream branch:
commit fe35e415015e203a76c72c26785ada5f140619e3
Author: tpaviot <tpaviot at gmail.com>
Date: Thu Jan 12 22:07:34 2012 +0100
[cppcheck-error-fix][unitialized-variable]
[OSD/OSD_Host.cxx:183]: (error) Uninitialized variable: noaddress
diff --git a/src/OSD/OSD_Host.cxx b/src/OSD/OSD_Host.cxx
index 041cc82..4add358 100644
--- a/src/OSD/OSD_Host.cxx
+++ b/src/OSD/OSD_Host.cxx
@@ -180,7 +180,7 @@ TCollection_AsciiString OSD_Host::InternetAddress(){
struct utsname info;
uname(&info);
char noaddress[100];
- strcat(noaddress,"NO-ETHERNET-ADDRESS-AVAILABLE-ON-");
+ strcpy(noaddress,"NO-ETHERNET-ADDRESS-AVAILABLE-ON-");
TCollection_AsciiString result(strcat(noaddress,info.sysname));
return (result);
}
--
OCE packaging
More information about the debian-science-commits
mailing list