Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rewrite xbt_getline.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 4 Feb 2013 14:54:29 +0000 (15:54 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 4 Feb 2013 15:44:49 +0000 (16:44 +0100)
commit422c6b5a12ddeca39e50a0c9ec674cec1b104c0a
tree17d7bc20c8d23ad8236ccaefc64af0f0905c7e99
parent6d14c1a0c31bf23b35ec3df2ebc361fc965591b3
Rewrite xbt_getline.

* fix a buffer overflow
* correctly return -1 when nothing can be read
src/xbt/xbt_str.c