[haiku-commits] Change in ...haiku[master]: Avoid use of sprintf/snprintf on same source/destination (undefined r...

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 13 Feb 2019 00:16:19 +0000

From Rob Gill <rrobgill@xxxxxxxxxxxxxx>:

Rob Gill has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1036


Change subject: Avoid use of sprintf/snprintf on same source/destination 
(undefined result)
......................................................................

Avoid use of sprintf/snprintf on same source/destination (undefined
result)

 * Altered to avoid use of sprintf/snprintf to copy between the same
   source and destination. (This is an undefined result since c99)

   Additional buffer-string added in each case

 * (consequential trailing whitespace removal)
---
M src/add-ons/accelerants/neomagic/engine/nm_crtc.c
M src/add-ons/kernel/bus_managers/acpi/NamespaceDump.cpp
M src/add-ons/kernel/bus_managers/virtio/VirtioDevice.cpp
M src/add-ons/screen_savers/glife/GLifeConfig.cpp
4 files changed, 41 insertions(+), 35 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/36/1036/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1036
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I43976af43fe99d15b6c2677c5ab05db46fd6a8c0
Gerrit-Change-Number: 1036
Gerrit-PatchSet: 1
Gerrit-Owner: Rob Gill <rrobgill@xxxxxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in ...haiku[master]: Avoid use of sprintf/snprintf on same source/destination (undefined r... - Gerrit