9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Nick Owens <mischief@offblast.org>
To: 9front@9front.org
Subject: bug: audio/oggenc crash
Date: Fri, 7 Sep 2018 19:27:55 -0700	[thread overview]
Message-ID: <CAH_zEu5_S3jc60Tghg-UO_ememOGaNiKH3GyN7dLX2WWNLyyYA@mail.gmail.com> (raw)

when oggenc is run, it appears to always eventually crash:

cpu% audio/oggenc < /dev/zero > /dev/null
cpu% echo $status
oggenc 4556069: abort

the abort occurs due to free() called on a corrupted malloc()'d buffer
inside of libvorbis.

this call to malloc was inserted as a replacement for alloca(), which
of course we don't have. perhaps this bug was always in this code, but
never noticed since it might just trash autos on the stack.


             reply	other threads:[~2018-09-08  2:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-08  2:27 Nick Owens [this message]
2018-09-09  1:17 ` Nick Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH_zEu5_S3jc60Tghg-UO_ememOGaNiKH3GyN7dLX2WWNLyyYA@mail.gmail.com \
    --to=mischief@offblast.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).