On Tue, Jan 9, 2018 at 9:09 PM, The Tick <the.t...@gmx.com> wrote:

>   src/cson_amalgamation.c: In function 'cson_str_to_json':
>   src/cson_amalgamation.c:3888:51: warning: '%04x' directive writing 4
> bytes into a region of size between 3 and 5 [-Wformat-overflow=]
>                        rc = sprintf(ubuf, "\\u%04x\\u%04x",
>                                                      ^~~~
>   src/cson_amalgamation.c:3888:40: note: directive argument in the range
> [56320, 57343]
>                        rc = sprintf(ubuf, "\\u%04x\\u%04x",
>                                           ^~~~~~~~~~~~~~~~
>   src/cson_amalgamation.c:3888:24: note: 'sprintf' output between 13 and
> 15 bytes into a destination of size 13
>                        rc = sprintf(ubuf, "\\u%04x\\u%04x",
>                        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                                     (0xd800 | (ch>>10)),
>                                     ~~~~~~~~~~~~~~~~~~~~
>                                     (0xdc00 | (ch & 0x3ff)));
>                                     ~~~~~~~~~~~~~~~~~~~~~~~~
>

That buffer has been increased to 20 bytes. Please try with the latest
trunk. Thank you for your persistence!

http://fossil-scm.org/fossil/info/e508424e7d7863e1

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to