freebsd-skq/sys/geom
Mark Johnston 16759360d4 Fix a memory leak introduced in r328426.
ffs_sbget() may return a superblock buffer even if it fails, so the
caller must be prepared to free it in this case. Moreover, when tasting
alternate superblock locations in a loop, ffs_sbget()'s readfunc
callback must free the previously allocated buffer.

Reported and tested by:	pho
Reviewed by:		kib (previous version)
Differential Revision:	https://reviews.freebsd.org/D14390
2018-02-16 15:41:03 +00:00
..
bde sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
cache sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
concat sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
eli geli: append "/eli" to the underlying provider's physical path 2018-02-14 20:15:32 +00:00
gate sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
journal Fix a memory leak introduced in r328426. 2018-02-16 15:41:03 +00:00
label Fix a memory leak introduced in r328426. 2018-02-16 15:41:03 +00:00
linux_lvm sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
mirror Simplify synchronization read error handling. 2018-02-06 16:02:33 +00:00
mountver sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
multipath sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
nop gnop(8): add the ability to set a nop provider's physical path 2018-01-18 05:57:10 +00:00
part gpart: append partition name to the underlying provider's physical path 2018-02-14 20:26:09 +00:00
raid Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
raid3 sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
sched sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
shsec sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
stripe sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
uzip Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
vinum sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
virstor geom: don't write stack garbage in disk labels 2018-02-04 14:49:55 +00:00
zero sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_aes.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_bsd_enc.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_bsd.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_ccd.c geom_ccd.c: Fix the licenses properly 2017-12-30 02:07:18 +00:00
geom_ctl.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_ctl.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_dev.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_disk.c geom_disk / scsi_da: deny opening write-protected disks for writing 2018-01-15 11:20:00 +00:00
geom_disk.h geom_disk / scsi_da: deny opening write-protected disks for writing 2018-01-15 11:20:00 +00:00
geom_dump.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_event.c Instrument "boot holds" for the benefit of the TSLOG framework. These 2017-12-31 09:23:52 +00:00
geom_flashmap.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_fox.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_int.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_io.c Fix a memory leak introduced in r328426. 2018-02-16 15:41:03 +00:00
geom_kern.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_map.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_mbr_enc.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_mbr.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_redboot.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_slice.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_slice.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_subr.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
geom_sunlabel_enc.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_sunlabel.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_vfs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_vfs.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom_vol_ffs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
geom.h Refactoring of reading and writing of the UFS/FFS superblock. 2018-01-26 00:58:32 +00:00
notes