Home | History | Annotate | Download | only in dist
History log of /src/external/bsd/pdisk/dist/io.c
RevisionDateAuthorComments
 1.3  10-Aug-2023  mrg avoid various use-after-free issues.

create a ptrdiff_t offset between the start of an allocation region and
some interesting pointer, so it can be adjusted with this offset after
realloc() returns. for pdisk(), realloc() is a locally inlind malloc()
and free() pair.

for mail(1), this required a little bit more effort as the old pointer
was passed into another file for fix-ups there, and that code needed to
be adjusted for offset vs old pointer usage.

found by GCC 12.
 1.2  23-Mar-2013  christos branches: 1.2.4; 1.2.10;
Apply our fixes
 1.1  23-Mar-2013  christos branches: 1.1.1;
Initial revision
 1.1.1.1  23-Mar-2013  christos from:
http://cantaforda.com/cfcl/eryk/linux/pdisk/dist/pdisk.20000516.src.tar
 1.2.10.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.10.1  23-Mar-2013  yamt file io.c was added on branch yamt-pagecache on 2014-05-22 15:51:00 +0000
 1.2.4.2  23-Jun-2013  tls resync from head
 1.2.4.1  23-Mar-2013  tls file io.c was added on branch tls-maxphys on 2013-06-23 06:28:28 +0000

RSS XML Feed