ufw

Comment 2 for bug 1709856

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: crash with malformed user.rules

In thinking about this, ufw manages user*rules and it hex_encodes/decodes the comment string. If someone comes in and changes this, ufw *should* error, which you agree with. However, displaying that string to the user in a meaningful way is difficult. Returning '<Bad string>' is definitely prettier, but the question then is 'what string?' and trying to display the bad string is probably a bad idea. We could instead do something like: 'Malformed encoded comment for rule: ...' though.