- **status**: waiting-for-review --> closed
- **Comment**:

merged



---

** [tickets:#19] possible buffer overrun in scrub_for_print()**

**Status:** closed
**Created:** Wed Jun 10, 2015 01:46 PM UTC by Richard Hansen
**Last Updated:** Wed Jun 10, 2015 11:16 PM UTC
**Owner:** Richard Hansen

If the destination buffer is too small, `scrub_for_print()` may overflow the 
buffer. This is due to assuming that the return value of `snprintf()` is always 
less than the amount of buffer remaining, which isn't necessarily true if a 
character was escaped.


---

Sent from sourceforge.net because rpstir-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/rpstir/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/rpstir/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
rpstir-devel mailing list
rpstir-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpstir-devel

Reply via email to