lp:~colin-king/ecryptfs/misc-fixes

Created by Colin Ian King and last modified
Get this branch:
bzr branch lp:~colin-king/ecryptfs/misc-fixes
Only Colin Ian King can upload to this branch. If you are Colin Ian King please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Ian King
Project:
eCryptfs
Status:
Merged

Recent revisions

790. By Colin Ian King

* src/utils/mount.ecryptfs_private.c
  - set fd to -1 after closing to ensure that we detect 50 iterations of
    open failure rather than falling through and attempt to flock and
    fdopen a tmp file that does not match the correct stat conditions

789. By Colin Ian King

* src/utils/mount.ecryptfs_private.c
  - strlen on a NULL string will segfault, check it is NULL before calling
    strlen.

788. By Colin Ian King

* src/utils/io.c
  - Don't memset and free confirmed_pass if it is null on a malloc failure

787. By Colin Ian King

* src/libecryptfs/module_mgr.c
  - should initialize rc to zero in case cd is NULL and we don't iterate,
    otherwise we return garbage that was on the stack

786. By Colin Ian King

* src/libecryptfs/decision_graph.c
  - free subgraph_ctx on error path, stop memory leak

785. By Colin Ian King

* src/libecryptfs/decision_graph.c
  - free val_node on error exit path to avoid memory leak

784. By Colin Ian King

* src/libecryptfs/main.c
  - close fh on error return path

783. By Colin Ian King

* src/libecryptfs/main.c
  - free mnt to avoid memory leak

782. By Colin Ian King

* tests/kernel/trunc-file/test.c
  - make len ssize_t to avoid unnecessary casting

781. By Colin Ian King

* tests/kernel/inotify/test.c
  - initialize buffer so we don't write out garbage on the stack

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ecryptfs
This branch contains Public information 
Everyone can see this information.

Subscribers