From: "Valery V. Inozemtsev" <shrek@altlinux.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] -fno-stack-protector? Date: Sun, 20 Jun 2010 19:33:47 +0400 Message-ID: <1277048027.13925.5.camel@marsh.altlinux.lan> (raw) In-Reply-To: <20100620125257.GB27717@wo.int.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1704 bytes --] В Вск, 20/06/2010 в 16:52 +0400, Dmitry V. Levin пишет: > On Sun, Jun 20, 2010 at 04:40:20PM +0400, Dmitry V. Levin wrote: > > On Sun, Jun 20, 2010 at 03:34:09PM +0400, Damir Shayhutdinov wrote: > > > 20 июня 2010 г. 14:54 пользователь Valery V. Inozemtsev написал: > > > > есть код > > > > http://git.altlinux.org/people/shrek/packages/?p=xorg-server.git;a=blob;f=hw/xfree86/vbe/vbe.c;h=0b34648e1ae27e8b8be394fdf32f5efd7e86bba3;hb=refs/heads/xorg-x11-server-1.9 > > > > сам код трогать не хотелось бы... > > > > внимание вопрос - как объехать эту проверку на overflow destination > > > > buffer? > > > > > > -U__FORTIFY_SOURCE в CPPFLAGS. > > > > -U_FORTIFY_SOURCE, но это _очень_ плохая идея -- отключать защиту во всём > > xorg-server только ради одного файла. Я считаю необходимым найти менее > > опасное решение вопроса. > > В качестве первого приближения можно попробовать добавить > AM_CPPFLAGS = -U_FORTIFY_SOURCE > в файл hw/xfree86/vbe/Makefile.am да, это много лучше > Ну а вообще, код вида > memcpy(&block->LinBytesPerScanLine, ((char*)pVbe->memory) + 50, 206); > внушает всяческие подозрения. Интересно, как он раньше компилировался? хз. в апстриме мне сказали что у меня слишком разборчивый компилятор :-) -- Valery V. Inozemtsev [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-06-20 15:33 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-20 10:54 Valery V. Inozemtsev 2010-06-20 11:34 ` Damir Shayhutdinov 2010-06-20 12:40 ` Dmitry V. Levin 2010-06-20 12:52 ` Dmitry V. Levin 2010-06-20 15:33 ` Valery V. Inozemtsev [this message] 2010-06-20 18:52 ` Alexey I. Froloff
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=1277048027.13925.5.camel@marsh.altlinux.lan \ --to=shrek@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