Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing tests on malloc() #230

Closed
GoogleCodeExporter opened this issue Apr 3, 2015 · 2 comments
Closed

missing tests on malloc() #230

GoogleCodeExporter opened this issue Apr 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

A large part of malloc() calls are not tested upon return to check if malloc 
succeeded.

* nfc.c str_nfc_target()

* acr122s.c acr122s_scan()

* acr122_pcsc.c acr122_pcsc_open() x2

* acr122_usb.c acr122_usb_connstring_decode() x3 acr122_usb_open()

* pn532_uart.c pn532_uart_scan() pn532_uart_open()

* arygon.c arygon_scan() arygon_open()

* pn53x_usb.c pn53x_usb_connstring_decode() x3 pn53x_usb_open()

* uart_win32.c uart_open() uart_list_ports() xN

* uart_posix.c uart_flush_input() uart_list_ports() xN

* pn53x.c pn53x_init() pn53x_initiator_transceive_bytes_timed() 
pn53x_get_information_about() pn53x_current_target_new() pn53x_data_new()

Original issue reported on code.google.com by yob...@gmail.com on 16 Feb 2013 at 9:50

@GoogleCodeExporter
Copy link
Author

Libnfc code was fixed regarding malloc()/free() & similars in a few commits:
* 9dcf7378b6d0def9e02c9512afb80a4be8f52b43
* 3d9ebb5044a9fb77ad253a1e20758811013fce0d
* d7e7abb0619a03d63aa41e7fc385345258481cf3
* 07082792151eabbf4670d8e00c5ea149634b40a1
* a6c405a5d57c3f729e0bf8dbbb317aff217b9693
* 1f0b0e5b81e5895c6dcfda8a685293511b895a90
* 999631588da61b95f98e3355a733e1177078a3c1

Original comment by yob...@gmail.com on 3 Mar 2013 at 12:11

@GoogleCodeExporter
Copy link
Author

Original comment by yob...@gmail.com on 3 Mar 2013 at 12:11

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant