diff options
author | Maximilian Weiss | 2020-07-28 10:10:44 -0700 |
---|---|---|
committer | Maximilian Weiss | 2020-07-28 10:10:44 -0700 |
commit | cbd810c2396c74762f21b330d6484c394749725f (patch) | |
tree | 9b0ab89b22f2677a0deac3e82948ba5f64a23d5b /fix.patch | |
parent | 18040bb939082ebb7768c15acafbc73138e6611b (diff) | |
download | aur-vcsteg.tar.gz |
Fix crash issue with -p option
Diffstat (limited to 'fix.patch')
-rw-r--r-- | fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fix.patch b/fix.patch new file mode 100644 index 000000000000..a5f9430814d3 --- /dev/null +++ b/fix.patch @@ -0,0 +1,11 @@ +--- tcsteg3.py 2019-06-18 11:51:40.000000000 -0000 ++++ tcsteg3.py 2019-06-18 11:51:40.000000000 -0000 +@@ -125,7 +125,7 @@ + f_dest.seek(bodySize - 1, 1) + byte = f_dest.read(1) + if not byte: +- f_dest.write("\0") ++ f_dest.write(b"\0") + else: + f_dest.seek(-1, 1) + f_dest.write(byte) |