diff options
author | tron <tron@pkgsrc.org> | 1998-07-16 08:08:09 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-07-16 08:08:09 +0000 |
commit | 470dd4c51267a05616c912540df9c5725c87eb46 (patch) | |
tree | 6fdc2f376c026a3b9323fec52c12887d3594e519 /mail | |
parent | 1c28c5e464218a254a39dac06ae11d9f0d99cab5 (diff) | |
download | pkgsrc-470dd4c51267a05616c912540df9c5725c87eb46.tar.gz |
Fix segmentation fault in bulletin handling as suggested by Takahiro Kambe
in PR pkg/5758.
Diffstat (limited to 'mail')
-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); |