Re: a vulnerability in PostgreSQL

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: a vulnerability in PostgreSQL
Дата
Msg-id 20020502175046X.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: a vulnerability in PostgreSQL  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Ответы Re: a vulnerability in PostgreSQL  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-hackers
> Not tested: but how about the string being
> foo'; DROP TABLE T1; foo
> 
> Would the last ' be eaten up then resulting in no error?

Even the last ' is eaten up, the remaining string is (81a2), which
would cause parser errors since they are not valid SQL, I think.

> Also normally a \ would be quoted by \\ right? Would a foo\ result in an 
> unquoted \ ? An unquoted backslash may allow some possibilities.
> 
> There could be other ways to get rid of the last ', comments etc, so it may 
> not be just 6.5.x.

Please provide concrete examples. I could not find such that case.
--
Tatsuo Ishii


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Lincoln Yeoh
Дата:
Сообщение: Re: Search from newer tuples first, vs older tuples first?
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Re: PostgreSQL mission statement?