ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: led@altlinux.ru
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] heap overflow и как с ней бороться
Date: Sat, 12 Jan 2008 03:24:19 +0200
Message-ID: <200801120324.19438.led@altlinux.ru> (raw)
In-Reply-To: <20080112004312.GA2773@cryo.net.ru>

Saturday, 12 January 2008 02:43:12 Pavlov Konstantin написав:
> On Sat, Jan 12, 2008 at 03:39:25AM +0300, Dmitry V. Levin wrote:
> > On Sat, Jan 12, 2008 at 03:07:32AM +0300, Pavlov Konstantin wrote:
> > > Подскажите, как правильно исправлять подобные вещи:
> > >
> > > http://aluigi.altervista.org/adv/vlcxhof-adv.txt ?
> >
> > Там написано "VLC uses an old version of the Xine library".
> > Стало быть, использовать системную libxine, обновить носимую или
> > бэкпортить исправления.
>
> Я один из этих пунктов сделал, меня интересует именно общий подход в таких
> проблемах. В одной из ссылок при гуглении прочитал, что общего решения нет
> вообще. Это действительно так?

В данном случае: почему бы не аллоцировать буффер уже в функции filter? Будет, 
конечно какой-то оверхед из-за множественного malloc/free...

-- 
Led

      parent reply	other threads:[~2008-01-12  1:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-12  0:07 Pavlov Konstantin
2008-01-12  0:39 ` Dmitry V. Levin
2008-01-12  0:43   ` Pavlov Konstantin
2008-01-12  1:08     ` led
2008-01-12  1:24     ` led [this message]

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=200801120324.19438.led@altlinux.ru \
    --to=led@altlinux.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git