You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/base/src/TBuffer.cxx
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -70,11 +70,11 @@ TBuffer::TBuffer(EMode mode)
70
70
/// Create an I/O buffer object. Mode should be either TBuffer::kRead or
71
71
/// TBuffer::kWrite.
72
72
73
-
TBuffer::TBuffer(EMode mode, Int_t bufsiz)
73
+
TBuffer::TBuffer(EMode mode, Int_t bufsize)
74
74
{
75
-
if (bufsiz < 0)
76
-
Fatal("TBuffer","Request to create a buffer with a negative size, likely due to an integer overflow: 0x%x for a max of 0x%x.", bufsiz, kMaxBufferSize);
77
-
if (bufsiz < kMinimalSize) bufsiz = kMinimalSize;
75
+
if (bufsize < 0)
76
+
Fatal("TBuffer","Request to create a buffer with a negative size, likely due to an integer overflow: 0x%x for a max of 0x%x.", bufsize, kMaxBufferSize);
77
+
if (bufsize < kMinimalSize) bufsiz = kMinimalSize;
Fatal("TBuffer","Request to create a buffer with a negative size, likely due to an integer overflow: 0x%x for a max of 0x%x.", bufsiz, kMaxBufferSize);
108
-
fBufSize = bufsiz;
106
+
if (bufsize < 0)
107
+
Fatal("TBuffer","Request to create a buffer with a negative size, likely due to an integer overflow: 0x%x for a max of 0x%x.", bufsize, kMaxBufferSize);
0 commit comments