diff options
author | Mattias Andrée <maandree@kth.se> | 2024-06-29 14:10:14 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-06-29 14:10:14 +0200 |
commit | c38dbe994d40ee4cce384550579b8e817dd9a9b8 (patch) | |
tree | 666ea518fdc4d0f9c2b009e0bdf24d6e71b1756e | |
parent | Empty signed commit (diff) | |
download | makeenv-c38dbe994d40ee4cce384550579b8e817dd9a9b8.tar.gz makeenv-c38dbe994d40ee4cce384550579b8e817dd9a9b8.tar.bz2 makeenv-c38dbe994d40ee4cce384550579b8e817dd9a9b8.tar.xz |
Fix memory corrupt bug1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | makeenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ trim_around_equals(char *s) val++; if (val != p) - stpcpy(p, val); + memmove(p, val, strlen(val) + 1U); } |