marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by ondrej.m...@gmail.com on 29 Jun 2014 at 12:40

Attachments: