[Pkg-shadow-devel] Bug#1032393: Bug#1032393: [PATCH v2 2/2] debian/control: Add libbsd-dev and pkg-config
Paul Eggert
eggert at cs.ucla.edu
Sun Mar 12 01:44:00 GMT 2023
On 2023-03-11 14:02, Alejandro Colomar wrote:
> we should use "%s" (if we go the way of snprintf(3)).
Yes, thanks for catching that. However, I came up with a better way that
avoids snprintf (and strlcpy) entirely both here and the other place I
used snprintf.
Attached is a revised set of patches that addresses the comments you
made and embodies my followups.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplify-change_field-by-using-strcpy.patch
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Omit-unneeded-change_field-test.patch
Type: text/x-patch
Size: 700 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fix-change_field-buffer-underrun.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Prefer-strcpy-to-strlcpy-when-either-works.patch
Type: text/x-patch
Size: 730 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Avoid-silent-truncation-of-console-file-data.patch
Type: text/x-patch
Size: 2311 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fix-crash-with-large-timestamps.patch
Type: text/x-patch
Size: 1426 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-is_my_tty-overruns-and-truncations.patch
Type: text/x-patch
Size: 2548 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Fix-su-silent-truncation.patch
Type: text/x-patch
Size: 1188 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20230311/9007dd8d/attachment-0015.bin>
More information about the Pkg-shadow-devel
mailing list