Issue #2665 has been reported by tautolog.

----------------------------------------
Bug #2665: patch fails on lines longer than 8192, crashing when overflowing to 
negative
http://bugs.dragonflybsd.org/issues/2665

* Author: tautolog
* Status: New
* 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

Reply via email to