- **Milestone**: 4.6.2 --> 4.7.2
---
** [tickets:#1789] log: not verify the logBufSize caused the node
malfunctioned**
**Status:** review
**Milestone:** 4.7.2
**Created:** Thu Apr 28, 2016 11:06 AM UTC by Vu Minh Nguyen
**Last Updated:** Wed May 04, 2016 07:23 AM UTC
**Owner:** Vu Minh Nguyen
Normally, the log clients pass `logBufSize` value which is calculated based on
the data in `logBuf` to `safLogWriteLogAsync()` LOG API.
But when accidentally passing an invalid value of `logBufSize` to
`saLogWriteLogAsync()` such as a very large number which is caused by not using
`strlen()` on `logBuf`, it will cause a lot of troubles:
E.g:
1) The safLog will be flooded by zero and has very big size (e.g 4GB)
2) Eat lots of RAM
3) Consume much CPU
4) Other things
---
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.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets