[Bug 1794086] Re: readlink(2) returns incorrect size for /proc/self/exe

2020-11-12 Thread Oleg Andriyanov
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1794086 Title: readlink(2) returns incorrect size for /proc/self/exe Status in QEMU: New Bug d

[Qemu-devel] [Bug 1794086] Re: readlink(2) returns incorrect size for /proc/self/exe

2018-09-24 Thread Oleg Andriyanov
** Summary changed: - readlink(2) returns invalid size for /proc/self/exe + readlink(2) returns incorrect size for /proc/self/exe -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1794086 Title: readl

[Qemu-devel] [Bug 1794086] [NEW] readlink(2) returns invalid size for /proc/self/exe

2018-09-24 Thread Oleg Andriyanov
Public bug reported: readlink(2) seems to ignore the size of supplied buffer for the resolved name and always returns the actual size of the resolved name instead. Steps to reproduce: ```bash echo '#include #include #include int main(int argc, const char** argv) { if(argc < 2) exit(1);