Issue 280 in libnfc: Wrong open mode for file descriptor 4 in utils/nfc-relay-picc.c

2 views
Skip to first unread message

lib...@googlecode.com

unread,
Jun 29, 2014, 8:40:48 AM6/29/14
to libnfc...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 280 by ondrej.m...@gmail.com: Wrong open mode for file descriptor
4 in utils/nfc-relay-picc.c
http://code.google.com/p/libnfc/issues/detail?id=280

The open mode for fdopen of file descriptor 4 in nfc-relay-picc utility
should be "w", not "r". Otherwise the utility fails when it tries to write
into this descriptor.

Note: this affects when the utility is run in initiator mode only.

See attached patch.

Attachments:
libnfc-relay-picc.patch 445 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages