- **status**: unassigned --> fixed
- **Blocker**: --> False
- **Milestone**: future --> 5.1.FC
- **Comment**:
Fixed in enhacement ticket [#1315] since OpenSAF 5.1 release.
---
** [tickets:#1482] log: size of destination buffer is smaller than the size of
the source buffer**
**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Wed Sep 16, 2015 07:29 AM UTC by Vu Minh Nguyen
**Last Updated:** Sun Nov 01, 2015 09:36 PM 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 [email protected] 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.------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets