Changeset f567b195a4322e6a7b66674f0bb6eec70af03dbc
- Timestamp:
- 04/30/07 17:04:47
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1177945487 +0000
- git-parent:
[92a4720a62666e8bfdcc565e802c6fdaf0e70980]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1177945487 +0000
- Message:
Handle errors without crashing
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd291085 |
rf567b19 |
|
| 64 | 64 | { |
|---|
| 65 | 65 | unsigned char *in = (unsigned char *)psz, *out = in, c; |
|---|
| | 66 | if( psz == NULL ) |
|---|
| | 67 | return; |
|---|
| 66 | 68 | |
|---|
| 67 | 69 | while( ( c = *in++ ) != '\0' ) |
|---|
| … | … | |
| 145 | 147 | { |
|---|
| 146 | 148 | unsigned char *in = (unsigned char *)psz, *out = in, c; |
|---|
| | 149 | if( psz == NULL ) |
|---|
| | 150 | return; |
|---|
| 147 | 151 | |
|---|
| 148 | 152 | while( ( c = *in++ ) != '\0' ) |
|---|