Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F23020522
D404.id1232.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1005 B
Subscribers
None
D404.id1232.diff
View Options
Index: lang/qt/src/dn.cpp
===================================================================
--- lang/qt/src/dn.cpp
+++ lang/qt/src/dn.cpp
@@ -37,6 +37,8 @@
#include "dn.h"
+#include <strings.h>
+
static const struct {
const char *name;
const char *oid;
@@ -165,7 +167,7 @@
for (unsigned int i = 0; i < numOidMaps; ++i)
if (!strcasecmp((char *)p, oidmap[i].oid)) {
free(p);
- p = strdup(oidmap[i].name);
+ p = qstrdup(oidmap[i].name);
break;
}
array->key = p;
Index: lang/qt/tests/t-support.h
===================================================================
--- lang/qt/tests/t-support.h
+++ lang/qt/tests/t-support.h
@@ -42,7 +42,7 @@
char *getPassphrase(const char * /*useridHint*/, const char * /*description*/,
bool /*previousWasBad*/, bool &/*canceled*/) Q_DECL_OVERRIDE
{
- return strdup("abc");
+ return qstrdup("abc");
}
};
} // namespace GpgME
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 11, 6:21 PM (6 h, 33 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ff/4a/1c88a53c8173977058d389c1aef5
Attached To
D404: 932_qgpgme.diff
Event Timeline
Log In to Comment