Upstream agrees with increasing the size of HAL_PATH_MAX.

http://cgit.freedesktop.org/hal/commit/?id=a2c3dd5a04d79265772c09c4280606d5c2ed72c6


The problem seems to be in realpath and only shows when gcc -O2 or higher is 
used. This simple test program shows the issue.

#include <stdlib.h>

int main(int argc, char **argv) {
char buf[512];
realpath(argv[1], buf);
return 0;
}

-- 
umount.hal assert failure: *** buffer overflow detected ***: /sbin/umount.hal 
terminated
https://bugs.launchpad.net/bugs/525245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to