diff options
author | tron <tron> | 1998-07-16 08:08:09 +0000 |
---|---|---|
committer | tron <tron> | 1998-07-16 08:08:09 +0000 |
commit | f0ce9e45b86f241836e17d12ca6972174eb95e79 (patch) | |
tree | 6fdc2f376c026a3b9323fec52c12887d3594e519 /mail/qpopper | |
parent | 8065ed4bb7750d3b103e7b84f209286afd58b013 (diff) | |
download | pkgsrc-f0ce9e45b86f241836e17d12ca6972174eb95e79.tar.gz |
Fix segmentation fault in bulletin handling as suggested by Takahiro Kambe
in PR pkg/5758.
Diffstat (limited to 'mail/qpopper')
-rw-r--r-- | mail/qpopper/patches/patch-ah | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/qpopper/patches/patch-ah b/mail/qpopper/patches/patch-ah new file mode 100644 index 00000000000..0f7117c961a --- /dev/null +++ b/mail/qpopper/patches/patch-ah @@ -0,0 +1,18 @@ +--- pop_dropcopy.c.orig Wed Jul 1 21:54:51 1998 ++++ pop_dropcopy.c Thu Jul 16 09:56:17 1998 +@@ -975,11 +975,13 @@ + (void)ftruncate(dfd, (OFF_T)offset); + } + #ifdef BULLDB ++ if (p->bulldir) { + #ifdef GDBM +- gdbm_close(p->bull_db); ++ gdbm_close(p->bull_db); + #else +- dbm_close(p->bull_db); ++ dbm_close(p->bull_db); + #endif ++ } + #endif + (void)fseek(p->drop, 0L, SEEK_END); + p->spool_end = ftell(p->drop); |