You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported on http://bugs.debian.org/838133 , flex currently fails to build on GNU/Hurd because it unconditionnally uses PATH_MAX. The attached patchpatch.txt makes it just dynamically allocate the proper buffer size.
Actually flex even bogusly used PATH_MAX, since it checked for "path" being not too long, but didn't take into account the additional length of "m4", so the proposed patch is actually a bugfix on !hurd too: if PATH contains a path with more than PATH_MAX characters, the additional "m4" two bytes were overflowing the m4_path array.
Samuel
The text was updated successfully, but these errors were encountered:
Hello,
As reported on http://bugs.debian.org/838133 , flex currently fails to build on GNU/Hurd because it unconditionnally uses PATH_MAX. The attached patchpatch.txt makes it just dynamically allocate the proper buffer size.
Actually flex even bogusly used PATH_MAX, since it checked for "path" being not too long, but didn't take into account the additional length of "m4", so the proposed patch is actually a bugfix on !hurd too: if PATH contains a path with more than PATH_MAX characters, the additional "m4" two bytes were overflowing the m4_path array.
Samuel
The text was updated successfully, but these errors were encountered: