patch-2.4.25 linux-2.4.25/fs/ntfs/support.c
Next file: linux-2.4.25/fs/open.c
Previous file: linux-2.4.25/fs/ntfs/fs.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/fs/ntfs/support.c
- Orig date:
2002-02-25 11:38:09.000000000 -0800
diff -urN linux-2.4.24/fs/ntfs/support.c linux-2.4.25/fs/ntfs/support.c
@@ -240,7 +240,7 @@
NLS_MAX_CHARSET_SIZE)) > 0) {
/* Adjust result buffer. */
if (chl > 1) {
- buf = ntfs_malloc(*out_len + chl - 1);
+ buf = ntfs_malloc(*out_len + chl);
if (!buf) {
i = -ENOMEM;
goto err_ret;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)