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

Created attachment 192296
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.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to