mpartel / bindfs

Mount a directory elsewhere with changed permissions.
https://bindfs.org/
GNU General Public License v2.0
449 stars 64 forks source link

Memory allocation failures not checked #149

Open mpartel opened 1 year ago

mpartel commented 1 year ago

Should check the return values of the various *alloc functions, and recover when possible. In some cases we already do.

Some existing checks currently log and abort on failure. Would be better to let the caller handle it.

Not a terribly high priority at least on Linux, given the OOM killer, and most alloc failures are likely quickly followed by a segfault.