]> git-server-git.apps.pok.os.sepia.ceph.com Git - jerasure.git/commit
jerasure.c: add check for result of malloc()
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sun, 27 Apr 2014 16:54:21 +0000 (18:54 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sun, 27 Apr 2014 16:56:52 +0000 (18:56 +0200)
commit31810e1fdcd60e31029cf6be71e940e350442450
treed61fd2da6452de2d4ece43645cdc6add83266b65
parentb14af86424e3cb8c89c0f2fd2b856580e446fba4
jerasure.c: add check for result of malloc()

Add check for bitmatrix and return NULL if malloc failed.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/jerasure.c