[Privoxy-devel] [PATCH] Fix socks4 and socks4a support under glibc's source fortification
    Fabian Keil 
    fk at fabiankeil.de
       
    Thu Nov 16 14:30:44 CET 2023
    
    
  
Ingo Blechschmidt <iblech at speicherleck.de> wrote on 2023-11-05 at 23:43:54:
> With glib'c source fortification, gcc offers the compilation warning
[...]
> This commit fixes this issue in a way which is in line with the second
> strlcpy() call in the socks4_connect(). Alternatively, we could also
> remove the padding member and promote userid to a trailing flexible array
> member. However, this would necessitate further adjustments because that
> way the size of struct socks_op would change.
Thanks a lot for the patch.
Applied with a rephrased comment and an added line break.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20231116/95c81d15/attachment.bin>
    
    
More information about the Privoxy-devel
mailing list