https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227330

            Bug ID: 227330
           Summary: [PATCH] usr.bin/cut: Fix out of boundary write on
                    illegal list argument
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: tob...@stoeckmann.org

Created attachment 192296
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192296&action=edit
Patch to fix the issue

It is possible to trigger an out of boundary write in cut if an invalid range
with autostart has been supplied:

$ cut -c -8000-2
Segmentation fault

It is not verified that enough memory has been allocated for an autostart if a
smaller stop value has been specified.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to