| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fspread: fix buffer overflow | Günther Noack | 2021-04-05 | 1 | -4/+9 |
| | | | | | | | | | | | | | | | | Without this fix, fspread is trusting the server to return as much data as requested, or less. If a server responds with more data though, fspread writes beyond the bounds of the buffer to fill, which is passed in by the caller. It depends on the caller of fspread() where that buffer is, so there are various possible attack vectors. In the Plan9 kernel, I found this implemented in devmnt.c, where overly large responses are truncated to the size requested before copying, so I assume that this strategy works here too. This also affects fsread() and fsreadn(), which are based on fspread(). | ||||
| * | Trivial changes: whitespace and modes. | Dan Cross | 2020-01-10 | 10 | -13/+7 |
| | | | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net> | ||||
| * | delete 9P2000.u | Russ Cox | 2010-12-07 | 5 | -16/+13 |
| | | | | | | | | thanks to Erik Quanstrom R=rsc http://codereview.appspot.com/3469042 | ||||
| * | lib9pclient: clear tx.extension for 9P2000.u | Russ Cox | 2008-07-04 | 1 | -0/+1 |
| | | |||||
| * | lib9pclient: remove debugging print | Russ Cox | 2008-07-04 | 1 | -1/+0 |
| | | |||||
| * | lib9pclient: one more dotu (Michael Kaminsky) | Russ Cox | 2008-07-04 | 1 | -1/+1 |
| | | |||||
| * | lib9pclient: add support for 9P2000.u | Russ Cox | 2008-07-04 | 5 | -12/+17 |
| | | |||||
| * | more functions | rsc | 2006-07-23 | 8 | -26/+57 |
| | | |||||
| * | remove debug print | rsc | 2006-06-26 | 1 | -1/+0 |
| | | |||||
| * | set errstr for bad dir contents | rsc | 2006-06-26 | 1 | -1/+4 |
| | | |||||
| * | remove print statement | rsc | 2006-06-26 | 1 | -1/+0 |
| | | |||||
| * | missed this too | rsc | 2006-05-27 | 1 | -1/+1 |
| | | |||||
| * | missed this too | rsc | 2006-05-27 | 1 | -0/+1 |
| | | |||||
| * | Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. | rsc | 2006-04-01 | 1 | -1/+1 |
| | | |||||
| * | add print | rsc | 2006-02-08 | 2 | -0/+68 |
| | | |||||
| * | add | rsc | 2006-01-27 | 2 | -0/+37 |
| | | |||||
| * | more | rsc | 2006-01-27 | 4 | -1/+54 |
| | | |||||
| * | better error messages | rsc | 2005-07-13 | 2 | -9/+21 |
| | | |||||
| * | do not add to void* | rsc | 2005-03-15 | 1 | -1/+1 |
| | | |||||
| * | open: preserve error on failed open | rsc | 2005-03-01 | 2 | -1/+4 |
| | | | | | write: handle offset correctly for fswrite | ||||
| * | add _fsunmount; do version in fsinit; add nsinit; add chatty9pclient | rsc | 2005-02-11 | 2 | -19/+41 |
| | | |||||
| * | add auth | rsc | 2005-02-08 | 4 | -1/+18 |
| | | |||||
| * | better offset handling | rsc | 2005-01-28 | 1 | -0/+5 |
| | | |||||
| * | do not close -1 | rsc | 2005-01-19 | 1 | -1/+2 |
| | | |||||
| * | add fsseek | rsc | 2005-01-18 | 2 | -0/+47 |
| | | |||||
| * | update paths | rsc | 2005-01-14 | 1 | -1/+1 |
| | | |||||
| * | os x changes | rsc | 2005-01-11 | 1 | -2/+0 |
| | | |||||
| * | lib9pclient is the new libfs | rsc | 2005-01-04 | 16 | -0/+1033 |