Current standard says that behaviour in the case of error is undefined Signed-off-by: Alex Mikheev <alexm@mellanox.com>