Displaying 1 result from an estimated 1 matches for "ioctl_code".
Did you mean:
  ioctl_decode
  
2003 Sep 05
1
Problem with Win95 + DFS clients (fwd)
...rt a possible attack via the password buffer overflow bug.
 ****************************************************************************/
 
+/*iskantha Problem with win95 + DFS*/
+static int hack_fid;
+
+
 static void overflow_attack(int len)
 {
 	if( DEBUGLVL( 0 ) ) {
@@ -429,8 +433,26 @@
 	uint32 ioctl_code = (device << 16) + function;
 	int replysize, outsize;
 	char *p;
+	int temp = 0;
 	files_struct *fsp = file_fsp(inbuf,smb_vwv0);
-	START_PROFILE(SMBioctl);
+        int fid = SVAL(inbuf,smb_vwv0);
+
+        DEBUG ( 4, ( " smbvwv0 before = %i ( 0x%x )\n", fid, fid));
+	/* hack for...