[DragonFlyBSD - Bug #2665] (Resolved) patch fails on lines lengths overflowing a short int.

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Jun 7 17:41:19 PDT 2014


Issue #2665 has been updated by jorisgio.

Status changed from New to Resolved
% Done changed from 90 to 100

Thank you for the patch. committed on master (3.9) : e19e5bbc20dd1d64f1833c5d0ac7a605c8e9bfa0

----------------------------------------
Bug #2665: patch fails on lines lengths overflowing a short int. 
http://bugs.dragonflybsd.org/issues/2665#change-12040

* Author: tautolog
* Status: Resolved
* Priority: Normal
* Assignee: 
* Category: Userland
* Target version: 
----------------------------------------
The line length array is of type short when it needs to be type size_t. Only strlen() is assigning to it, which returns size_t. The attached patch fixed it for me. 

---Files--------------------------------
too-short.patch (2.65 KB)


-- 
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



More information about the Bugs mailing list