diff --git a/net/proftpd/patches/patch-ab b/net/proftpd/patches/patch-ab new file mode 100644 index 00000000000..55b91ae14fc --- /dev/null +++ b/net/proftpd/patches/patch-ab @@ -0,0 +1,11 @@ +--- src/pool.c.orig Thu Sep 9 17:01:07 1999 ++++ src/pool.c Thu Sep 9 17:02:36 1999 +@@ -337,6 +337,8 @@ + */ + strncpy(&new_pool->symbol,symbol,strlen(symbol)); + blok->h.first_avail += strlen(symbol); ++ /* must maintain alignment */ ++ blok->h.first_avail += (strlen(symbol) / POOL_HDR_BYTES + 1) * POOL_HDR_BYTES; + } + + new_pool->free_first_avail = blok->h.first_avail;