Members

  • This project does not have any members.

Watchers

  • This project does not have any watchers.

Details

Description

C++ related stuff

Recent Activity

Aug 8 2018

aheinecke closed T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp as Resolved.
Aug 8 2018, 9:33 AM · C++, gpgme, Bug Report
aheinecke added a commit to T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp: rM3b782443600e: cpp: Fix use after free in gencardkeyinteractor.
Aug 8 2018, 9:29 AM · C++, gpgme, Bug Report
aheinecke added a comment to T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp.

Thanks for the report. I've commited a fix. (Returning the c_str here is ok as the data is not meant to be modified once "action" is called)
Please let us know if you find additional issues.

Aug 8 2018, 9:28 AM · C++, gpgme, Bug Report

Aug 7 2018

rkovacs created T4094: [GPGME] Use-after-free problem in gpggencardkeyinteractor.cpp.
Aug 7 2018, 7:26 PM · C++, gpgme, Bug Report

Jun 21 2018

werner added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Not really. off_t is a real portability problem and this why we moved that problem out of the GPGME ABI to the application. Thus the application needs to care about mapping gpgme_off_t to whatever off_t it uses. Without that we can't provide a stable _and_ toolchain independent ABI.

Jun 21 2018, 9:28 AM · Windows, C++, gpgme, Bug Report

Jun 20 2018

aheinecke added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Thank you for pointing this out.

Jun 20 2018, 9:07 PM · Windows, C++, gpgme, Bug Report
wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Following patch fixes the issue.

Jun 20 2018, 7:08 PM · Windows, C++, gpgme, Bug Report

May 29 2018

wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Maybe the off_t mess comes from following line

May 29 2018, 3:05 PM · Windows, C++, gpgme, Bug Report
aheinecke changed the status of T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW from Open to Testing.

The gpgme c api already had a convenience function gpgme_data_rewind to do data.seek (0, SEEK_SET); As this is by far the most common seek operation. KMymoney also only uses such seeks.

May 29 2018, 9:29 AM · Windows, C++, gpgme, Bug Report
aheinecke added a commit to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW: rM618aa7f08db4: cpp: Add gpgme_data_rewind to cpp API.
May 29 2018, 9:21 AM · Windows, C++, gpgme, Bug Report

May 28 2018

wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

So what the error tells us is that "off_t" is defined as long in the declaration but as something else in the definition.

But how can that be? data.cpp includes the data.h header so they both should have the same definition of off_t.

The only thing I could imagine is that something which is included in the cpp but not in the header undef's off_t and defines it to something else.

Or more likely that the archive was compiled with a different definition of off_t then what is included in the headers when kmymoney is built.

Are you using the same mingw version as the buildchain which compiles the gpgme binary?

May 28 2018, 6:52 PM · Windows, C++, gpgme, Bug Report
aheinecke claimed T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

May 28 2018, 4:43 PM · Windows, C++, gpgme, Bug Report
werner triaged T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW as Normal priority.

You are not cross-compiling. This is not suggested and I don't have the environment to replicate this. Maybe @aheinecke can help.

May 28 2018, 2:53 PM · Windows, C++, gpgme, Bug Report
werner set the color for C++ to Orange.
May 28 2018, 2:51 PM