]> Savannah Git Hosting - gnulib.git/commit
quotearg: Avoid undefined behaviour.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Mar 2025 16:28:33 +0000 (17:28 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 1 Apr 2025 14:29:52 +0000 (16:29 +0200)
commit7ecb9e528eba34c23fb9e64cf1c73f0386faade3
treebf7551357f4b305f230ae286ddf4d831ebbff4a9
parent02c89d98ede5dcb6970da479bfd9fa78095a7cfe
quotearg: Avoid undefined behaviour.

Reported by Kirill Furman <kfurman@astralinux.ru> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-03/msg00037.html>.

* lib/quotearg.c (set_char_quoting): Use 'unsigned int', not 'int', for
doing bit mask operations.
ChangeLog
lib/quotearg.c