Hardenize libibverbs initialisation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | load_drivers: reset the list head after releasing itemssrc/ | +2 | 0 replies | |
| 2/5 | ibverbs_init: reset the list head after releasing itemssrc/ | +2 | 0 replies | |
| 3/5 | read_config: don't try to open file beginning with '.'src/ | +3 | 2 replies | |
| 4/5 | read_config: ignore directory entry with backup suffix (~)src/ | +3 | 0 replies | |
| 5/5 | read_config_file: ignore driver line without driver namesrc/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Hardenize libibverbs initialisation
In order to hardenize my test application, I tried "fuzzing" its input with zzuf[1]. But my application mostly failed to initialize due to unhandled failure cases.
So here're are patches to clean the situation and let's application exit properly.
The patches here are against kernel.org's libibverbs repository[2]
[1] http://caca.zoy.org/wiki/zzuf
[2] http://git.kernel.org/?p=libs/infiniband/libibverbs.git
Yann Droneaud (5):
load_drivers: reset the list head after releasing items
ibverbs_init: reset the list head after releasing items
read_config: don't try to open file beginning with '.'
read_config: ignore directory entry with backup suffix (~)
read_config_file: ignore driver line without driver name
src/init.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-)
Signature · 6 lines
1.7.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html