Post AzQjefuT7zPzPpwcUa by bagder@mastodon.social
(DIR) More posts by bagder@mastodon.social
(DIR) Post #AzQj2RhPVwlCL1bj6G by bagder@mastodon.social
2025-10-21T09:17:05Z
1 likes, 0 repeats
Spanking new AI slop report on #curl received and another reporter banned: https://hackerone.com/reports/3392174
(DIR) Post #AzQj2ShRnINrRQdGnQ by alefunguju@mastodon.social
2025-10-21T09:21:40Z
0 likes, 0 repeats
@bagder Well, their handle is ayBANda after all 🙃
(DIR) Post #AzQj2TCHwd3Oz53trs by piggo@piggo.space
2025-10-21T09:22:33.879476Z
0 likes, 0 repeats
@alefunguju @bagder Why not use strncpy though, is there any drawback?
(DIR) Post #AzQj2TiC20Zga1zNb6 by bagder@mastodon.social
2025-10-21T09:24:41Z
0 likes, 0 repeats
@piggo @alefunguju strncpy() is almost never the right answer and is more often than not rather leading to bad code, to the extent that we ban that function in curl since a while backIf the target buffer fits the data we copy to it, there is no point in using strncpy. Period.
(DIR) Post #AzQj2UE67O5yAyurKK by wolf480pl@mstdn.io
2025-10-21T09:47:55Z
0 likes, 0 repeats
@bagderdo you sometimes use strlcpy?@piggo @alefunguju
(DIR) Post #AzQjefuT7zPzPpwcUa by bagder@mastodon.social
2025-10-21T09:54:58Z
0 likes, 0 repeats
@wolf480pl @piggo @alefunguju nope