Mail archive
alpine-devel

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

From: Timo Teras <timo.teras_at_iki.fi>
Date: Sun, 3 Apr 2016 16:08:33 +0300

On Sun, 3 Apr 2016 07:50:20 -0300
Alba Pompeo <albapompeo_at_gmail.com> wrote:

> 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.

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


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Apr 03 2016 - 16:08:33 UTC