1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
Zdenek Kabelac cbf99be43a coverity: fix memory access
Commit  52e0d0db4460d90172e9bd45b9ef30e7f4f75ae7 introduced regression
as code may access   buf[0 - 1].

Reorder code to first remove '\n' and then check buffer size for
empty.
2016-04-22 01:11:57 +02:00
..
2016-04-22 01:11:57 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-03-21 11:06:05 +01:00
2016-01-21 12:11:37 +01:00
2016-02-23 14:41:24 +01:00
2016-01-21 12:11:37 +01:00
2016-03-11 00:19:16 +00:00
2016-01-21 12:11:37 +01:00