Subject: [alpine-devel] apk segmentation fault - please make it utf-8 compliant

From: Alba Pompeo <[email-masked]>
Date: Sun, 3 Apr 2016 07:50:20 -0300

Hello to the mailing list.

$ apk add à
Segmentation fault

$ apk add ê
Segmentation fault

$ apk add û
Segmentation fault

And so far...

A good program should be UTF-8 compliant.
Or to at least give an error when you feed special chars, but it
should never segfault on such acceptable use-case.

Thank you.

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Timo Teras <[email-masked]>
Date: Sun, 3 Apr 2016 16:08:33 +0300

On Sun, 3 Apr 2016 07:50:20 -0300

> should never segfault on such acceptable use-case.

The 8-bit cleanness issue has been fixed with:
http://git.alpinelinux.org/cgit/apk-tools/commit/?id=9039dbe06cfe123d04c3306f7316ba91013fc5e6

But need to look at making it really utf8 compliant. I think certain
utf8 sequence might still confuse it.

Thanks for the report.

/Timo

---

---

From: Alba Pompeo <[email-masked]>
Date: Sun, 3 Apr 2016 10:15:54 -0300

Quick fix, nice! I wish you manage to make it utf8 compliant too.
Thanks.

---