pervognsen,
@pervognsen@mastodon.social avatar

@pikuma Believe it or not, I had one of those today, too. I was writing some C glue code and needed a +1 to the buffer size for the zero terminator and then there was a regular off-by-one error stacked on top of that. Off-by-two is not that uncommon in C code involving zero-terminated strings.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • rosin
  • Durango
  • JUstTest
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines