Bug#1035554: libxml2-utils: xmllint ignores --output option and writes to stdout

2023-05-05 Thread Tj
I've done some follow-up debugging (on upstream git) to be sure the problem seems to exist upstream - unless I'm severely misunderstanding what --output is supposed to do. Anyhow; the trace shows it reaches doXPathDump(). Note that 'buf' is hard-coded to use stdout. The call to xmlOutputBufferC

Bug#1035554: libxml2-utils: xmllint ignores --output option and writes to stdout

2023-05-05 Thread Tj
Package: libxml2-utils Version: 2.9.10+dfsg-6.7+deb11u4 Severity: normal Tags: upstream xmllint is ignoring --output FILE option. I've done a debug run with gdb and it correctly reads the option and assigns its value to the 'output' variable but doesn't read that variable before writing the outp