Comments (16)
Ohh! @peterpalau ... can we pair tomorrow to check this?
from pidgin-otrng.
@claucece of course we can
from pidgin-otrng.
Hi @claucece, I think so, I was unable to replicate the issue after the modification.
from pidgin-otrng.
Hi @claucece, it's uploaded
from pidgin-otrng.
I realize that this happens mainly when you are using the prekey-server-docker-compose
, maybe because of the issues with the permissions or something else.
I recently used some accounts from the jabber.otr.im
server and this does not happen.
from pidgin-otrng.
This is one of error that appears when Alice
request private conversation with Bob
:
pidgin: client.c:826: otrng_client_get_client_profile: Assertion `client->client_profile != NULL' failed.
Aborted (core dumped)
from pidgin-otrng.
Hi @claucece, I notice this line: conv->conn
as the culprit ;), looks like conn
contains an invalid memory address. This is invoked in (libotr-ng/client.c):
expiration_time = get_session_expiry_time_from(conv->conn);
I added a validation in order to avoid this behavior:
`if( conv!=NULL && conv->conn!=NULL ){
expiration_time = get_session_expiry_time_from(conv->conn);
if (conv->conn->keys->last_generated < now - expiration_time) {
otrng_client_expire_session(conv);
}
}`
Although conv->conn is still producing the segmentation fault.
from pidgin-otrng.
Thanks @MauroVelasco !
What I did to fix it is:
for (el = client->conversations; el; el = el->next) {
if (!conv) {
return;
}
conv = el->data;
expiration_time = get_session_expiry_time_from(conv->conn);
if (conv->conn->keys->last_generated < now - expiration_time) {
otrng_client_expire_session(conv);
}
}
from pidgin-otrng.
Hi @claucece , this, Did you uploaded, to test it?
from pidgin-otrng.
Hi @claucece, I did the modification in client.c and testing.
from pidgin-otrng.
@MauroVelasco No, I did not upload hahaha.. Did you test it? Did it work?
from pidgin-otrng.
Hi @claucece, yes I did the change as suggested, don't have the issue until now, let you know if the issue comes again.
from pidgin-otrng.
woo!!! awesome! @MauroVelasco .. should we close it?
from pidgin-otrng.
Awesome! Closing it! <3
from pidgin-otrng.
I did not realized that the change is not pushed ahhaha.. want to push @MauroVelasco ?
from pidgin-otrng.
hi @claucece, yeah, sure I'll in minutes
from pidgin-otrng.
Related Issues (20)
- The otrng_plugin_conversation type worries me HOT 3
- Fix the deprecated compile warning HOT 1
- Crash by segmentation fault on fingerprints HOT 4
- In the past: OTR showed the html/rtf tags HOT 3
- OSX: Package 'libffi', required by 'gobject-2.0', not found HOT 11
- Review Test Case Fingerprint authentication HOT 1
- Review Test Case Publication HOT 4
- Publication of prekey material is not trigerred HOT 1
- Annoying message appear every time a message is sent or received HOT 4
- Give more information around what the privacy status means HOT 4
- Create an authors page HOT 8
- Add memory checks and static analyzers HOT 2
- Package 'libffi', required by 'gobject-2.0', not found MACOS-10.12.6 Sierra HOT 1
- Fingerprint verification - the privacy status changes too early HOT 4
- Stop printing messages with links HOT 7
- Ensure that we check the return value always HOT 2
- Incorrectly assuming there is always going to be v3 files HOT 3
- There should not be a way to start a conversation with yourself HOT 1
- Show the ssid HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pidgin-otrng.