I have prepared a patch for printer redirection support. I copied the code from the drive redirection patch. It is against 0.150. It searches for all printers and adds each one automatically.
I do have a concern about buffer overrun due to existing use of sprintf(buffer, ...) if someone deliberately puts too many printers on their system or printers with very long names. I'm not a professional programmer so it would be nice if someone could enlighten me as to why sprintf(buffer,...) is used instead of a GString?
Log in to post a comment.