Re: missing assert in makeString

2025-02-19 Thread Pavel Stehule
st 19. 2. 2025 v 19:05 odesílatel Andres Freund napsal: > Hi, > > On 2025-02-19 01:48:53 -0500, Tom Lane wrote: > > Pavel Stehule writes: > > > I investigated the crashes in "xmlnamespaces to xmlelement" patch and > it > > > looks like there was a badly used makeString function. The argument > s

Re: missing assert in makeString

2025-02-19 Thread Andres Freund
Hi, On 2025-02-19 01:48:53 -0500, Tom Lane wrote: > Pavel Stehule writes: > > I investigated the crashes in "xmlnamespaces to xmlelement" patch and it > > looks like there was a badly used makeString function. The argument should > > not be null, elsewhere serialization to string fails - and dese

Re: missing assert in makeString

2025-02-18 Thread Pavel Stehule
Hi st 19. 2. 2025 v 7:48 odesílatel Tom Lane napsal: > Pavel Stehule writes: > > I investigated the crashes in "xmlnamespaces to xmlelement" patch and it > > looks like there was a badly used makeString function. The argument > should > > not be null, elsewhere serialization to string fails - a

Re: missing assert in makeString

2025-02-18 Thread Tom Lane
Pavel Stehule writes: > I investigated the crashes in "xmlnamespaces to xmlelement" patch and it > looks like there was a badly used makeString function. The argument should > not be null, elsewhere serialization to string fails - and deserialization > doesn't support this case. > I propose to add

missing assert in makeString

2025-02-18 Thread Pavel Stehule
Hi I investigated the crashes in "xmlnamespaces to xmlelement" patch and it looks like there was a badly used makeString function. The argument should not be null, elsewhere serialization to string fails - and deserialization doesn't support this case. https://cirrus-ci.com/task/6543809942650880