commit de4afe389fe1bb34a3ff4ea80d9e7008c8819304
Author: Michael Schroeder
Date: Wed Jan 21 11:47:53 2009 +0100
- also reject characters >= 0xfe
---
tools/repo_rpmdb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/repo_rpmdb.c b/tools/repo_rpmdb.c
index 04bb2bc..f400c1a 100644
--- a/tools/repo_rpmdb.c
+++ b/tools/repo_rpmdb.c
@@ -337,7 +337,7 @@ setutf8string(Repodata *repodata, Id handle, Id tag, const char *str)
{
/* new sequence */
if (c >= 0xfe)
- c = 0xfffd;
+ break;
else if (c >= 0xfc)
c = (c & 0x01) | 0xbffffffc; /* 5 bytes to follow */
else if (c >= 0xf8)
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org