1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
profanity/src
Michael Vetter f1141932fc Dont manipulate pointer from getenv
Found this when looking to fix bug https://github.com/profanity-im/profanity/issues/1357
Not sure if it is related.

man 3 getenv sais:
```
As  typically implemented, getenv() returns a pointer to a string within
the environment list.  The caller must take  care  not  to  modify  this
string, since that would change the environment of the process.
```
2020-06-12 10:23:31 +02:00
..
command Add option for legacy authentication 2020-06-05 11:37:51 +03:00
config Dont manipulate pointer from getenv 2020-06-12 10:23:31 +02:00
event Add option for legacy authentication 2020-06-05 11:37:51 +03:00
omemo Add and use connection_get_barejid() 2020-05-25 13:04:19 +02:00
otr db: log all incoming and outgoing messages 2020-04-06 10:50:20 +02:00
pgp Add context to autocomplete_with_func and use it for omemo trust command 2020-01-31 10:07:08 +01:00
plugins Add to_jid field to ProfMessage struct 2020-04-11 17:11:53 +02:00
tools Fix memleak in autocomplete_remove_older_than_max* 2020-05-29 11:28:58 +02:00
ui Add option for legacy authentication 2020-06-05 11:37:51 +03:00
xmpp Make legacy auth optional 2020-06-11 02:51:07 +03:00
common.c Get output and error streams from the command spawned by external_call() 2020-06-03 13:09:29 +02:00
common.h Get output and error streams from the command spawned by external_call() 2020-06-03 13:09:29 +02:00
database.c Fix carbon logging 2020-05-27 22:06:04 +02:00
database.h db: Use type from message struct instead of having individual functions 2020-04-06 19:15:06 +02:00
log.c Add and use connection_get_barejid() 2020-05-25 13:04:19 +02:00
log.h Remove chat_log_get_previous() 2020-04-06 14:42:52 +02:00
main.c Add -t theme option 2020-03-24 23:00:39 +01:00
profanity.c Define lock in profanity.h as extern 2020-04-17 10:14:27 +02:00
profanity.h Define lock in profanity.h as extern 2020-04-17 10:14:27 +02:00