---

** [tickets:#1482] log: size of destination buffer is smaller than the size of 
the source buffer**

**Status:** unassigned
**Milestone:** 5.0
**Created:** Wed Sep 16, 2015 07:29 AM UTC by Vu Minh Nguyen
**Last Updated:** Wed Sep 16, 2015 07:29 AM UTC
**Owner:** nobody


In the function `void log_stream_delete(log_stream_t **s)` @ `lgs_stream.c`, 
there is using `strcpy()`
in which the size of destination buffer (max: 256 bytes) is smaller than the 
size of the source buffer (max: 257 bytes).

    strcpy((char *)objectName.value, stream->name);

If long DN is enabled/supported, logsv could get trouble.


---

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

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to