diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-06-12 10:23:31 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-06-12 10:23:31 +0200 |
commit | f1141932fc45fa4bcc87984241b524381c0ab2b3 (patch) | |
tree | c405c18fe32e0c73bf9d50c68499a2b8a9950805 /src/config/accounts.c | |
parent | 74ff38f0bda6e365bdedf29fbd53eedfa520ed74 (diff) | |
download | profani-tty-f1141932fc45fa4bcc87984241b524381c0ab2b3.tar.gz |
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. ```
Diffstat (limited to 'src/config/accounts.c')
0 files changed, 0 insertions, 0 deletions