this post was submitted on 01 Aug 2023
27 points (93.5% liked)

Programming

16240 readers
197 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/2650558

Highlights:

  • More work on C2X features.

  • The strlcpy and strlcat functions have been added. They are derived from OpenBSD, and are expected to be added to a future POSIX version.

  • Support for x86_64 running on Hurd has been added.

  • CVE-2023-25139: When the printf family of functions is called with a format specifier that uses an (enable grouping) and a minimum width specifier, the resulting output could be larger than reasonably expected by a caller that computed a tight bound on the buffer size. The resulting larger than expected output could result in a buffer overflow in the printf family of functions.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 11 months ago

Finally getting the strl family functions. It really shouldn't have taken this long given how many problems are caused by strcat (or even strncat). Now getting people to use them is the next battle.