DragonFly BSD
DragonFly submit List (threaded) for 2013-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Submit #2525] [PATCH] Small Fixes


From: James Armstrong via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Mar 2013 12:58:25 -0800

Issue #2525 has been reported by Gwenio.

----------------------------------------
Submit #2525: [PATCH] Small Fixes
http://bugs.dragonflybsd.org/issues/2525

Author: Gwenio
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


Fixes an array out of bounds error in usr.bin/shlock/shlock.c. The fix reduces the offset accessed where the error occurs, but increasing the size of the local variable 'buf' to BUFSIZE + 1 would also be a valid fix.

The other changes to the other files are trivial changes to make other code more 'correct' by having it follow strict aliasing rules. As such they are not important unless the code is being compiled with -O2 or higher.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]