Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2018 19:24:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227330] [PATCH] usr.bin/cut: Fix out of boundary write on illegal list argument
Message-ID:  <bug-227330-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227330

            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: bugs@FreeBSD.org
          Reporter: tobias@stoeckmann.org

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

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

$ cut -c -8000-2
Segmentation fault

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227330-227>