diff options
author | marius <marius@FreeBSD.org> | 2015-12-27 15:18:01 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2015-12-27 15:18:01 +0000 |
commit | ec568734f0f790fdf079f1ad4f5cbbd6704e1159 (patch) | |
tree | 3463e15df7b9d7c9b90b5da1e7bc7bd5eb54c2c0 /lib/libc/regex/regexec.c | |
parent | f90fadc507bbb0a9dbef3832b8eb88198fa8aee7 (diff) | |
download | FreeBSD-src-ec568734f0f790fdf079f1ad4f5cbbd6704e1159.zip FreeBSD-src-ec568734f0f790fdf079f1ad4f5cbbd6704e1159.tar.gz |
MFC: r286785, r291088, r291120
- Reformat x86 bounce buffer synchronization code to reduce indentation.
No functional change.
- Avoid a NULL pointer dereference in bounce_bus_dmamap_sync() when the
map has been created via bounce_bus_dmamem_alloc(). Even for coherent
DMA - which bus_dmamem_alloc(9) typically is used for -, calling of
bus_dmamap_sync(9) isn't optional. [1]
- Avoid a NULL pointer dereference in bounce_bus_dmamap_unload() when
the map has been created via bounce_bus_dmamem_alloc(). In that case
bus_dmamap_unload(9) typically isn't called during normal operation
but still should be during detach, cleanup from failed attach etc. [2]
PR: 188899 (non-original problem) [1]
Submitted by: yongari [2]
Diffstat (limited to 'lib/libc/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions