Home | History | Annotate | Download | only in hfs
History log of /src/sys/fs/hfs/libhfs.c
RevisionDateAuthorComments
 1.19  11-Aug-2023  mrg avoid uninitialised variable usage in early error paths.

found by GCC 12.
 1.18  19-Jun-2023  msaitoh Fix typo. unknwon -> unknown
 1.17  01-Mar-2023  riastradh fs/hfs: Avoid undefined pointer arith in hfslib_reada_node_offsets.

XXX pullup-8
XXX pullup-9
XXX pullup-10
 1.16  01-Mar-2023  riastradh fs/hfs: Avoid buffer overrun in hfslib_reada_node_offsets.

XXX pullup-8
XXX pullup-9
XXX pullup-10
 1.15  30-Dec-2018  sevan branches: 1.15.4; 1.15.30;
Fix support for case sensitive HFS.
Without this change, the wrong file is returned, if 2 file names contain a
subset of each other.


Code submitted in PR bin/52993 by Harold Gutch
 1.14  21-Jun-2015  maxv branches: 1.14.10; 1.14.16; 1.14.18;
KNF
 1.13  29-Dec-2014  maxv I started to KNF this file but quickly ended up figuring out I was not
courageous enough for such ugliness. So I only KNF'ed the first 300
lines.

I'll come back later.
 1.12  28-Jul-2012  matt branches: 1.12.2; 1.12.16;
Fix -fno-common found by building i386/conf/ALL
 1.11  15-Jun-2012  joerg Assert that out_hr is not NULL in hfslib_read_header_node
 1.10  24-Feb-2011  christos branches: 1.10.4;
simplify and avoid pointer gymnastics
 1.9  27-Nov-2009  pooka branches: 1.9.4; 1.9.6; 1.9.8;
Don't spam if mount fails due to invalid file system.
 1.8  14-Jul-2009  apb Initialise the "fork" local variable in hfslib_get_file_extents().
This variable was not actually used uninitialised, but some compilers
(e.g. gcc-4.3.3) warned that the variable might be used uninitialised.
Inspired by PR 41255 from Kurt Lidl.
 1.7  27-Mar-2009  pooka fix botch in previous
 1.6  26-Mar-2009  pooka pretend to do some sort of cleanup in error branches
 1.5  11-Dec-2007  lukem branches: 1.5.12; 1.5.20; 1.5.26;
use __KERNEL_RCSID()
 1.4  22-Mar-2007  dillo branches: 1.4.10; 1.4.12; 1.4.20; 1.4.22; 1.4.24;
Add support for HFS Wrapper (HFS+ volume inside an HFS volume).
Remove offset argument, we should now find an HFS+ volume in any
of its standard places.

Based on work from and test image provided by Pelle Johansson.
 1.3  09-Mar-2007  dillo branches: 1.3.2; 1.3.4; 1.3.6; 1.3.8;
Fix PR kern/35953 by mange at freemail dot hu (panic on mount):
(hfslib_open_volume) We are only interested in the catalgo and
extents header, so read the first 512 bytes, not the whole first
extent. Also makes mounting a lot faster.
 1.2  06-Mar-2007  dillo Complete rename of hfsp to hfs, requested by thorpej.
 1.1  06-Mar-2007  dillo Rename files from hfsp to hfs.
 1.3.8.1  29-Mar-2007  reinoud Pullup to -current
 1.3.6.1  11-Jul-2007  mjf Sync with head.
 1.3.4.3  24-Mar-2007  yamt sync with head.
 1.3.4.2  12-Mar-2007  rmind Sync with HEAD (missed new files in previous).
 1.3.4.1  09-Mar-2007  rmind file libhfs.c was added on branch yamt-idlelwp on 2007-03-12 06:14:55 +0000
 1.3.2.1  10-Apr-2007  ad Sync with head.
 1.4.24.1  13-Dec-2007  bouyer Sync with HEAD
 1.4.22.1  11-Dec-2007  yamt sync with head.
 1.4.20.1  26-Dec-2007  ad Sync with head.
 1.4.12.3  21-Jan-2008  yamt sync with head
 1.4.12.2  03-Sep-2007  yamt sync with head.
 1.4.12.1  22-Mar-2007  yamt file libhfs.c was added on branch yamt-lazymbuf on 2007-09-03 14:40:22 +0000
 1.4.10.1  09-Jan-2008  matt sync with HEAD
 1.5.26.2  23-Jul-2009  jym Sync with HEAD.
 1.5.26.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.20.1  28-Apr-2009  skrll Sync with HEAD.
 1.5.12.3  11-Mar-2010  yamt sync with head
 1.5.12.2  18-Jul-2009  yamt sync with head.
 1.5.12.1  04-May-2009  yamt sync with head.
 1.9.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.9.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.9.4.1  05-Mar-2011  rmind sync with head
 1.10.4.1  30-Oct-2012  yamt sync with head
 1.12.16.2  22-Sep-2015  skrll Sync with HEAD
 1.12.16.1  06-Apr-2015  skrll Sync with HEAD
 1.12.2.1  03-Dec-2017  jdolecek update from HEAD
 1.14.18.1  10-Jun-2019  christos Sync with HEAD
 1.14.16.1  18-Jan-2019  pgoyette Synch with HEAD
 1.14.10.2  31-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1865):

sys/fs/hfs/libhfs.h: revision 1.9
sys/fs/hfs/libhfs.c: revision 1.16
sys/fs/hfs/libhfs.c: revision 1.17

fs/hfs: Avoid buffer overrun in hfslib_reada_node_offsets.

fs/hfs: Avoid undefined pointer arith in hfslib_reada_node_offsets.
 1.14.10.1  01-Apr-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1817):

sys/fs/hfs/libhfs.c: revision 1.15

Fix support for case sensitive HFS.

Without this change, the wrong file is returned, if 2 file names contain a
subset of each other.

Code submitted in PR bin/52993 by Harold Gutch
 1.15.30.1  31-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #271):

sys/fs/hfs/libhfs.h: revision 1.9
sys/fs/hfs/libhfs.c: revision 1.16
sys/fs/hfs/libhfs.c: revision 1.17

fs/hfs: Avoid buffer overrun in hfslib_reada_node_offsets.

fs/hfs: Avoid undefined pointer arith in hfslib_reada_node_offsets.
 1.15.4.1  31-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1682):

sys/fs/hfs/libhfs.h: revision 1.9
sys/fs/hfs/libhfs.c: revision 1.16
sys/fs/hfs/libhfs.c: revision 1.17

fs/hfs: Avoid buffer overrun in hfslib_reada_node_offsets.

fs/hfs: Avoid undefined pointer arith in hfslib_reada_node_offsets.

RSS XML Feed