FreeBSD Bugzilla – Attachment 192296 Details for
Bug 227330
[PATCH] usr.bin/cut: Fix out of boundary write on illegal list argument
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the issue
cut.patch (text/plain), 385 bytes, created by
tobias
on 2018-04-06 19:24:55 UTC
(
hide
)
Description:
Patch to fix the issue
Filename:
MIME Type:
Creator:
tobias
Created:
2018-04-06 19:24:55 UTC
Size:
385 bytes
patch
obsolete
>Index: cut.c >=================================================================== >--- cut.c (revision 331546) >+++ cut.c (working copy) >@@ -210,6 +210,12 @@ > needpos(maxval + 1); > } > >+ /* reversed range with autostart */ >+ if (maxval < autostart) { >+ maxval = autostart; >+ needpos(maxval + 1); >+ } >+ > /* set autostart */ > if (autostart) > memset(positions + 1, '1', autostart);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227330
: 192296