Comment 3 for bug 1041377

Revision history for this message
Steve Langasek (vorlon) wrote :

Hi Dave,

There's an issue with your proposed patch; if /etc/fstab contains very long option names, option[j] == '\0' will look past the end of the string, possibly leading to a segfault.

Could you adjust your patch to use strlen(option) instead?