libopkg: properly fix parse_version()
authorJo-Philipp Wich <jo@mein.io>
Sat, 18 Feb 2017 12:48:25 +0000 (13:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 18 Feb 2017 12:51:56 +0000 (13:51 +0100)
commit16b176283f668177e3bdd0a13caf88f1b6f2f476
tree8d39e757f16c84d9eb94b756d8979c8bb3852e85
parent70b9bffc7dbffaf526a665c92d732c110baccaa2
libopkg: properly fix parse_version()

A previous attempt to fix the verison/revision split caused unterminated
strings to get stored in the blob buffer, properly fix this case now.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg_parse.c