Hi Bertil Engelholm,

Currently MDS is using reliable connectionless SOCK_RDM socket for 
sending/receiving message `tipc_cb.BSRsock = socket(AF_TIPC, SOCK_RDM, 0);`

When  connectionless socket (SOCK_RDM ) used, a return value of 0 indicates the
return of an undelivered data message that was originally sent by this socket.

Send can fail because of multiple reasons such as Overload, the current code is 
handing this and aborting the application in send field conditions.

According to this ticket description some application can send an empty message 
(length 0) to a MDS TIPC port and length 0 is NOT possible if the application 
is using MDS lib , why because their will be MDS header.

Can you please share the application to send an empty message (length 0) ?

-AVM


---

** [tickets:#1227] MDS: Receiving zero bytes result in abort**

**Status:** assigned
**Milestone:** 4.6.FC
**Created:** Tue Dec 02, 2014 02:34 PM UTC by Bertil Engelholm
**Last Updated:** Wed Dec 03, 2014 03:55 AM UTC
**Owner:** A V Mahesh (AVM)

If someone sends an empty message (lenght 0) to a MDS TIPC port it will result 
in a restart of that component due to an abort in the MDS TIPC part. This 
should of course not happen normally but this abort can be used by someone 
(hackers) wanting to cause restarts of components. So the abort (replace with 
continue?) should be removed and the log entry should be changed. 

/Bertil


---

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.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to