ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] patch: rejecting file name with ".." component
@ 2011-02-06 21:36 Igor Vlasenko
  2011-02-06 22:00 ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Igor Vlasenko @ 2011-02-06 21:36 UTC (permalink / raw)
  To: devel

Новый patch стал ругаться на "..":

patch: **** rejecting file name with ".." component:
../openjdk/security/ssl/Handshaker.java
ERROR patch patches/icedtea-ssl.patch FAILED!

Есть ли возможность отключать такое поведениe?

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] patch: rejecting file name with ".." component
  2011-02-06 21:36 [devel] patch: rejecting file name with ".." component Igor Vlasenko
@ 2011-02-06 22:00 ` Dmitry V. Levin
  2011-02-07  0:13   ` Alexey Tourbin
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2011-02-06 22:00 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

On Sun, Feb 06, 2011 at 11:36:40PM +0200, Igor Vlasenko wrote:
> Новый patch стал ругаться на "..":
> 
> patch: **** rejecting file name with ".." component:
> ../openjdk/security/ssl/Handshaker.java
> ERROR patch patches/icedtea-ssl.patch FAILED!
> 
> Есть ли возможность отключать такое поведениe?

Нет, это security fix, см.
http://bugzilla.redhat.com/CVE-2010-4651


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] patch: rejecting file name with ".." component
  2011-02-06 22:00 ` Dmitry V. Levin
@ 2011-02-07  0:13   ` Alexey Tourbin
  2011-02-07  0:23     ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2011-02-07  0:13 UTC (permalink / raw)
  To: ALT Devel discussion list

On Mon, Feb 07, 2011 at 01:00:43AM +0300, Dmitry V. Levin wrote:
> On Sun, Feb 06, 2011 at 11:36:40PM +0200, Igor Vlasenko wrote:
> > Новый patch стал ругаться на "..":
> > 
> > patch: **** rejecting file name with ".." component:
> > ../openjdk/security/ssl/Handshaker.java
> > ERROR patch patches/icedtea-ssl.patch FAILED!
> > 
> > Есть ли возможность отключать такое поведениe?
> 
> Нет, это security fix, см.
> http://bugzilla.redhat.com/CVE-2010-4651

Там упомянут конструкция

--- /dev/null (src)
+++ ../../dest

В то же время новое поведение срабатывает и для ".." в src,
а не только в dest.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] patch: rejecting file name with ".." component
  2011-02-07  0:13   ` Alexey Tourbin
@ 2011-02-07  0:23     ` Dmitry V. Levin
  2011-02-07  8:56       ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2011-02-07  0:23 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

On Mon, Feb 07, 2011 at 03:13:31AM +0300, Alexey Tourbin wrote:
> On Mon, Feb 07, 2011 at 01:00:43AM +0300, Dmitry V. Levin wrote:
> > On Sun, Feb 06, 2011 at 11:36:40PM +0200, Igor Vlasenko wrote:
> > > Новый patch стал ругаться на "..":
> > > 
> > > patch: **** rejecting file name with ".." component:
> > > ../openjdk/security/ssl/Handshaker.java
> > > ERROR patch patches/icedtea-ssl.patch FAILED!
> > > 
> > > Есть ли возможность отключать такое поведениe?
> > 
> > Нет, это security fix, см.
> > http://bugzilla.redhat.com/CVE-2010-4651
> 
> Там упомянут конструкция
> 
> --- /dev/null (src)
> +++ ../../dest
> 
> В то же время новое поведение срабатывает и для ".." в src,
> а не только в dest.

Да, пожалуй что они перегнули палку, надо прислать им патч.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] patch: rejecting file name with ".." component
  2011-02-07  0:23     ` Dmitry V. Levin
@ 2011-02-07  8:56       ` Dmitry V. Levin
  2011-02-07 10:58         ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2011-02-07  8:56 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

On Mon, Feb 07, 2011 at 03:23:28AM +0300, Dmitry V. Levin wrote:
> On Mon, Feb 07, 2011 at 03:13:31AM +0300, Alexey Tourbin wrote:
> > On Mon, Feb 07, 2011 at 01:00:43AM +0300, Dmitry V. Levin wrote:
> > > On Sun, Feb 06, 2011 at 11:36:40PM +0200, Igor Vlasenko wrote:
> > > > Новый patch стал ругаться на "..":
> > > > 
> > > > patch: **** rejecting file name with ".." component:
> > > > ../openjdk/security/ssl/Handshaker.java
> > > > ERROR patch patches/icedtea-ssl.patch FAILED!
> > > > 
> > > > Есть ли возможность отключать такое поведениe?
> > > 
> > > Нет, это security fix, см.
> > > http://bugzilla.redhat.com/CVE-2010-4651
> > 
> > Там упомянут конструкция
> > 
> > --- /dev/null (src)
> > +++ ../../dest
> > 
> > В то же время новое поведение срабатывает и для ".." в src,
> > а не только в dest.
> 
> Да, пожалуй что они перегнули палку, надо прислать им патч.

Сходу патч не написался, оставил им комментарий про regression.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] patch: rejecting file name with ".." component
  2011-02-07  8:56       ` Dmitry V. Levin
@ 2011-02-07 10:58         ` Dmitry V. Levin
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2011-02-07 10:58 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

On Mon, Feb 07, 2011 at 11:56:46AM +0300, Dmitry V. Levin wrote:
> On Mon, Feb 07, 2011 at 03:23:28AM +0300, Dmitry V. Levin wrote:
> > On Mon, Feb 07, 2011 at 03:13:31AM +0300, Alexey Tourbin wrote:
> > > On Mon, Feb 07, 2011 at 01:00:43AM +0300, Dmitry V. Levin wrote:
> > > > On Sun, Feb 06, 2011 at 11:36:40PM +0200, Igor Vlasenko wrote:
> > > > > Новый patch стал ругаться на "..":
> > > > > 
> > > > > patch: **** rejecting file name with ".." component:
> > > > > ../openjdk/security/ssl/Handshaker.java
> > > > > ERROR patch patches/icedtea-ssl.patch FAILED!
> > > > > 
> > > > > Есть ли возможность отключать такое поведениe?
> > > > 
> > > > Нет, это security fix, см.
> > > > http://bugzilla.redhat.com/CVE-2010-4651
> > > 
> > > Там упомянут конструкция
> > > 
> > > --- /dev/null (src)
> > > +++ ../../dest
> > > 
> > > В то же время новое поведение срабатывает и для ".." в src,
> > > а не только в dest.
> > 
> > Да, пожалуй что они перегнули палку, надо прислать им патч.
> 
> Сходу патч не написался, оставил им комментарий про regression.

Jim Meyering подготовил ещё один патч, так что сборку пакетов,
переставших собираться с вышеупомянутой диагностикой, можно
пока не фиксить.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-07 10:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 21:36 [devel] patch: rejecting file name with ".." component Igor Vlasenko
2011-02-06 22:00 ` Dmitry V. Levin
2011-02-07  0:13   ` Alexey Tourbin
2011-02-07  0:23     ` Dmitry V. Levin
2011-02-07  8:56       ` Dmitry V. Levin
2011-02-07 10:58         ` Dmitry V. Levin

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