Commit e9f10244c19af2336f81d3081d5eef983b2d1b31

Con Kolivas 2014-03-02T08:50:20

More gracefully break out of parse_notify on a corrupted hex string error, checking the return value of all hex2bin conversions and being consistent with using stack memory. Fix an unlocking error in cases of failure.