aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:03:29 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:03:29 +0000
commit9090972ad669cb40634a2d9e683953a4e20af34d (patch)
tree24c4d8d1765857bbb0b25d3f1123e602c300f04d /debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066
parentReleasing debian version 0.1.10+0.1.11pre+kokb23-4 (diff)
downloadw3m-9090972ad669cb40634a2d9e683953a4e20af34d.tar.gz
w3m-9090972ad669cb40634a2d9e683953a4e20af34d.zip
Releasing debian version 0.3-2.4debian/0.3-2.4
Diffstat (limited to 'debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066')
-rw-r--r--debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-0206628
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066 b/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066
deleted file mode 100644
index 7c47d04..0000000
--- a/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066
+++ /dev/null
@@ -1,28 +0,0 @@
---- mimehead.c.orig Tue Jun 6 14:39:13 2000
-+++ mimehead.c Wed Jun 20 11:21:02 2001
-@@ -166,21 +166,20 @@
- Str
- decodeWord(char **ow)
- {
-- char charset[32];
- char *p, *w = *ow;
- char method;
- Str a = Strnew();
-+ Str charset = Strnew();
-
- if (*w != '=' || *(w + 1) != '?')
- goto convert_fail;
- w += 2;
-- for (p = charset; *w != '?'; w++) {
-+ for (; *w != '?'; w++) {
- if (*w == '\0')
- goto convert_fail;
-- *(p++) = *w;
-+ Strcat_char(charset, *w);
- }
-- *p = '\0';
-- if (strcasecmp(charset, J_CHARSET) != 0) {
-+ if (Strcasecmp_charp(charset, J_CHARSET) != 0) {
- /* NOT ISO-2022-JP encoding ... don't convert */
- goto convert_fail;
- }