Commit 1856316
committed
iiod-client: iiod_client_read_mask(): Zero terminate buffer
Zero terminate the words buffer, before passing it to sscanf(). Otherwise
it might read beyond the bounds of the buffer.
Signed-off-by: Lars-Peter Clausen <[email protected]>1 parent dba8a15 commit 1856316
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
| |||
0 commit comments