[neon/backports-focal/libaqbanking/Neon/release] debian: Drop 0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
Micha Lenk
null at kde.org
Wed Mar 24 09:53:24 GMT 2021
Git commit 0bf7d278b565a0c7bbc9d1c973079acf4c980b0b by Micha Lenk.
Committed on 23/02/2021 at 10:59.
Pushed by jriddell into branch 'Neon/release'.
Drop 0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
M +2 -0 debian/changelog
D +0 -39 debian/patches/0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
D +0 -1 debian/patches/series
https://invent.kde.org/neon/backports-focal/libaqbanking/commit/0bf7d278b565a0c7bbc9d1c973079acf4c980b0b
diff --git a/debian/changelog b/debian/changelog
index 7c8457a..16982b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
libaqbanking (6.2.9-1) UNRELEASED; urgency=medium
* New upstream version 6.2.9.
+ * Drop 0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
+ (applied upstream).
-- Micha Lenk <micha at debian.org> Tue, 23 Feb 2021 11:57:35 +0100
diff --git a/debian/patches/0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch b/debian/patches/0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
deleted file mode 100644
index 7d1c1dd..0000000
--- a/debian/patches/0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Origin: upstream, commit:c80e8102ce0a466021aa94195d8c5e3db55652b9
-From: Martin Preuss <martin at aquamaniac.de>
-Date: Sat, 20 Feb 2021 16:42:43 +0100
-Subject: AqHBCI: Remove trailing blanks in mimetype.
-Bug: https://www.aquamaniac.de/rdm/issues/76
-Last-Update: 2021-02-21
-
----
- src/libs/plugins/backends/aqhbci/tan/tan_image.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/src/libs/plugins/backends/aqhbci/tan/tan_image.c b/src/libs/plugins/backends/aqhbci/tan/tan_image.c
-index 10624fc4..e229881a 100644
---- a/src/libs/plugins/backends/aqhbci/tan/tan_image.c
-+++ b/src/libs/plugins/backends/aqhbci/tan/tan_image.c
-@@ -170,12 +170,20 @@ int _extractAndSetMimeTypeAndImageData(const uint8_t *challengePtr,
- }
- if (tagLen) {
- char *mimeType;
-+ int i;
-
- mimeType=(char *) malloc(tagLen+1);
- assert(mimeType);
- memmove(mimeType, p, tagLen);
- mimeType[tagLen]=0;
-
-+ for (i=(tagLen-1); i>0; i--) {
-+ if (mimeType[i]==32)
-+ mimeType[i]=0;
-+ else
-+ break;
-+ }
-+
- DBG_ERROR(AQHBCI_LOGDOMAIN, "Image mimetype: \"%s\"", mimeType);
- GWEN_DB_SetCharValue(dbMethodParams, GWEN_DB_FLAGS_OVERWRITE_VARS, "mimeType", mimeType);
- free(mimeType);
---
-2.20.1
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index abded4c..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-AqHBCI-Remove-trailing-blanks-in-mimetype.patch
More information about the Neon-commits
mailing list