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 /makeenv.c | |
parent | Empty signed commit (diff) | |
download | makeenv-26df0d52cfd040aaf3910bf0f2d3cededb4264f5.tar.gz makeenv-26df0d52cfd040aaf3910bf0f2d3cededb4264f5.tar.bz2 makeenv-26df0d52cfd040aaf3910bf0f2d3cededb4264f5.tar.xz |
Fix memory corrupt bug1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'makeenv.c')
-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); } |